From jacque at hyperactivesw.com Mon Aug 1 00:04:30 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 31 Jul 2005 23:04:30 -0500 Subject: Scripting conference - chunk expressions stack uploaded Message-ID: <42ED9F4E.3020006@hyperactivesw.com> Alex Tweedly's excellent scripting conference stack is now available for download in preparation for next weekend's conference. The topic is "Text and Chunk Expressions" and it covers everything you ever wanted to know about working with text, both in fields and in variables. Text chunking is one of Revolution's strongest features, and this stack tells you how to use it. As always, you can find it here: This conference will be held at 1123344000 seconds: get "1123344000";convert it to system date and time;put it See you there! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Mon Aug 1 00:09:22 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 31 Jul 2005 23:09:22 -0500 Subject: Help, what am I doing wrong??? In-Reply-To: <12615777767.20050731170849@ahsoftware.net> Message-ID: On 7/31/05 7:08 PM, "Mark Wieder" wrote: > A semi-related point that seems to bother nobody but me is that you > don't have to declare loop variables (i.e., Variable Checking [aka > explicitVars] doesn't catch them), but if you don't explicitly declare > them as local then they become global by default, in which case you > get namespace conflicts. Sorry, Mark, but that's simply not true. You can check this this way: -- Script of btn 1 on mouseUp repeat with x = 1 to 10 -- do nothing end repeat answer x end mouseUp -- Script of btn 2 global x on mouseUp answer x end mouseUp The first button will answer "10", the second button will answer "". x did not become a global simply because it wasn't declared. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Mon Aug 1 00:09:56 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 31 Jul 2005 23:09:56 -0500 Subject: Help, what am I doing wrong??? In-Reply-To: <42ED7735.5080502@sover.net> Message-ID: On 7/31/05 8:13 PM, "Jon" wrote: > Horrifying. I assume this is BZd?!? No, because it's not true (see my response to Mark). Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From alex at tweedly.net Mon Aug 1 02:40:50 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 01 Aug 2005 07:40:50 +0100 Subject: Question about keys In-Reply-To: References: Message-ID: <42EDC3F2.2030800@tweedly.net> Dennis Brown wrote: > All, > > I have a two dimensional array: array[x,y] > I need to get the unique x keys into a list, there are about 20 > unique ones, but they are dynamically created names (not numbers). > The y keys have tens of thousands of elements. > put the keys of array into mykeys split mykeys by cr and comma put the keys of mykeys into xKeys -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From mwieder at ahsoftware.net Mon Aug 1 03:10:01 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Aug 2005 00:10:01 -0700 Subject: Help, what am I doing wrong??? In-Reply-To: References: Message-ID: <17141049866.20050801001001@ahsoftware.net> Ken- Sunday, July 31, 2005, 9:09:22 PM, you wrote: > Sorry, Mark, but that's simply not true. You can check this this way: Well, OK, now that I go back and test it again it's all working fine. But look, this has happened to me before. Several times. And the only thing that would fix up that spurious "variable name shadows another..." error message was declaring my loop variables as locals. I thought it was very strange at the time, and of course, now I can't get myself back into that situation for trying. If I do manage to do it I'll bugzilla the script and then try to fix it. Maybe there's some other mechanism at work. Sorry for the false alarm, folks. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Mon Aug 1 03:28:27 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Aug 2005 00:28:27 -0700 Subject: global problems In-Reply-To: References: Message-ID: <2442156337.20050801002827@ahsoftware.net> Ken- Of course, I managed to poke around a bit and get this to happen. I knew there was *something going on*. Here's the real problem - doesn't have anything to do with loop indices at all: Global variables are persistent in memory, even when they've been purged. Once you have declared a global variable, even if you have deleted the line of code that declared it, you're stuck with it. You can't change it into a local variable and you can't have another local variable with the same name, even in a different stack, without invoking a compiler error about the local variable name shadowing another. BZ #3038 -- -Mark Wieder mwieder at ahsoftware.net From xbury.cs at clearstream.com Mon Aug 1 03:40:31 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 1 Aug 2005 09:40:31 +0200 Subject: global problems In-Reply-To: <2442156337.20050801002827@ahsoftware.net> Message-ID: have you tried global x2 put 5 into x2 delete global x2 get the globalnames replace comma with cr in it put it i dont see x2 anymore... ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 use-revolution-bounces at lists.runrev.com wrote on 01/08/2005 09:28:27: > Ken- > > Of course, I managed to poke around a bit and get this to happen. I > knew there was *something going on*. Here's the real problem - doesn't > have anything to do with loop indices at all: > > Global variables are persistent in memory, even when they've been > purged. Once you have declared a global variable, even if you have > deleted the line of code that declared it, you're stuck with it. You > can't change it into a local variable and you can't have another local > variable with the same name, even in a different stack, without > invoking a compiler error about the local variable name shadowing > another. > > BZ #3038 > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From david at openpartnership.net Mon Aug 1 05:33:13 2005 From: david at openpartnership.net (david bovill) Date: Mon, 1 Aug 2005 11:33:13 +0200 Subject: Turtle Graphics In-Reply-To: References: <20050725182640.64986824D90@mail.runrev.com> Message-ID: I have some simple scripts which draw trees etc based on l-systems, which in turn are built on basic Turtle Graphic primitives - would be nice to collect this stuff in one place? From jbondy at sover.net Mon Aug 1 07:43:41 2005 From: jbondy at sover.net (Jon) Date: Mon, 01 Aug 2005 07:43:41 -0400 Subject: Help, what am I doing wrong??? In-Reply-To: References: Message-ID: <42EE0AED.1050208@sover.net> Whew! That's more like it! Ken Ray wrote: >On 7/31/05 8:13 PM, "Jon" wrote: > > > >>Horrifying. I assume this is BZd?!? >> >> > >No, because it's not true (see my response to Mark). > >Ken Ray >Sons of Thunder Software >Web site: http://www.sonsothunder.com/ >Email: kray at sonsothunder.com > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From bmmeili at swissonline.ch Mon Aug 1 07:54:53 2005 From: bmmeili at swissonline.ch (Martin Meili) Date: Mon, 1 Aug 2005 13:54:53 +0200 Subject: answer file / filter Message-ID: Hi, I've got some code: answer file "Which file do you want to open?" Now, only files with the extension "txt" should be enabled in the opened window. I know, there should be a solution with the filter-command, but I can't manage to make this work. Can you help me? Martin From ptrendler at bigpond.com Mon Aug 1 08:19:38 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Mon, 1 Aug 2005 22:19:38 +1000 Subject: answer file / filter References: Message-ID: <001f01c59693$4c1a7b50$0100000a@super> Hi Martin, answer file "Which file do you want to open?" with filter "*.txt" HTH Pat patrend at bigpond.com ----- Original Message ----- From: "Martin Meili" To: Sent: Monday, August 01, 2005 9:54 PM Subject: answer file / filter > Hi, > > I've got some code: > > answer file "Which file do you want to open?" > > Now, only files with the extension "txt" should be enabled in the opened > window. > > I know, there should be a solution with the filter-command, but I can't > manage to make this work. > > Can you help me? > > Martin > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 28/07/2005 > > From andre.rombauts at skynet.be Mon Aug 1 08:22:52 2005 From: andre.rombauts at skynet.be (=?iso-8859-1?Q?Andr=E9_Rombauts?=) Date: Mon, 1 Aug 2005 14:22:52 +0200 Subject: answer file / filter In-Reply-To: Message-ID: <200508011222.j71CMvVG021689@outmx019.isp.belgacom.be> It is clearly explained in Revolution online reference: answer files "Select the document" with filter "MS Word files,*.doc" -----Message d'origine----- De : use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] De la part de Martin Meili Envoy? : lundi 1 ao?t 2005 13:55 ? : use-revolution at lists.runrev.com Objet : answer file / filter Hi, I've got some code: answer file "Which file do you want to open?" Now, only files with the extension "txt" should be enabled in the opened window. I know, there should be a solution with the filter-command, but I can't manage to make this work. Can you help me? Martin _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From charles.hartman at conncoll.edu Mon Aug 1 08:44:23 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Mon, 1 Aug 2005 08:44:23 -0400 Subject: simple custom property question Message-ID: <74D42612-FCFF-4E55-B404-E61BB097D2F1@conncoll.edu> This has got to be simple, but I'm stuck: how do I get a group into a custom property? I don't even need to do it from a script; the msg box or Inspector will do. The group includes an image and a bunch of little fields. I want them in a cust prop because I'll have a lot of them and I want to automate sending them to a dialog box. Hope the question is coherent. Charles Hartman From alex at tweedly.net Mon Aug 1 08:58:43 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 01 Aug 2005 13:58:43 +0100 Subject: ANN: Sudoku Assistant In-Reply-To: References: <20050730111003.18860825342@mail.runrev.com> <42ECDC74.8050502@tweedly.net> <8754C4BD-C4D5-4580-9DF2-460184CE40EF@danshafer.com> <42ED4FC8.4080507@tweedly.net> Message-ID: <42EE1C83.60701@tweedly.net> Dan Shafer wrote: > I'm doing something wrong or misunderstanding how the assistant works > or something. > > On Puzzle #1, I got to the place where I have five uncompleted cells. > One of them has a "?" which I think means there's an error somewhere. > But neither it nor the cell underneath it show any potential values > when I click on them. Then I click on an adjoining square to the one > without a "?" and select a value. Odds go to 0, so I know I've got a > wrong value there. I "Undo" and now I have three squares -- the two > original and the one I just undid -- that show no values to pick from > when I click on them. SO essentially, even though I think I could > solve the puzzle at this point, the assistant won't let me proceed. > > Bug? Something I'm not grokking? One bug, one not-yet-implemented feature and maybe something you weren't fully grokking. (And for all I know, more bugs still to come ....) The bug I found and fixed was in undo-ing after there were squares for which no value remained possible. Although they showed on-screen as a "?", the "?" wasn't being saved in the Undo/Redo state, so subsequent "Undo"s could leave blank squares. I'm not sure how that led to the problem you described to me - so I've also added an automatic logging facility. All actions are logged (to a custom property), and there is a new menu item - File / Save Log File ... which will save the log file. So if anyone encounters strange situation, they can simply save the log file and email it to me. The not-yet-implemented feature is that it ought to stop you assigning values to any more squares once any square has no remaining possible values. I will add that - but in the mean time, keep an eye on the number of possibilities, and if it reaches 0 then you will need to Undo (one or more times), so you may as well do it immediately. (I figure if you had fully grokked things, you wouldn't have continued ....) Ver 1.3 has been uploaded to RevOnline, with these two changes. Ver 1.4 will come later today, with an additional feature of showing a detailed breakdown of a single step (i.e. which squares change and why), which will be a useful way to see what the Assistant is doing for you (and indirectly to check that it does the right thing). That info is actually already gathered in the log file, but I'm looking for a graphical way to show it. And this is actually being much more interesting than I had expected - so there may well be a Version 2 that eliminates some of the cruft that has sprung up in the various Ver 1.x's as it has grown organically. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From bnz2 at cdc.gov Mon Aug 1 09:28:16 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 1 Aug 2005 09:28:16 -0400 Subject: Windows Command Code Resolved Message-ID: <64878EF567131D4596246171F75FD4A9968136@m-epo-1.epo.cdc.gov> This works on my computer - much easier than the convoluted script I was using. I think Chipp's adding in the shortfilepath function was the key... Earlier attempts at using this approach did not work for me, presumably because quotes and spaces were confusing 'start'. Thanks Chipp! -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Chipp Walters Sent: Friday, July 29, 2005 11:37 PM To: How to use Revolution Subject: Re: Windows Command Code Resolved Hi gang, Got it working. Pretty simple actually: Here's the guts (after putting the filepath into fld "docPath") put shortFilePath(fld "docPath") into tDocPath replace "/" with "\" in tDocPath put "start" && tDocPath into tDosCommand set the hideconsolewindows to true get shell(tDosCommand) Here's a demo: type in the message: go URL "http://www.altuit.com/webs/altuit2/RunRev/WinXPFileLauncher.rev" best, Chipp _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bnz2 at cdc.gov Mon Aug 1 09:39:20 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 1 Aug 2005 09:39:20 -0400 Subject: Windows Command Code Resolved Message-ID: <64878EF567131D4596246171F75FD4A9744611@m-epo-1.epo.cdc.gov> One other thing to consider adding to this script... In the rev front scripts, which accessing the windows shell, they use this command: revSetWindowsShellCommand Which I guess makes sure that Rev uses the correct type of shell command for the specific windows system that the user is using. (I believe it has to choose between cmd.exe vs. command.exe) -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Lynch, Jonathan Sent: Monday, August 01, 2005 9:28 AM To: chipp at chipp.com; How to use Revolution Subject: RE: Windows Command Code Resolved This works on my computer - much easier than the convoluted script I was using. I think Chipp's adding in the shortfilepath function was the key... Earlier attempts at using this approach did not work for me, presumably because quotes and spaces were confusing 'start'. Thanks Chipp! -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Chipp Walters Sent: Friday, July 29, 2005 11:37 PM To: How to use Revolution Subject: Re: Windows Command Code Resolved Hi gang, Got it working. Pretty simple actually: Here's the guts (after putting the filepath into fld "docPath") put shortFilePath(fld "docPath") into tDocPath replace "/" with "\" in tDocPath put "start" && tDocPath into tDosCommand set the hideconsolewindows to true get shell(tDosCommand) Here's a demo: type in the message: go URL "http://www.altuit.com/webs/altuit2/RunRev/WinXPFileLauncher.rev" best, Chipp _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From see3d at writeme.com Mon Aug 1 09:59:17 2005 From: see3d at writeme.com (Dennis Brown) Date: Mon, 01 Aug 2005 09:59:17 -0400 Subject: Question about keys In-Reply-To: <8310d89aa613c9a1d3c38c2eefb8a676@qldlearning.com> References: <8310d89aa613c9a1d3c38c2eefb8a676@qldlearning.com> Message-ID: <4340A894-6E22-45C9-BCD8-39867EC0DC49@writeme.com> Thanks Brian/Alex, That is a simple method. I think I will restructure my data and then use this method with a smaller array. Dennis On Jul 31, 2005, at 10:32 PM, Brian Yennie wrote: > Dennis, > > I don't believe there is an automatic way of doing what you want > (short of changing your data structure, which may not be an > option). However, the below should be a pretty quick hack if my > brain is working well enough in email land: > > put keys(myArray) into tKeys > split tKeys using return and comma > put keys(tKeys) into xValues > > - Brian > > >> All, >> >> I have a two dimensional array: array[x,y] >> I need to get the unique x keys into a list, there are about 20 >> unique ones, but they are dynamically created names (not numbers). >> The y keys have tens of thousands of elements. >> >> Is there a simple way to extract the unique x without iterating >> through all the tens of thousands of keys? >> >> I could restructure my code so that I keep a list of unique keys >> as I create them, but this is more complex and could get out of >> sync since I create the elements from many different places in the >> code. >> >> I could also have a second array that keeps some of the >> information without as many entries. >> >> However, I would prefer keeping everything in one place (it is a >> global) if I can, but I can't think of an easy and fast method. >> >> Thanks, >> Dennis >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Mon Aug 1 10:37:45 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 1 Aug 2005 16:37:45 +0200 Subject: Windows Command Code Resolved In-Reply-To: <64878EF567131D4596246171F75FD4A9744611@m-epo-1.epo.cdc.gov> Message-ID: <20050801142602.EAB968255B1@mail.runrev.com> Jon here's a little function from XOS's scripts on CheckShellPlatform if (the platform = "win32") and (word 1 of the systemversion is "windows") then set the shellcommand to "command.com" else set the shellcommand to "cmd.exe" end if end CheckShellPlatform cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Lynch, Jonathan > Sent: Monday, August 01, 2005 15:39 > To: How to use Revolution > Subject: RE: Windows Command Code Resolved > > One other thing to consider adding to this script... > > In the rev front scripts, which accessing the windows shell, > they use this command: > revSetWindowsShellCommand > > Which I guess makes sure that Rev uses the correct type of > shell command for the specific windows system that the user > is using. (I believe it has to choose between cmd.exe vs. command.exe) > > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Lynch, Jonathan > Sent: Monday, August 01, 2005 9:28 AM > To: chipp at chipp.com; How to use Revolution > Subject: RE: Windows Command Code Resolved > > This works on my computer - much easier than the convoluted > script I was using. > > I think Chipp's adding in the shortfilepath function was the key... > > Earlier attempts at using this approach did not work for me, > presumably because quotes and spaces were confusing 'start'. > > Thanks Chipp! > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Chipp Walters > Sent: Friday, July 29, 2005 11:37 PM > To: How to use Revolution > Subject: Re: Windows Command Code Resolved > > Hi gang, > > Got it working. Pretty simple actually: > > Here's the guts (after putting the filepath into fld "docPath") > > put shortFilePath(fld "docPath") into tDocPath replace "/" > with "\" in tDocPath put "start" && tDocPath into tDosCommand > set the hideconsolewindows to true get shell(tDosCommand) > > Here's a demo: type in the message: > > go URL > "http://www.altuit.com/webs/altuit2/RunRev/WinXPFileLauncher.rev" > > best, > > Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bnz2 at cdc.gov Mon Aug 1 10:41:15 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 1 Aug 2005 10:41:15 -0400 Subject: Windows Command Code Resolved Message-ID: <64878EF567131D4596246171F75FD4A9968139@m-epo-1.epo.cdc.gov> Hi Xavier - this is the revSetWindowsShellCommand from the revCommon script: on revSetWindowsShellCommand if the platform is not "Win32" then exit revSetWindowsShellCommand set the hideConsoleWindows to true if $COMSPEC is not empty then set the shellCommand to $COMSPEC else --just in case some windows versions don't use $COMSPEC if revRunningWindowsNT() then set the shellCommand to "cmd.exe" else set the shellCommand to "command.com" end if end revSetWindowsShellCommand I guess the two accomplish essentially the same thing. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX Sent: Monday, August 01, 2005 10:38 AM To: 'How to use Revolution' Subject: RE: Windows Command Code Resolved Jon here's a little function from XOS's scripts on CheckShellPlatform if (the platform = "win32") and (word 1 of the systemversion is "windows") then set the shellcommand to "command.com" else set the shellcommand to "cmd.exe" end if end CheckShellPlatform cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Lynch, Jonathan > Sent: Monday, August 01, 2005 15:39 > To: How to use Revolution > Subject: RE: Windows Command Code Resolved > > One other thing to consider adding to this script... > > In the rev front scripts, which accessing the windows shell, > they use this command: > revSetWindowsShellCommand > > Which I guess makes sure that Rev uses the correct type of > shell command for the specific windows system that the user > is using. (I believe it has to choose between cmd.exe vs. command.exe) > > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Lynch, Jonathan > Sent: Monday, August 01, 2005 9:28 AM > To: chipp at chipp.com; How to use Revolution > Subject: RE: Windows Command Code Resolved > > This works on my computer - much easier than the convoluted > script I was using. > > I think Chipp's adding in the shortfilepath function was the key... > > Earlier attempts at using this approach did not work for me, > presumably because quotes and spaces were confusing 'start'. > > Thanks Chipp! > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Chipp Walters > Sent: Friday, July 29, 2005 11:37 PM > To: How to use Revolution > Subject: Re: Windows Command Code Resolved > > Hi gang, > > Got it working. Pretty simple actually: > > Here's the guts (after putting the filepath into fld "docPath") > > put shortFilePath(fld "docPath") into tDocPath replace "/" > with "\" in tDocPath put "start" && tDocPath into tDosCommand > set the hideconsolewindows to true get shell(tDosCommand) > > Here's a demo: type in the message: > > go URL > "http://www.altuit.com/webs/altuit2/RunRev/WinXPFileLauncher.rev" > > best, > > Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From JimAultWins at yahoo.com Mon Aug 1 11:26:29 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 01 Aug 2005 08:26:29 -0700 Subject: new bug posted In-Reply-To: <42EAD031.1050004@sover.net> Message-ID: "Jon" wrote: > Why not have the Find/Replace visible all of the time Actually, I prefer not to have the Replace button showing, and especially the Replace All. Doing a find, then later accidentally clicking Replace All as you bring the script window to the front will morph the entire script container... major damage in some cases. I would prefer the Replace and Replace All be a drop down selection of 'once' and 'once whole word only' and 'all' and 'all whole word only' Usually this feature is on its own dialog window so that you are in Find/Replace mode, then dismiss it. Jim Ault Las Vegas On 7/29/05 5:56 PM, "Jon" wrote: > I just posted "bug" (enhancement suggestion) 3034, which says in part > > As much as I like the AutoComplete feature of the Script Editor, I find > myself always wanting to do searches, and I hate switching between the > two modes. I realized that the two modes are really separate, since one > rarely wants to search in the middle of typing a word. Why not have the > Find/Replace visible all of the time EXCEPT when in the middle of typing > a word, at which point it is dynamically replaced by the AutoComplete? > Best of both worlds! > > Vote with your heart... > > :) > > Jon > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Mon Aug 1 11:56:23 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 01 Aug 2005 10:56:23 -0500 Subject: global problems In-Reply-To: <2442156337.20050801002827@ahsoftware.net> Message-ID: On 8/1/05 2:28 AM, "Mark Wieder" wrote: > Global variables are persistent in memory, even when they've been > purged. Once you have declared a global variable, even if you have > deleted the line of code that declared it, you're stuck with it. Well, yes, but that's because you didn't explicitly delete it, which you can do with: delete global There are only two times when globals are completely removed - when the interpreter quits, or when you explicitly delete globals with the syntax above. Simply removing the declarative line of code doesn't "tell" Rev to do anything other than removing the ability to use that global in that specific script. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Mon Aug 1 12:02:04 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 01 Aug 2005 11:02:04 -0500 Subject: Spotlight indexing: feature request proposal In-Reply-To: <33932EAF-AFD0-4B06-B13B-4F72931D9AE1@genesearch.com.au> Message-ID: On 7/31/05 8:29 PM, "Sarah Reichelt" wrote: >> I propose the addition of two new stack properties for telling >> Spotlight how to index stacks: >> - the of this stack: if true the scripts of the >> stack is indexed by Spotlight. If false, no script indexing is done >> for the stack. >> - the of this stack: if true the content of fields >> and titles of objects are indexed by Spotlight. If false, objects >> content indexing is not done for the stack. >> By default both properties are true (i.e. when the stack is >> created). When creating a substack, its spotlight properties are >> default to the value of its mainstack but they can be changed >> independantly from the mainstack. > > I agree - mostly. Sometimes I would really like the text to be > indexed but I realize this places an extra burden on the system, so I > would like the text search OFF by default and restricted to unlocked > fields. I agree Sarah - especially in "database"-style stacks (usually HyperCard ports) that have tons of text... it would be better to default it to OFF so that there is one less thing for people to have to remember. Perhaps it shouldn't be a stack-wide property, but a specific field property? I was thinking of something like "dontSearch" (which we currently have)... how about "dontIndex" which is a field property that defaults to true. If you want certain content fields indexed, you just turn it on... > As regards the password-protected scripts, have you tried this? I > just tested it and Spotlight does not index password-protected stacks. I think regardless of whether this is true or not (and I believe you Sarah!) I think that you may not want to have the scripts of certain stacks indexed for other reasons, so having the flag there (defaulted to TRUE) is a good thing anyway, IMHO. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Mon Aug 1 12:06:00 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 01 Aug 2005 11:06:00 -0500 Subject: simple custom property question In-Reply-To: <74D42612-FCFF-4E55-B404-E61BB097D2F1@conncoll.edu> Message-ID: On 8/1/05 7:44 AM, "Charles Hartman" wrote: > This has got to be simple, but I'm stuck: how do I get a group into a > custom property? I don't even need to do it from a script; the msg > box or Inspector will do. > > The group includes an image and a bunch of little fields. I want them > in a cust prop because I'll have a lot of them and I want to automate > sending them to a dialog box. How about just creating the group in an offscreen stack (or substack) and then doing "copy group to " every time you want an "instance" of the group? Otherwise, you can't really store a true group object inside a custom property AFAIK - you could store the binary of a stack with one card that only had your group on it, or you could store the specifications of all the objects that make up the group and then build it from scratch each time based on the specifications for each object. But personally, I'd suggest the "copy group" approach... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From JimAultWins at yahoo.com Mon Aug 1 12:17:10 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 01 Aug 2005 09:17:10 -0700 Subject: ANN: Updates on MonsieurX In-Reply-To: <20050728034038.F1794824DE3@mail.runrev.com> Message-ID: Xavier, I hope no one tries to say that NO2 means "No, No" because your contributions are far too valuable to be in that category. I may not ping back to your posts, but I am always happy to read and ponder what you have to say. At all times, I believe you (or your publicist) convey the fact that you have carefully considered issues before speaking. Thanks, And forget NOO but consider NO8, which could be a high-oct-ane nitrous compound, found to consume and eliminate smog very quickly and seriously. Jim Ault Las Vegas On 7/27/05 8:51 PM, "MisterX" wrote: > Jerry > > well, N2O was not right and CH3NO2 is too long so im doing it like > the NOs bottles... But i had to correct it... N2O was just to hard > to type each time ;) > > The goal is to go nitrous, hence faster, not higher or smoggier! ;) > > cheers > Xavier > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jerry J >> Sent: Thursday, July 28, 2005 05:16 >> To: use-revolution at lists.runrev.com >> Subject: RE: ANN: Updates on MonsieurX >> >> Hello, MisterX, >> >> Here we go again. NO2 is Nitrogen Dioxide, a major >> contributor to photochemical smog (like in LA). See: >> http://www.temis.nl/products/no2.html >> for example. >> >> Nitromethane, as in dragster fuel, is CH3NO2, all one >> molecule. NO2 as a molecule, without the methane radical, is >> just smog food. >> >> How did I get to be the local chemist? Maybe I lived in LA too long. >> Cheer to all, >> Jerry Jensen >> >>> From: "MisterX" >>> Subject: RE: ANN: Updates on MonsieurX >>> >>> i know! ;) >>> >>> Everyone tought i had dentist anesthaetic laughin gas when i really >>> had an explosive mix of productivity boosting tools ;) >>> >>> cheeriup! >>> Xav >>> >>>> -----Original Message----- >>>> Mark Wieder >>>> Sent: Wednesday, July 27, 2005 19:32 >>>> >>>> MisterX- >>>> >>>> Tuesday, July 26, 2005, 10:05:23 PM, you wrote: >>>> >>>> M> Note: Most of the plugins were renamed from N2O to NO2 >> The proper >>>> M> molecule in nitro-methane... not nitrous oxide... >>>> >>>> ROTFL. That *does* put things in a whole different light... >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage >> your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jhurley at infostations.com Mon Aug 1 12:36:48 2005 From: jhurley at infostations.com (Jim Hurley) Date: Mon, 1 Aug 2005 09:36:48 -0700 Subject: Turtle Graphics In-Reply-To: <20050801155152.5A1C282560F@mail.runrev.com> References: <20050801155152.5A1C282560F@mail.runrev.com> Message-ID: > >Message: 4 >Date: Mon, 1 Aug 2005 11:33:13 +0200 >From: david bovill >Subject: Re: Turtle Graphics >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > >I have some simple scripts which draw trees etc based on l-systems, >which in turn are built on basic Turtle Graphic primitives - would be >nice to collect this stuff in one place? > Dave, I'm don't know what I-systems are. But by trees I presume you means things like: on Tree L,dL if L > 5 then left 45 forward L tree L/2 back L right 90 forward L tree L/2 back L left 45 end if end Tree There are some fractals in my basic TG stack on the Run Rev web site. But I think some people might like to see some more. Trees are interesting. I don't know what to suggest. Maybe put your examples in the personal users' space in Rev OnLine? Jim From JimAultWins at yahoo.com Mon Aug 1 12:36:41 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 01 Aug 2005 09:36:41 -0700 Subject: Rev IDE bug in Win XP script windows In-Reply-To: <20050729162558.96814.qmail@web60517.mail.yahoo.com> Message-ID: Hello, list, I am experiencing window size problems in the Rev IDE. - Smaller and smaller edit windows, (height, not width) with normal text size. - Variable Watcher window height limit Win XP, Rev 2.5.1, new Dell dual proc PC I am now down to about 6 lines of code showing, and sometimes zero (just title bar and bottom of window rect) or a thin horizontal line!! I am a Mac guy (so be kind), but a project has to be bebugged on a WinXP machine to communicate with FoxPro and Stata that only run on this platform. Using two monitors on a DVI-VGA dual card wreaked havoc on window rects and 'not responding' errors, then reverting to one display solved those problems. (bummer) Now the maximum window size is maddeningly short. Do I reinstall Rev? Change the registry? Uninstall virus protection? (Dell computer was purchased new 4 months ago with a full boat of virus and firewall software installed) Thanks for your help Jim Ault Las Vegas From jperryl at ecs.fullerton.edu Mon Aug 1 12:37:59 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 1 Aug 2005 09:37:59 -0700 (PDT) Subject: Turtle Graphics In-Reply-To: Message-ID: RevOnline? Judy On Mon, 1 Aug 2005, david bovill wrote: > I have some simple scripts which draw trees etc based on l-systems, > which in turn are built on basic Turtle Graphic primitives - would be > nice to collect this stuff in one place? From b.xavier at internet.lu Mon Aug 1 13:09:08 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 1 Aug 2005 19:09:08 +0200 Subject: ANN: Updates on MonsieurX In-Reply-To: Message-ID: <20050801165727.579A5825618@mail.runrev.com> Jim, That's very comforting and funny to read! I didnt make the Chevy Nova error but hit the "nono" matter! Nitrous it is tough - the quicker way to work in rev for me, no paper wasted to print the code (maybe 30 pages in the last 15 years) + a lot of margins on my notebooks to write the concepts... Plan ahead and see the future today ;) And you'll appreciate I wont put that NO2 stuff in my car, dont worry - im just a "really small tad" slower than a M equipped Z3 Coupe (and i drive 150 kms (a bit less than a 100 miles) more on the same gas tank) so im not worried about blowing the competition ;) The other big ozone killer is weight... A heavy car requires a lot of power (and resources to produce). So my next car will be an open-O2 car: the Ariel Atom... If you can find the BBC TopGear show (relatively easy to find) on the net, you'll see what i mean... "it's mental!" - and it's beats a Porsche Carrera GT1 for 1/10th of the price and let's not talk fuel consumption... For the Vegas weather, it would be ideal! Still driving a V8 to work? Moral of the story... The lighter the stack, the faster it goes too ;) I've read a few nice idea projects in the list lately... Hope to not disappoint you and save you lots of time soon ;) cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jim Ault > Sent: Monday, August 01, 2005 18:17 > To: x at monsieurx.com, How to use Revolution > Subject: Re: ANN: Updates on MonsieurX > > Xavier, > I hope no one tries to say that NO2 means "No, No" because > your contributions are far too valuable to be in that > category. I may not ping back to your posts, but I am always > happy to read and ponder what you have to say. At all times, > I believe you (or your publicist) convey the fact that you > have carefully considered issues before speaking. > > Thanks, > > And forget NOO > but consider NO8, which could be a high-oct-ane nitrous > compound, found to consume and eliminate smog very quickly > and seriously. > > Jim Ault > Las Vegas > > > On 7/27/05 8:51 PM, "MisterX" wrote: > > > Jerry > > > > well, N2O was not right and CH3NO2 is too long so im doing > it like the > > NOs bottles... But i had to correct it... N2O was just to > hard to type > > each time ;) > > > > The goal is to go nitrous, hence faster, not higher or smoggier! ;) > > > > cheers > > Xavier > > > >> -----Original Message----- > >> From: use-revolution-bounces at lists.runrev.com > >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf > Of Jerry J > >> Sent: Thursday, July 28, 2005 05:16 > >> To: use-revolution at lists.runrev.com > >> Subject: RE: ANN: Updates on MonsieurX > >> > >> Hello, MisterX, > >> > >> Here we go again. NO2 is Nitrogen Dioxide, a major contributor to > >> photochemical smog (like in LA). See: > >> http://www.temis.nl/products/no2.html > >> for example. > >> > >> Nitromethane, as in dragster fuel, is CH3NO2, all one > molecule. NO2 > >> as a molecule, without the methane radical, is just smog food. > >> > >> How did I get to be the local chemist? Maybe I lived in LA > too long. > >> Cheer to all, > >> Jerry Jensen > >> > >>> From: "MisterX" > >>> Subject: RE: ANN: Updates on MonsieurX > >>> > >>> i know! ;) > >>> > >>> Everyone tought i had dentist anesthaetic laughin gas > when i really > >>> had an explosive mix of productivity boosting tools ;) > >>> > >>> cheeriup! > >>> Xav > >>> > >>>> -----Original Message----- > >>>> Mark Wieder > >>>> Sent: Wednesday, July 27, 2005 19:32 > >>>> > >>>> MisterX- > >>>> > >>>> Tuesday, July 26, 2005, 10:05:23 PM, you wrote: > >>>> > >>>> M> Note: Most of the plugins were renamed from N2O to NO2 > >> The proper > >>>> M> molecule in nitro-methane... not nitrous oxide... > >>>> > >>>> ROTFL. That *does* put things in a whole different light... > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Mon Aug 1 13:08:26 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 1 Aug 2005 10:08:26 -0700 Subject: ANN: Sudoku Assistant In-Reply-To: <42EE1C83.60701@tweedly.net> References: <20050730111003.18860825342@mail.runrev.com> <42ECDC74.8050502@tweedly.net> <8754C4BD-C4D5-4580-9DF2-460184CE40EF@danshafer.com> <42ED4FC8.4080507@tweedly.net> <42EE1C83.60701@tweedly.net> Message-ID: Alex.... Cool! I downloaded a shareware product called MacSodoku and entered your Puzzle #1 into it and solved it in less than five minutes. It was great fun and very satisfying. But I think your program could be very valuable as a sort of training-wheels approach to learning to think in patterns that solve these delightful puzzles. I'll download your new version and give it a shot today. Dan On Aug 1, 2005, at 5:58 AM, Alex Tweedly wrote: > Dan Shafer wrote: > > >> I'm doing something wrong or misunderstanding how the assistant >> works or something. >> >> On Puzzle #1, I got to the place where I have five uncompleted >> cells. One of them has a "?" which I think means there's an error >> somewhere. But neither it nor the cell underneath it show any >> potential values when I click on them. Then I click on an >> adjoining square to the one without a "?" and select a value. >> Odds go to 0, so I know I've got a wrong value there. I "Undo" >> and now I have three squares -- the two original and the one I >> just undid -- that show no values to pick from when I click on >> them. SO essentially, even though I think I could solve the >> puzzle at this point, the assistant won't let me proceed. >> >> Bug? Something I'm not grokking? >> > > One bug, one not-yet-implemented feature and maybe something you > weren't fully grokking. (And for all I know, more bugs still to > come ....) > > The bug I found and fixed was in undo-ing after there were squares > for which no value remained possible. Although they showed on- > screen as a "?", the "?" wasn't being saved in the Undo/Redo state, > so subsequent "Undo"s could leave blank squares. > > I'm not sure how that led to the problem you described to me - so > I've also added an automatic logging facility. All actions are > logged (to a custom property), and there is a new menu item - > File / Save Log File ... which will save the log file. So if > anyone encounters strange situation, they can simply save the log > file and email it to me. > > The not-yet-implemented feature is that it ought to stop you > assigning values to any more squares once any square has no > remaining possible values. I will add that - but in the mean time, > keep an eye on the number of possibilities, and if it reaches 0 > then you will need to Undo (one or more times), so you may as well > do it immediately. (I figure if you had fully grokked things, you > wouldn't have continued ....) > > Ver 1.3 has been uploaded to RevOnline, with these two changes. > > Ver 1.4 will come later today, with an additional feature of > showing a detailed breakdown of a single step (i.e. which squares > change and why), which will be a useful way to see what the > Assistant is doing for you (and indirectly to check that it does > the right thing). That info is actually already gathered in the > log file, but I'm looking for a graphical way to show it. > > And this is actually being much more interesting than I had > expected - so there may well be a Version 2 that eliminates some of > the cruft that has sprung up in the various Ver 1.x's as it has > grown organically. > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: > 27/07/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From FlexibleLearning at aol.com Mon Aug 1 13:15:01 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon, 1 Aug 2005 13:15:01 EDT Subject: [INFO] FileInfo function uploaded Message-ID: <1da.411dc8a8.301fb295@aol.com> The flexible FileInfo function posted yesterday to this list is now publically available in the Online Scrapbook (along with other scripts, handlers, functions and tidbits for transcript and other languages). What is this Online Scrapbook, then? The online Scrapbook is the 'shared access' part of the Scripter's Scrapbook. It allows you to quickly and easily publish and browse scripts, tutorials, articles or anything you already have in your own Scrapbook, point to web resources and online stacks, even offer your stuff for sale if you wish. You have over 180 languages to choose from (or use in combination) under 44 different categories. You can choose to be anonymous, specify usage restrictions, update your Entries at any time, and grant shared modification permissions for joint projects. The system is very fast thanks to cached indexing, operates direct with your own 'desktop' Scrapbook, and is a snap to use. /H The Scripter's Scrapbook www.FlexibleLearning.com/ssbk.htm From b.xavier at internet.lu Mon Aug 1 13:25:09 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 1 Aug 2005 19:25:09 +0200 Subject: Rev IDE bug in Win XP script windows In-Reply-To: Message-ID: <20050801171323.0D00782562A@mail.runrev.com> Hi Jim Dont fear the PC world... it's not hard to beat... if your pc is NOT running "Normally" - crashes and all, run a virus scan AND a spyware scan... Update to the latest windows updates (save before you click the last ok button... Whatever protection they gave you, if not updated and maintained weekly, is as good as not having any (with a speed penalty!) if you're sure something else is wrong (do all your rev stacks work wrong?) do other scripter's stack go wrong? Reinstall rev - takes 3 minutes, no big deal. (rev can be backedup via copy paste no problem after your first installation for a quick restore (less than a minute). If you keep your project stacks out of the rev stack, it's even easier... zipping the folder is a good as any backup... for added security, keep the backup on a different drive (not partition). Next if it still goes wrong, test someone elses stacks without your stacks opened after restarting rev... single out your errors first... make sure your environment is working ok... if you bought winxp home edition, it's probably just a need to reinstall it... get a pro edition... it's much more solid... lots of stuff was removed from the home edition and some crap added surely for home users... I run windows smoothly with no virus protection, no firewall, no IE crap and despite all hte firefox crap and bugs, i get no bugs, no spywares, no virii... i've been hit 2 times in 6 years... careful and documented usage only = no problems. If you dont know how to drive a race car, there' isn't one team who will lend you their car, it's a precision instrument... alas the holes in security and the lack of user education is taking it's toll - guess that's why no many use linux yet ;). Im sure moft will push us into it sooner or later ;$ cheers Xavier Sinclair -> trs80 -> Apple][ -> Mac 1.0-> 9.0 -> PC Quake 1 two 3 > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jim Ault > Sent: Monday, August 01, 2005 18:37 > To: How to use Revolution > Subject: Rev IDE bug in Win XP script windows > > Hello, list, > I am experiencing window size problems in the Rev IDE. > - Smaller and smaller edit windows, (height, not width) with > normal text size. > - Variable Watcher window height limit > > Win XP, Rev 2.5.1, new Dell dual proc PC > > I am now down to about 6 lines of code showing, and sometimes > zero (just title bar and bottom of window rect) or a thin > horizontal line!! > > I am a Mac guy (so be kind), but a project has to be bebugged > on a WinXP machine to communicate with FoxPro and Stata that > only run on this platform. > > Using two monitors on a DVI-VGA dual card wreaked havoc on > window rects and 'not responding' errors, then reverting to > one display solved those problems. (bummer) > > Now the maximum window size is maddeningly short. > Do I reinstall Rev? Change the registry? Uninstall virus protection? > (Dell computer was purchased new 4 months ago with a full > boat of virus and firewall software installed) > > Thanks for your help > > Jim Ault > Las Vegas > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Mon Aug 1 13:50:15 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Aug 2005 10:50:15 -0700 Subject: Help, what am I doing wrong??? In-Reply-To: <42EE0AED.1050208@sover.net> References: <42EE0AED.1050208@sover.net> Message-ID: <1931075846.20050801105015@ahsoftware.net> Jon- Monday, August 1, 2005, 4:43:41 AM, you wrote: > Whew! That's more like it! Yes, indeed. I'm glad I was wrong on this one. -- -Mark Wieder mwieder at ahsoftware.net From charles.hartman at conncoll.edu Mon Aug 1 13:48:42 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Mon, 1 Aug 2005 13:48:42 -0400 Subject: simple custom property question In-Reply-To: References: Message-ID: So "any kind of data" (as in, "You can define custom properties for any object, and use them to store any kind of data.") doesn't mean "any kind of data," it means various "multimedia" kinds of data -- but not Rev objects? Since the rest of the data I need to send to each instance of the dialog will be stored in an array built from custom properties -- that seems to be the Rev-"native" way to do it -- it feels peculiar to have to call up a different data stream for the operation. I suppose I'm just being fussy. I wonder if this limitation (if I understand it correctly) gets in anyone else's way? Charles On Aug 1, 2005, at 12:06 PM, Ken Ray wrote: > On 8/1/05 7:44 AM, "Charles Hartman" > wrote: > > >> This has got to be simple, but I'm stuck: how do I get a group into a >> custom property? I don't even need to do it from a script; the msg >> box or Inspector will do. >> >> The group includes an image and a bunch of little fields. I want them >> in a cust prop because I'll have a lot of them and I want to automate >> sending them to a dialog box. >> > > How about just creating the group in an offscreen stack (or > substack) and > then doing "copy group to " every time you > want an > "instance" of the group? > > Otherwise, you can't really store a true group object inside a custom > property AFAIK - you could store the binary of a stack with one > card that > only had your group on it, or you could store the specifications of > all the > objects that make up the group and then build it from scratch each > time > based on the specifications for each object. > > But personally, I'd suggest the "copy group" approach... > From mwieder at ahsoftware.net Mon Aug 1 14:00:47 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Aug 2005 11:00:47 -0700 Subject: global problems In-Reply-To: References: Message-ID: <1591708326.20050801110047@ahsoftware.net> Ken- Monday, August 1, 2005, 8:56:23 AM, you wrote: > There are only two times when globals are completely removed - when the > interpreter quits, or when you explicitly delete globals with the syntax > above. Simply removing the declarative line of code doesn't "tell" Rev to do > anything other than removing the ability to use that global in that specific > script. Hmmm... "delete global"... you're right - I use globals so infrequently that it wouldn't have occurred to me that I would have to delete something that didn't exist. That's pretty screwy, IMO. I don't think there's anything else in xtalk that acts that way. Constants certainly don't. If the compiler enforced reference counting when compiling that would take care of this. Yet another reason to avoid the Dreaded Global. -- -Mark Wieder mwieder at ahsoftware.net From bnz2 at cdc.gov Mon Aug 1 13:58:32 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 1 Aug 2005 13:58:32 -0400 Subject: simple custom property question Message-ID: <64878EF567131D4596246171F75FD4A9744613@m-epo-1.epo.cdc.gov> A custom prop can store characters of various sorts... And all digital data is ultimately stored as some sort of collection of characters, including images, video, sound files, etc... So, if you had a way to convert a Rev object into characters, the way imagedata gives you the characters that define an image, then you could indeed store that object as a custom property. I believe this could be done, but it would be a serious pain in the bahonkus to do it. For a group, you would have to get all the properties of the group, and all the objects and their properties that are contained in the group, and store all of that data in a well delimited chunk of text. A limited version of this approach is what I do for storing data that I use in my spreadsheet object, but it took me a fair bit of work to work out. So I would suggest not doing this unless you absolutely need to. But yes, it can be done. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Charles Hartman Sent: Monday, August 01, 2005 1:49 PM To: How to use Revolution Subject: Re: simple custom property question So "any kind of data" (as in, "You can define custom properties for any object, and use them to store any kind of data.") doesn't mean "any kind of data," it means various "multimedia" kinds of data -- but not Rev objects? Since the rest of the data I need to send to each instance of the dialog will be stored in an array built from custom properties -- that seems to be the Rev-"native" way to do it -- it feels peculiar to have to call up a different data stream for the operation. I suppose I'm just being fussy. I wonder if this limitation (if I understand it correctly) gets in anyone else's way? Charles On Aug 1, 2005, at 12:06 PM, Ken Ray wrote: > On 8/1/05 7:44 AM, "Charles Hartman" > wrote: > > >> This has got to be simple, but I'm stuck: how do I get a group into a >> custom property? I don't even need to do it from a script; the msg >> box or Inspector will do. >> >> The group includes an image and a bunch of little fields. I want them >> in a cust prop because I'll have a lot of them and I want to automate >> sending them to a dialog box. >> > > How about just creating the group in an offscreen stack (or > substack) and > then doing "copy group to " every time you > want an > "instance" of the group? > > Otherwise, you can't really store a true group object inside a custom > property AFAIK - you could store the binary of a stack with one > card that > only had your group on it, or you could store the specifications of > all the > objects that make up the group and then build it from scratch each > time > based on the specifications for each object. > > But personally, I'd suggest the "copy group" approach... > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Mon Aug 1 14:06:16 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 01 Aug 2005 13:06:16 -0500 Subject: simple custom property question In-Reply-To: Message-ID: On 8/1/05 12:48 PM, "Charles Hartman" wrote: > So "any kind of data" (as in, "You can define custom properties for > any object, and use them to store any kind of data.") doesn't mean > "any kind of data," it means various "multimedia" kinds of data -- > but not Rev objects? Actually the problem is that there isn't a way to "get" the binary of a specific object in Rev... so you can store regular variable data, plus any binary file that you can read from disk. So since there's no way to directly dump a group to disk, the only thing that can be done is to dump the stack that *contains* the group to disk - but that's not what you want. > Since the rest of the data I need to send to each instance of the > dialog will be stored in an array built from custom properties -- > that seems to be the Rev-"native" way to do it -- it feels peculiar > to have to call up a different data stream for the operation. I > suppose I'm just being fussy. I'm curious... why won't "copy group" solve your problem? That's currently the Rev-native way to do this kind of stuff (unless I'm not understanding correctly what you're trying to do). Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From david at openpartnership.net Mon Aug 1 15:01:06 2005 From: david at openpartnership.net (david bovill) Date: Mon, 1 Aug 2005 21:01:06 +0200 Subject: Spotlight indexing: feature request proposal In-Reply-To: References: Message-ID: <811344C4-0A97-47FE-BBFB-A2DCEB1D3045@openpartnership.net> I am looking for ways to add metadata to external files using Spotlight - video files in particular from within Revolution. I think it would be very useful if the stack indexing suggestions was extended to standard Apple file formats or to any file format with an existing system level spotlight metadata plugin (you'd need to know or parse the plist structure). In the meantime I'm looking to use AppleScript or the command line tools - but not got anything working yet - any ideas? From tkuypers at pandora.be Mon Aug 1 15:04:54 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Mon, 1 Aug 2005 21:04:54 +0200 Subject: Weird OS9 runtime problem->losing database connection Message-ID: What's going on, what am I missing here? I've created a database frontend which needs to run on Windows, 2000 WIndows XP, Mac OS9 and Mac OS-X. All run perfect except the Mac OS9 version... I have a splash screen with some minor scripts in the preopenstack and startup handlers. In the on opencard script I load some parameters and call a script in another stack. (All basic SQL- generating scripts are located in that stack, all in buttons, so it's very easy to manage and edit them. I use properties in the stack to pass parameters around and maintain parameters per session.) The script I need to run is in the mouseup handler of button "connectToDB". I use the "revOpenDatabase" command with all parameters and the result is a number, the connection ID. When there is no error in connecting to the mySQL database, I continue to the "Login" substack so a user can enter its username and password. Hitting the enter button should then set a property of the stack with the name & password and send a mousup to a second button, which checks if the user may or may not login. The first part (getting the connection ID works fine on OS9, but when I'm in the second script, the "revOpenDatabases()" return empty and I get the error "revdberr, invalid connection id", so nothing works :-(( When running it inside revolution on OS9 it's OK, so are all other runtimes, just the OS9 runtime doesn't work. Anybody any suggestions? Regards, Ton Kuypers From david at openpartnership.net Mon Aug 1 15:18:58 2005 From: david at openpartnership.net (david bovill) Date: Mon, 1 Aug 2005 21:18:58 +0200 Subject: Turtle Graphics In-Reply-To: References: <20050801155152.5A1C282560F@mail.runrev.com> Message-ID: <3B6E0645-6F0A-4261-8CBA-B3F36B862E08@openpartnership.net> > Dave, > > I'm don't know what I-systems are. http://en.wikipedia.org/wiki/L-system http://www.cs.unh.edu/~charpov/Programming/L-systems/ http://www.fraktalwelt.de/lsys/einf_lsys.htm (German) > But by trees I presume you means things like: > > on Tree L,dL > if L > 5 then > left 45 > forward L > tree L/2 > back L > right 90 > forward L > tree L/2 > back L > left 45 > end if > end Tree The syntax I use for this would be of the form "+[F]--F" - where "F "is forward ("f" is forward without drawing), "+" is rotate left, "-" is rotate right and "[F]" is push with "]" as pop for creating branches. The link to Turtle Graphics is in using the strings like "+[F]-- F" (for controlling the Turtle) and then passing them into an l- system - see http://www.biologie.uni-hamburg.de/b-online/e28_3/lsys.html > > I don't know what to suggest. Maybe put your examples in the > personal users' space in Rev OnLine? Have to wait a week or two till I get my nice new license - I'm a Metacard developer :) From Revinfo1155 at aol.com Mon Aug 1 15:25:03 2005 From: Revinfo1155 at aol.com (Revinfo1155 at aol.com) Date: Mon, 1 Aug 2005 15:25:03 EDT Subject: MySQL Connection error Message-ID: <45.2d482431.301fd10f@aol.com> From revlist at cableone.net Mon Aug 1 15:37:27 2005 From: revlist at cableone.net (Chris Sheffield) Date: Mon, 1 Aug 2005 13:37:27 -0600 Subject: Weird OS9 runtime problem->losing database connection In-Reply-To: References: Message-ID: <411E64F6-CDB4-4D82-80D2-580E7FB4C508@cableone.net> Hi Ton, There are some weird issues with OS 9 standalones accessing a MySQL database. I'm not exactly sure where the problem lies, but it seems to be with the standalone builder itself, which makes sense since everything works fine in the IDE and not in the standalone. I had a similar problem a few months back, and if I remember correctly, what you have to do is manually select your inclusions and under database support select MySQL *and* Valentina. I know, it sounds stupid, but it works. For some strange reason, database support on OS 9 is linked to the Valentina xcmd, and if you build your standalone without it, nothing works. So you end up with an extra file in your distribution that wouldn't normally be necessary, but right now it's the only way to make it work. This has already been reported (#2613 in Bugzilla), and will hopefully be fixed soon. HTH, Chris On Aug 1, 2005, at 1:04 PM, Ton Kuypers wrote: > What's going on, what am I missing here? > > I've created a database frontend which needs to run on Windows, > 2000 WIndows XP, Mac OS9 and Mac OS-X. > All run perfect except the Mac OS9 version... > > I have a splash screen with some minor scripts in the preopenstack > and startup handlers. In the on opencard script I load some > parameters and call a script in another stack. (All basic SQL- > generating scripts are located in that stack, all in buttons, so > it's very easy to manage and edit them. I use properties in the > stack to pass parameters around and maintain parameters per session.) > The script I need to run is in the mouseup handler of button > "connectToDB". > I use the "revOpenDatabase" command with all parameters and the > result is a number, the connection ID. > > When there is no error in connecting to the mySQL database, I > continue to the "Login" substack so a user can enter its username > and password. > Hitting the enter button should then set a property of the stack > with the name & password and send a mousup to a second button, > which checks if the user may or may not login. > > The first part (getting the connection ID works fine on OS9, but > when I'm in the second script, the "revOpenDatabases()" return > empty and I get the error "revdberr, invalid connection id", so > nothing works :-(( > > When running it inside revolution on OS9 it's OK, so are all other > runtimes, just the OS9 runtime doesn't work. > > Anybody any suggestions? > > Regards, > > Ton Kuypers > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From jbondy at sover.net Mon Aug 1 15:41:17 2005 From: jbondy at sover.net (Jon) Date: Mon, 01 Aug 2005 15:41:17 -0400 Subject: new bug posted In-Reply-To: References: Message-ID: <42EE7ADD.3070404@sover.net> Jim: A good point about the consequences of an accidental click; I'd not considered that. That said, I often want to search for something, and find the procedure for getting the Find facility to be visible to be more complex and time consuming than I would like. :) Jon Jim Ault wrote: >"Jon" wrote: > > >>Why not have the Find/Replace visible all of the time Actually, I prefer not >> >> >to have the Replace button showing, and especially the Replace All. Doing a >find, then later accidentally clicking Replace All as you bring the script >window to the front will morph the entire script container... major damage in >some cases. > >I would prefer the Replace and Replace All be a drop down selection of >'once' and 'once whole word only' and 'all' and 'all whole word only' > >Usually this feature is on its own dialog window so that you are in >Find/Replace mode, then dismiss it. > >Jim Ault >Las Vegas > > >On 7/29/05 5:56 PM, "Jon" wrote: > > > >>I just posted "bug" (enhancement suggestion) 3034, which says in part >> >>As much as I like the AutoComplete feature of the Script Editor, I find >>myself always wanting to do searches, and I hate switching between the >>two modes. I realized that the two modes are really separate, since one >>rarely wants to search in the middle of typing a word. Why not have the >>Find/Replace visible all of the time EXCEPT when in the middle of typing >>a word, at which point it is dynamically replaced by the AutoComplete? >>Best of both worlds! >> >>Vote with your heart... >> >>:) >> >>Jon >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your subscription >>preferences: >>http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From charles.hartman at conncoll.edu Mon Aug 1 15:43:49 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Mon, 1 Aug 2005 15:43:49 -0400 Subject: simple custom property question In-Reply-To: References: Message-ID: <425BB8C0-7D45-4B31-AC11-3E27FCA2CFC5@conncoll.edu> On Aug 1, 2005, at 2:06 PM, Ken Ray wrote: > > I'm curious... why won't "copy group" solve your problem? That's > currently > the Rev-native way to do this kind of stuff (unless I'm not > understanding > correctly what you're trying to do). It probably will. It just doesn't feel as tidy as if I could put it, with the rest of the data I need to send to the dialog, into a custom property. Anything with two stages constitutes a strain on my brain :). (The situation, if you're curious, is this: I have a dozen or so "Additional Exercises" cards in a stack which is a tutorial on scanning metrical verse. Each card displays a poem, which is image that began as as a screenshot; over each line of the poem is an opague borderless field hiding the scansion marks above the line, and a transparent borderless button. When the user clicks the button, a complicated dialog box will come up. It will show a [screenshot of the] line, with individual "hiding" fields over each of its scansion marks. The user will click on syllables that are stressed, and the stress marks will appear. When that's done, the user will click a Go On to get to another card, in which the same line is shown, now with stress and slack marks revealed over every syllable, but the foot- division marks still hidden; below that, a set of check boxes, one per foot, and a set of radio buttons with the names of possible feet. Data in a custom property in the poem's card will list the feet for each line, and possibly the number of stressed syllables. My idea was to send to the dialog, when the user calls it up by clicking on any line, a packet of data giving the "correct" answers to the foot questions; but the dialog also needs, as data, the [screenshot of the] line and its marks, and the little fields that hide the marks until the right mouse clicks. I guess I can just send the dialog those two different kinds of data in two operations -- it just doesn't feel quite as efficient as sending it all at once. It means that a copy of each line's screenshot, in a group with all its little hiding fields, needs to be stored somewhere elese -- most simply, I guess, invisibly on the card itself. Hope any of this makes any sense. I'm not sure it does to me, any more.) Charles From gbrackett at luceatlux.com Mon Aug 1 15:48:03 2005 From: gbrackett at luceatlux.com (George Brackett) Date: Mon, 1 Aug 2005 15:48:03 -0400 Subject: MySQL Connection error In-Reply-To: References: Message-ID: This is a result of Tiger using MySQL 4.1, and there are several workarounds on the MySQL site at http://dev.mysql.com/doc/mysql/en/ old-client.html. Here's the beginning of the article at that location: " MySQL 4.1 and up uses an authentication protocol based on a password hashing algorithm that is incompatible with that used by older clients. If you upgrade the server to 4.1, attempts to connect to it with an older client may fail with the following message: shell> mysql Client does not support authentication protocol requested by server; consider upgrading MySQL client" I used the second workaround (ref: UPDATE and FLUSH PRIVILEGES) with success. George On Jul 30, 2005, at 10:11 PM, Alan Golub wrote: I've been toying around with the Database Query Builder lately, thinking about writing a tutorial for new users. I've used it in the past with PostgreSQL 8, connecting to localhost without any problems. But for the sake of a tutorial, I thought I'd go with MySQL, which seems to be far more popular, and for Mac OS X at least, much easier to install now that MySQL AB provides native OS X installers. But I can't seem to connect to MySQL from DQB. I've checked and double checked the host, user name, password, database name, and port number, all without success. I keep getting the following error message: "There was an error in connecting to the database. Please check that the connection fields are correct. Revdb error: Client does not support authentication protocol requested by server, consider upgrading MySQL client." The client fields are definitely correct (I'm using them to connect to the server from other GUI MySQL tools). I'm using Revolution Studio 2.6 and MySQL 4.1.13 on Tiger 10.4.2. Any thoughts or workarounds? Thanks- Alan Golub _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From nnoydb at excite.com Mon Aug 1 15:54:22 2005 From: nnoydb at excite.com (N) Date: Mon, 1 Aug 2005 15:54:22 -0400 (EDT) Subject: WM_COPYMESSAGE Window Messages in general RR Message-ID: <20050801195422.17D773E39@xprdmailfe11.nwk.excite.com> How does one receive and process native Win32 messages from inside RR? -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- 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 tkuypers at pandora.be Mon Aug 1 15:57:30 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Mon, 1 Aug 2005 21:57:30 +0200 Subject: Weird OS9 runtime problem->losing database connection In-Reply-To: <411E64F6-CDB4-4D82-80D2-580E7FB4C508@cableone.net> References: <411E64F6-CDB4-4D82-80D2-580E7FB4C508@cableone.net> Message-ID: Chris, Already tried that, no luck on this side however :-( The strange thing is, that when I open the database connection in the same handler as the part where I extract the data from the database, there is no problem!!! This is totally weird, this means that I cannot use common handlers and functions to access the database... HEEEELLLLLLPPPPPPPPP On 1-aug-05, at 21:37, Chris Sheffield wrote: > Hi Ton, > > There are some weird issues with OS 9 standalones accessing a MySQL > database. I'm not exactly sure where the problem lies, but it > seems to be with the standalone builder itself, which makes sense > since everything works fine in the IDE and not in the standalone. > > I had a similar problem a few months back, and if I remember > correctly, what you have to do is manually select your inclusions > and under database support select MySQL *and* Valentina. I know, > it sounds stupid, but it works. For some strange reason, database > support on OS 9 is linked to the Valentina xcmd, and if you build > your standalone without it, nothing works. So you end up with an > extra file in your distribution that wouldn't normally be > necessary, but right now it's the only way to make it work. This > has already been reported (#2613 in Bugzilla), and will hopefully > be fixed soon. > > HTH, > Chris From kray at sonsothunder.com Mon Aug 1 16:00:02 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 01 Aug 2005 15:00:02 -0500 Subject: MySQL Connection error In-Reply-To: Message-ID: On 8/1/05 2:48 PM, "George Brackett" wrote: > "There was an error in connecting to the database. Please check that the > connection fields are correct. Revdb error: Client does not support > authentication protocol requested by server, consider upgrading MySQL > client." > > The client fields are definitely correct (I'm using them to connect > to the > server from other GUI MySQL tools). I'm using Revolution Studio 2.6 and > MySQL 4.1.13 on Tiger 10.4.2. > > Any thoughts or workarounds? Yes, we ran into this just recently. You need to change the password that is stored in the DB to the "old" (pre-4.1) format for compatiblity with everybody. This is the syntax at the mysql prompt (using "tempUser" as the user name, "localhost" as the host, and "mypass" for the password): set password for "tempUser"@"localhost"=OLD_PASSWORD("mypass"); And if done through the shell in Rev, do this (uses the root user with no password and a database called "tempDB"): get shell("/usr/local/mysql/bin/mysql --user='root' --password='' --database='tempDB' --execute='set password for "tempUser"@"localhost"=OLD_PASSWORD("mypass")') HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From lists at mangomultimedia.com Mon Aug 1 16:17:45 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 1 Aug 2005 13:17:45 -0700 Subject: Spotlight indexing: feature request proposal In-Reply-To: <811344C4-0A97-47FE-BBFB-A2DCEB1D3045@openpartnership.net> References: <811344C4-0A97-47FE-BBFB-A2DCEB1D3045@openpartnership.net> Message-ID: <3B68887D-C186-445D-B6ED-2E9C1D925026@mangomultimedia.com> On Aug 1, 2005, at 12:01 PM, david bovill wrote: > I am looking for ways to add metadata to external files using > Spotlight - video files in particular from within Revolution. I > think it would be very useful if the stack indexing suggestions was > extended to standard Apple file formats or to any file format with > an existing system level spotlight metadata plugin (you'd need to > know or parse the plist structure). > > In the meantime I'm looking to use AppleScript or the command line > tools - but not got anything working yet - any ideas? Spotlight already indexes QuickTime video annotations plus the new stuff that QT7 added. You can use applescript to set annotations. There are some scripts here: You can also use the EnhancedQT external to set and get movie annotations (qtSetMovieAnnotation and qtGetMovieAnnotation) but you have to do a save as to save the movie after wards since Rev doesn't allow you to open a QuickTime movie and then save it. You can get more info on the external at . -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Mon Aug 1 16:20:39 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 1 Aug 2005 13:20:39 -0700 Subject: Weird OS9 runtime problem->losing database connection In-Reply-To: References: Message-ID: <407C2FD9-3535-42E8-A679-99C3C7B9D4F9@mangomultimedia.com> On Aug 1, 2005, at 12:04 PM, Ton Kuypers wrote: > What's going on, what am I missing here? > > I've created a database frontend which needs to run on Windows, > 2000 WIndows XP, Mac OS9 and Mac OS-X. > All run perfect except the Mac OS9 version... I haven't used MySQL with OS 9 but it is probably an external issue. When you build the standalone is the MySQL Library PPC in the standalone folder? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From tkuypers at pandora.be Mon Aug 1 16:22:49 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Mon, 1 Aug 2005 22:22:49 +0200 Subject: Weird OS9 runtime problem->losing database connection In-Reply-To: <407C2FD9-3535-42E8-A679-99C3C7B9D4F9@mangomultimedia.com> References: <407C2FD9-3535-42E8-A679-99C3C7B9D4F9@mangomultimedia.com> Message-ID: Yep, it is there.. And so is the Valentia external. I've even tried replacing the mySQL external from 2.6 by the one supplied with version 2.5 or 2.2... same error, no result :( On 1-aug-05, at 22:20, Trevor DeVore wrote: > On Aug 1, 2005, at 12:04 PM, Ton Kuypers wrote: > > >> What's going on, what am I missing here? >> >> I've created a database frontend which needs to run on Windows, >> 2000 WIndows XP, Mac OS9 and Mac OS-X. >> All run perfect except the Mac OS9 version... >> > > I haven't used MySQL with OS 9 but it is probably an external issue. > > When you build the standalone is the MySQL Library PPC in the > standalone folder? > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From asg618 at mac.com Mon Aug 1 16:25:10 2005 From: asg618 at mac.com (Alan Golub) Date: Mon, 01 Aug 2005 16:25:10 -0400 Subject: MySQL Connection error In-Reply-To: Message-ID: On 8/1/05 4:00 PM, "Ken Ray" wrote: > Yes, we ran into this just recently. You need to change the password that is > stored in the DB to the "old" (pre-4.1) format for compatiblity with > everybody. This is the syntax at the mysql prompt (using "tempUser" as the > user name, "localhost" as the host, and "mypass" for the password): > > set password for "tempUser"@"localhost"=OLD_PASSWORD("mypass"); I'll need to wait until tonight to run this solution from home, but I just want to make sure I 'get it.' Ok, so for each user accessing the 4.1 or later database, changing/setting the password via the OLD_PASSWORD() function stores the password in a manner compliant with post-4.0 versions of the server, thus allowing seamless (hopefully) access to the db from Rev? Thanks, Ken! From tkuypers at pandora.be Mon Aug 1 16:26:23 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Mon, 1 Aug 2005 22:26:23 +0200 Subject: update on "Weird OS9 runtime problem->losing database connection" Message-ID: <34D869F0-B5DF-4D76-9239-6BEB06805D58@pandora.be> Strangeeeeeeeee... I now have copied all scripts used to connect to a database and retrieve some information into one window. They are all started when needed but then ik seems to work. The only thing now is that it takes WAY TO LONG to access the database, because when doing it like this, I need to open a connection to the database for each call... Keep them suggestions coming, as it looks I will be here all night long :-((( Ton From stephenREVOLUTION at barncard.com Mon Aug 1 16:34:01 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 1 Aug 2005 13:34:01 -0700 Subject: ANN: New page in test. In-Reply-To: References: Message-ID: to butt in here... I've found that Gallery2 is by far the best way to post and organize photos online and the latest Wordpress is a very easy blog/CMS to set up and use. both are PHP/MySQL/ open source donationware. a killer combination that can be set up in hours. sqb >Your page works fine but Manila cost $1000! Why not use plog or some other >blogging tool that is not so expensive? I am looking for a very simple >blogging tool, easy to post too with photos, easy to set-up RSS and runs on >Linux. > >What is your advice? > >Bill > From jhurley at infostations.com Mon Aug 1 16:36:52 2005 From: jhurley at infostations.com (Jim Hurley) Date: Mon, 1 Aug 2005 13:36:52 -0700 Subject: Turtle Graphics In-Reply-To: <20050801194657.2918582557A@mail.runrev.com> References: <20050801194657.2918582557A@mail.runrev.com> Message-ID: > >Message: 11 >Date: Mon, 1 Aug 2005 21:18:58 +0200 >From: david bovill >Subject: Re: Turtle Graphics >To: How to use Revolution >Message-ID: <3B6E0645-6F0A-4261-8CBA-B3F36B862E08 at openpartnership.net> >Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > >(Snip) > >The syntax I use for this would be of the form "+[F]--F" - where "F >"is forward ("f" is forward without drawing), "+" is rotate left, "-" >is rotate right and "[F]" is push with "]" as pop for creating branches. > >The link to Turtle Graphics is in using the strings like "+[F]-- >F" (for controlling the Turtle) and then passing them into an l- >system - see http://www.biologie.uni-hamburg.de/b-online/e28_3/lsys.html > >> >> I don't know what to suggest. Maybe put your examples in the >> personal users' space in Rev OnLine? > >Have to wait a week or two till I get my nice new license - I'm a >Metacard developer :) With that notation, I would have guessed you were a C developer :). Jim From stephenREVOLUTION at barncard.com Mon Aug 1 17:00:52 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 1 Aug 2005 14:00:52 -0700 Subject: global problems In-Reply-To: References: Message-ID: Now hold on a minute; I did remember a time a version back when I set a global when I should have set a local, and the global wouldn't go away, I couldn't recreate as a local, even though I used 'delete' from the msg box. It insisted on being a global. I had to quite rev to continue... sqb >On 8/1/05 2:28 AM, "Mark Wieder" wrote: > >> Global variables are persistent in memory, even when they've been >> purged. Once you have declared a global variable, even if you have >> deleted the line of code that declared it, you're stuck with it. > >Well, yes, but that's because you didn't explicitly delete it, which you can >do with: > > delete global >Ken Ray From mwieder at ahsoftware.net Mon Aug 1 17:07:24 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Aug 2005 14:07:24 -0700 Subject: WM_COPYMESSAGE Window Messages in general RR In-Reply-To: <20050801195422.17D773E39@xprdmailfe11.nwk.excite.com> References: <20050801195422.17D773E39@xprdmailfe11.nwk.excite.com> Message-ID: <13112905136.20050801140724@ahsoftware.net> N- Monday, August 1, 2005, 12:54:22 PM, you wrote: > How does one receive and process native Win32 messages from inside RR? You need to write a DLL to process them. Put a standard event loop in the windowproc of the DLL window and catch the WM_COPYMESSAGEs. You can process them there or pass the data back to rev in a callback. -- -Mark Wieder mwieder at ahsoftware.net From revlist at cableone.net Mon Aug 1 17:11:47 2005 From: revlist at cableone.net (Chris Sheffield) Date: Mon, 1 Aug 2005 15:11:47 -0600 Subject: update on "Weird OS9 runtime problem->losing database connection" In-Reply-To: <34D869F0-B5DF-4D76-9239-6BEB06805D58@pandora.be> References: <34D869F0-B5DF-4D76-9239-6BEB06805D58@pandora.be> Message-ID: <2A85E78B-E5D4-4935-A579-A6AFE2B73F92@cableone.net> Another thought I had, and maybe this is the obvious, but have you double checked to make sure all your variables are declared where they need to be? You mentioned that the code that connects to the database and the code that retrieves data are in separate locations. So do you connect to the database and then save the connection ID into a global variable? And is that global declared in all your scripts that use it? I know I may be grasping at straws here. And it seems weird that everything would work on all other platforms... I'm kind of out of ideas at this point. Sorry. Chris On Aug 1, 2005, at 2:26 PM, Ton Kuypers wrote: > Strangeeeeeeeee... > > I now have copied all scripts used to connect to a database and > retrieve some information into one window. They are all started > when needed but then ik seems to work. > The only thing now is that it takes WAY TO LONG to access the > database, because when doing it like this, I need to open a > connection to the database for each call... > > Keep them suggestions coming, as it looks I will be here all night > long :-((( > > Ton > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From tkuypers at pandora.be Mon Aug 1 17:15:52 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Mon, 1 Aug 2005 23:15:52 +0200 Subject: update on "Weird OS9 runtime problem->losing database connection" In-Reply-To: <2A85E78B-E5D4-4935-A579-A6AFE2B73F92@cableone.net> References: <34D869F0-B5DF-4D76-9239-6BEB06805D58@pandora.be> <2A85E78B-E5D4-4935-A579-A6AFE2B73F92@cableone.net> Message-ID: I store the connection ID into a property, but tried a global as well... same result... I guess it has to do something with the runtime engine for OS9, I just can't image what else, because indeed it works fine for the other platforms. Thanks anyway. On 1-aug-05, at 23:11, Chris Sheffield wrote: > Another thought I had, and maybe this is the obvious, but have you > double checked to make sure all your variables are declared where > they need to be? You mentioned that the code that connects to the > database and the code that retrieves data are in separate > locations. So do you connect to the database and then save the > connection ID into a global variable? And is that global declared > in all your scripts that use it? I know I may be grasping at > straws here. And it seems weird that everything would work on all > other platforms... > > I'm kind of out of ideas at this point. Sorry. > > Chris > > > On Aug 1, 2005, at 2:26 PM, Ton Kuypers wrote: > > >> Strangeeeeeeeee... >> >> I now have copied all scripts used to connect to a database and >> retrieve some information into one window. They are all started >> when needed but then ik seems to work. >> The only thing now is that it takes WAY TO LONG to access the >> database, because when doing it like this, I need to open a >> connection to the database for each call... >> >> Keep them suggestions coming, as it looks I will be here all night >> long :-((( >> >> Ton >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > ------------------------------------------ > Chris Sheffield > Read Naturally > The Fluency Company > http://www.readnaturally.com > ------------------------------------------ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From bill at bluewatermaritime.com Mon Aug 1 17:29:29 2005 From: bill at bluewatermaritime.com (Bill) Date: Mon, 01 Aug 2005 17:29:29 -0400 Subject: ANN: New page in test. In-Reply-To: Message-ID: Is it also easy to set-up an RSS feed for this combination (wordpress/Gallery2)? I like how plog http://www.plogworld.net/ lets you easily put images up. It is also PHP/MySQL and very simple to load. It also has RSS feed. On 8/1/05 4:34 PM, "Stephen Barncard" wrote: > to butt in here... > > I've found that Gallery2 is by far the best way to post and organize > photos online > > and the latest Wordpress is a very easy blog/CMS to set up and use. > > both are PHP/MySQL/ open source donationware. > > a killer combination that can be set up in hours. > > sqb > >> Your page works fine but Manila cost $1000! Why not use plog or some other >> blogging tool that is not so expensive? I am looking for a very simple >> blogging tool, easy to post too with photos, easy to set-up RSS and runs on >> Linux. >> >> What is your advice? >> >> Bill >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- 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 stephenREVOLUTION at barncard.com Mon Aug 1 18:02:19 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 1 Aug 2005 15:02:19 -0700 Subject: simple custom property question In-Reply-To: References: Message-ID: I've been experimenting successfully with obtaining all properties of an object and storing them in a custom property, then later recreating the object from the property on the fly. I would imagine it gets more complicated with groups - I haven't done this yet - but then the whole group could be stored in a custom property set! A group would also have to have other properties included besides the built in ones, such as scripts and positions of the objects contained within the group. One could probably store these as properties of the group itself. The group would be the 'first out' for parsing, and other params needed could be pulled from it. Groups within groups would necessitate some recursive code, and more complexity. But that is often rare unless one wants to deconstruct and reconstruct a complete stack in this manner!! But Ken is totally right - 'copy group' is a lot easier! sqb >Otherwise, you can't really store a true group object inside a custom >property AFAIK - you could store the binary of a stack with one card that >only had your group on it, or you could store the specifications of all the >objects that make up the group and then build it from scratch each time >based on the specifications for each object. >But personally, I'd suggest the "copy group" approach... >Ken Ray From oaknorton at gmail.com Mon Aug 1 18:17:30 2005 From: oaknorton at gmail.com (Oak Norton) Date: Mon, 1 Aug 2005 16:17:30 -0600 Subject: font embedding Message-ID: Is it possible to embed a true type font inside a revolution application and not give end users access to it? Thanks, Oak From oaknorton at gmail.com Mon Aug 1 18:18:45 2005 From: oaknorton at gmail.com (Oak Norton) Date: Mon, 1 Aug 2005 16:18:45 -0600 Subject: resolution Message-ID: If I have a program that will have a graphical interface, what's the best way to handle multiple resolutions? Build the program at a high resolution and then just let the machine scale it down? Or build an interface for multiple set resolutions and then let the program detect and use the proper set of resolution-specific graphics? Thanks, Oak From ambassador at fourthworld.com Mon Aug 1 18:52:26 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 01 Aug 2005 15:52:26 -0700 Subject: simple custom property question In-Reply-To: References: Message-ID: <42EEA7AA.8050805@fourthworld.com> Stephen Barncard wrote: > But Ken is totally right - 'copy group' is a lot easier! And lightning fast. I have some complex dynamic layouts in which I found it simpler to have the UI built on the fly from copied groups than to make them all by hand -- never notice the difference, with a dozen groups copied in just a few milliseconds. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From scott at tactilemedia.com Mon Aug 1 18:54:17 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 01 Aug 2005 15:54:17 -0700 Subject: [OT] More Amusing Error Dialogs Message-ID: Here's one from Photoshop: "Could not stroke the layer because there is nothing to stroke." :-) Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From bann at sunncomm.com Mon Aug 1 19:04:47 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Mon, 1 Aug 2005 16:04:47 -0700 Subject: please help with "on playStopped" Message-ID: Hello everyone, I have a list of songs (scrolling list field "list"): I put this script so when user select a song, then start the player on selectionchanged set the fileName of player "myPlayer" to the selectedtext of field "list" start player "myPlayer" end selectionchanged I put this script into the player object "myPlayer" because I want the next songs continue to play: on PlayStopped local thisLine put the hilitedLines of field "list" into thisLine --current line set the hilitedLines of field "list" to (thisLine+1) --next line set the fileName of player "myPlayer" to the selectedtext of field "list" start player "myPlayer" end PlayStopped For some reason, it does not work right. What it does is playing the first song. After the first song done, it selects the second song (no playing), then selects the third song and plays. I open the property of player object and see in the source shows "the second song" Could someone please help? The code looks right to me but I don't know if I am missing anything. Thank you From alex at tweedly.net Mon Aug 1 19:05:41 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 02 Aug 2005 00:05:41 +0100 Subject: [OT] Software Carpentry Message-ID: <42EEAAC5.4000908@tweedly.net> Actually, I don't really think it's off-topic - but it's a very general software topic, rather than Rev or xtalk or ... There's an interesting set of course notes on programming for scientists and engineers (non-CS majors) at http://www.third-bit.com/swc/web/index.html Some of it is language or environment specific - but a large part of it isn't. (Especially the first and last parts) And much of it is interesting, amusing or infuriating - all the hallmarks of a good read .... I especially liked his "rule" at the end - highlights for me were: * A week of hard work can sometimes save you an hour of thought. * The deadline isn't when you're supposed to finish; the deadline is when it starts to be late. * Never debug standing up. * Tools are amplifiers: they allow good programmers to be better, and bad ones to be worse. -- Alex Tweedly http://www.tweedly.net -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From pixelbird at interisland.net Mon Aug 1 20:47:01 2005 From: pixelbird at interisland.net (Ken Norris) Date: Mon, 1 Aug 2005 17:47:01 -0700 Subject: global problems In-Reply-To: <20050801194657.16C6E825579@mail.runrev.com> References: <20050801194657.16C6E825579@mail.runrev.com> Message-ID: <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> Hi Mark, > Date: Mon, 1 Aug 2005 11:00:47 -0700 > From: Mark Wieder > Subject: Re: global problems Just a little note from"the other" Ken (or one of them) -- > Hmmm... "delete global"... you're right - I use globals so > infrequently that it wouldn't have occurred to me that I would have to > delete something that didn't exist. That's pretty screwy, IMO. I don't > think there's anything else in xtalk that acts that way. There is a reason. > Constants > certainly don't. Well, why would they? They're opposite things to variables. > If the compiler enforced reference counting when > compiling that would take care of this. Not a good idea _if_ you want to retain the variable across your projects during runtime. > > Yet another reason to avoid the Dreaded Global. Globals are for what they say they are. A global declared during runtime _should_ be available in any open stack. Why would you want to get rid of it, i.e., that's what they're for. Unless you want to do a one-time setup to initialize multiple stacks, then destroy it. Of course you could do the same thing with custom props, but it would be more awkward. I think all you have to do is be aware of what they are. The only 'Dreaded' thing I can see is that they are often misused/overused, i.e., the wrong tool. Like using an adjustable wrench when you _should_ use the correct size box wrench. IOW, it's a better idea to pass sensitive data in message or function params, or perhaps custom props, than globals, when possible, then use them locally at will. Nothing else gets affected. But if you wanted to set up a _system_ using multiple stacks all sharing same data, whether open or closed, then a global may well become your good and faithful friend. All the best, Ken N. From charles.hartman at conncoll.edu Mon Aug 1 20:53:22 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Mon, 1 Aug 2005 20:53:22 -0400 Subject: simple custom property question In-Reply-To: References: Message-ID: <2AE39A50-6516-4E38-928F-4797DC094F3D@conncoll.edu> OK, I believe you. But I'm missing something really simple about how to do it. (I haven't used this syntax before.) If the group is on one card in my main stack (with its Visible set false), and in the script of a button on the same card I open a substack and try to copy the group to it, I get an error. If I say copy myGroup to stack mySubstack the error is "can't find object"; if I say copy group myGrouop myGroup to stack mySubstack the error is "can't find background". What basic fact(s) am I forgetting? Thanks for any available hand-holding. The Doc write-up on groups and backgrounds is obviously relevant, but I can't parse an answer to this question out of it. Charlesd On Aug 1, 2005, at 12:06 PM, Ken Ray wrote: > How about just creating the group in an offscreen stack (or > substack) and > then doing "copy group to " every time you > want an > "instance" of the group? From briany at qldlearning.com Mon Aug 1 21:08:32 2005 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 1 Aug 2005 18:08:32 -0700 Subject: simple custom property question In-Reply-To: <2AE39A50-6516-4E38-928F-4797DC094F3D@conncoll.edu> References: <2AE39A50-6516-4E38-928F-4797DC094F3D@conncoll.edu> Message-ID: <9544cd3f67e4a4e13722a61d4fa39b79@qldlearning.com> Charles, I believe the problem you are having is that you are going to the substack and then using a short reference to the group, which of course does not exist yet in the substack. I think you want one of these methods. I don't know if one of them is preferable to the other, but hopefully illustrative of the issue. Basically, you either need to give the long name of the group object, or else point Revolution to what stack it should use for interpreting the short name. 1) Use a long name for the group open stack "mySubstack" copy group "myGroup" of card 1 of stack "myMainstack" to stack "mySubstack" 2) Use the defaultStack property open stack "mySubstack" set the defaultStack to "myMainStack" copy group "myGroup" to stack "mySubstack" > OK, I believe you. But I'm missing something really simple about how > to do it. (I haven't used this syntax before.) If the group is on one > card in my main stack (with its Visible set false), and in the script > of a button on the same card I open a substack and try to copy the > group to it, I get an error. If I say > > copy myGroup to stack mySubstack > > the error is "can't find object"; if I say > > copy group myGrouop myGroup to stack mySubstack > > the error is "can't find background". What basic fact(s) am I > forgetting? > > Thanks for any available hand-holding. The Doc write-up on groups and > backgrounds is obviously relevant, but I can't parse an answer to this > question out of it. > > Charlesd > > > On Aug 1, 2005, at 12:06 PM, Ken Ray wrote: > >> How about just creating the group in an offscreen stack (or substack) >> and >> then doing "copy group to " every time you >> want an >> "instance" of the group? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jhurley at infostations.com Mon Aug 1 21:12:33 2005 From: jhurley at infostations.com (Jim Hurley) Date: Mon, 1 Aug 2005 18:12:33 -0700 Subject: ANN Full justification In-Reply-To: <20050802003623.EC6A58255F7@mail.runrev.com> References: <20050802003623.EC6A58255F7@mail.runrev.com> Message-ID: I have a stack which appears to work with all (?) fonts and all (?) sizes. Haven't tested every font or every size. This stack presumes that the formatted width of the space character, with a point size of 3, will be 1 unit. (In some oddball fonts the point size needs to be set to a point size of 2.) I am working on a plugin to do the same. (I would like to drag an image or button from the plug-in to the field of interest to effect the justification, but I can't get to first base on Run Rev's dragdrop. Sure could use a few more examples in the Docs on this subject. Changing the justification for a *selected* field appears to work well in a plug-in.) To try it out: go stack url "http://home.infostations.net/jhurley/JustifyText3.rev" Jim P.S. No *multiple* fonts in a given field. From charles.hartman at conncoll.edu Mon Aug 1 21:15:01 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Mon, 1 Aug 2005 21:15:01 -0400 Subject: simple custom property question In-Reply-To: <9544cd3f67e4a4e13722a61d4fa39b79@qldlearning.com> References: <2AE39A50-6516-4E38-928F-4797DC094F3D@conncoll.edu> <9544cd3f67e4a4e13722a61d4fa39b79@qldlearning.com> Message-ID: Woops. Now _that's_ embarrassing. Thanks, Brian. Charles On Aug 1, 2005, at 9:08 PM, Brian Yennie wrote: > I believe the problem you are having is that you are going to the > substack and then using a short reference to the group, which of > course does not exist yet in the substack. > From briany at qldlearning.com Mon Aug 1 21:21:09 2005 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 1 Aug 2005 18:21:09 -0700 Subject: simple custom property question In-Reply-To: References: <2AE39A50-6516-4E38-928F-4797DC094F3D@conncoll.edu> <9544cd3f67e4a4e13722a61d4fa39b79@qldlearning.com> Message-ID: <30ec01e08fb4378e800c8dc2bea29a02@qldlearning.com> Bah. I think it actually is a bit of an unusual situation- when copying from one stack to another, how SHOULD you approach your object references? What stacks should be open and to where? The error message led me to what was wrong, but I'd bet this one fails for a lot of people at first pass. > Woops. Now _that's_ embarrassing. Thanks, Brian. > > Charles > > > On Aug 1, 2005, at 9:08 PM, Brian Yennie wrote: > >> I believe the problem you are having is that you are going to the >> substack and then using a short reference to the group, which of >> course does not exist yet in the substack. >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From michaell at unimelb.edu.au Mon Aug 1 21:27:31 2005 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Tue, 2 Aug 2005 11:27:31 +1000 Subject: global problems Message-ID: Actually, to delete a global from the message box you need: global ; delete global I guess it is the same as having to refer to the global (initialise it?) in a script before using it. At 7:36 PM -0500 1/8/05, use-revolution-request at lists.runrev.com wrote: >Now hold on a minute; I did remember a time a version back when I set >a global when I should have set a local, and the global wouldn't go >away, I couldn't recreate as a local, even though I used 'delete' >from the msg box. It insisted on being a global. I had to quite rev >to continue... > >sqb > > > >>On 8/1/05 2:28 AM, "Mark Wieder" wrote: >> >>> Global variables are persistent in memory, even when they've been >>> purged. Once you have declared a global variable, even if you have >>> deleted the line of code that declared it, you're stuck with it. >> >>Well, yes, but that's because you didn't explicitly delete it, which you can >>do with: >> >> delete global > >>Ken Ray > -- 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 mwieder at ahsoftware.net Mon Aug 1 21:35:30 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Aug 2005 18:35:30 -0700 Subject: global problems In-Reply-To: <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> Message-ID: <15528990786.20050801183530@ahsoftware.net> Ken- Monday, August 1, 2005, 5:47:01 PM, you wrote: >> Constants >> certainly don't. > Well, why would they? They're opposite things to variables. Right... well, the point I was trying to make is that there's *nothing* else that has this persistence. Maybe I chose a bad example. > Globals are for what they say they are. A global declared during > runtime _should_ be available in any open stack. Why would you want to > get rid of it, i.e., that's what they're for. Unless you want to do a > one-time setup to initialize multiple stacks, then destroy it. Of > course you could do the same thing with custom props, but it would be > more awkward. Maybe I'm missing something about globals here, but since you have to reference a global explicitly in a script in order to use it, I don't see why the global should persist if the stack that declared it is removed from memory. In other words, if I'm foolish enough to declare a "global x" in a piece of test code, why should that continue to haunt me when I dump my test stack and then open a completely different stack that happens to have a "local x" declaration in it? Am I missing something basic? -- -Mark Wieder mwieder at ahsoftware.net From chipp at chipp.com Mon Aug 1 21:46:33 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 01 Aug 2005 20:46:33 -0500 Subject: global problems In-Reply-To: <15528990786.20050801183530@ahsoftware.net> References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> Message-ID: <42EED079.4000701@chipp.com> Yep, I think you are missing something VERY basic. Globals are just that, they exist forever until you explicitly delete them. That's how they've always worked in all Xtalks I've ever used. You of course have a choice whether to use them or not. I, enjoy using them as I find they have many 'upsides' versus custom properties (I use them too). I especially like the fact they don't persist between application launches. Of course, if like others, you smartly name your globals with a 'g' prefix, you will never have the 'collision' problem you describe, as like-named locals can also be prefixed with 'l'. best, Chipp Mark Wieder wrote: > In other words, if I'm foolish enough to declare a "global x" in a > piece of test code, why should that continue to haunt me when I dump > my test stack and then open a completely different stack that happens > to have a "local x" declaration in it? Am I missing something basic? > From ambassador at fourthworld.com Mon Aug 1 21:49:22 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 01 Aug 2005 18:49:22 -0700 Subject: simple custom property question In-Reply-To: <30ec01e08fb4378e800c8dc2bea29a02@qldlearning.com> References: <2AE39A50-6516-4E38-928F-4797DC094F3D@conncoll.edu> <9544cd3f67e4a4e13722a61d4fa39b79@qldlearning.com> <30ec01e08fb4378e800c8dc2bea29a02@qldlearning.com> Message-ID: <42EED122.6070200@fourthworld.com> Brian Yennie wrote: > Bah. I think it actually is a bit of an unusual situation- when copying > from one stack to another, how SHOULD you approach your object > references? After a create, clone, or copy command the local variable "it" contains the long ID of the new object. So you can keep your focus on the stack containing your template group objects, referring to them by short name, and the long ID returned in "it" will help you if you need to do anything else in the newly copied group: on CopyObjects set the defaultStack to "MyTemplateObjects" copy grp "MyThang" to stack "Whatever" set the loc of it to 100,100 copy grp "MyOtherThang" to stack "Whatever" set the loc of it to 100,400 end CopyObjects -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From briany at qldlearning.com Mon Aug 1 21:56:19 2005 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 1 Aug 2005 18:56:19 -0700 Subject: global problems In-Reply-To: <15528990786.20050801183530@ahsoftware.net> References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> Message-ID: <81b3cd49a2df494c7f1b73dacbd4ee4a@qldlearning.com> Global properties do! For me, the rationale is simple: globals are the ONLY way to have data which is _not_ stack specific. As such, closing or modifying a stack should never delete global data. Perhaps what you're really looking for is a stack-level local variable? I'm thinking the seeming oddity of the situation has something to do with the loose restrictions on declarations in xTalk, and the runtime nature. In other languages, if you removed all references to a global and recompiled, of course it would disappear...? > Right... well, the point I was trying to make is that there's > *nothing* else that has this persistence. Maybe I chose a bad example. From kray at sonsothunder.com Mon Aug 1 22:25:57 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 01 Aug 2005 21:25:57 -0500 Subject: MySQL Connection error In-Reply-To: Message-ID: On 8/1/05 3:25 PM, "Alan Golub" wrote: > On 8/1/05 4:00 PM, "Ken Ray" wrote: > >> Yes, we ran into this just recently. You need to change the password that is >> stored in the DB to the "old" (pre-4.1) format for compatiblity with >> everybody. This is the syntax at the mysql prompt (using "tempUser" as the >> user name, "localhost" as the host, and "mypass" for the password): >> >> set password for "tempUser"@"localhost"=OLD_PASSWORD("mypass"); > > I'll need to wait until tonight to run this solution from home, but I just > want to make sure I 'get it.' > > Ok, so for each user accessing the 4.1 or later database, changing/setting > the password via the OLD_PASSWORD() function stores the password in a manner > compliant with post-4.0 versions of the server, thus allowing seamless > (hopefully) access to the db from Rev? Yup! You got it! > Thanks, Ken! No problem... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From sarahr at genesearch.com.au Mon Aug 1 22:39:55 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 2 Aug 2005 12:39:55 +1000 Subject: Weird OS9 runtime problem->losing database connection In-Reply-To: References: <407C2FD9-3535-42E8-A679-99C3C7B9D4F9@mangomultimedia.com> Message-ID: <6919FD72-E856-4E4D-8D0B-D1994B02866E@genesearch.com.au> Is the MySQL external in use? What happens if you do something like "answer the externals of this stack"? Maybe the external is allocated to a different stack and that stack needs to be put into the message path with "start using". Or do you need to explicitly set the externals of your mainStack? No solution, but some ideas for you to try, Sarah On 02/08/2005, at 6:23 AM, Ton Kuypers wrote: > Yep, it is there.. And so is the Valentia external. > I've even tried replacing the mySQL external from 2.6 by the one > supplied with version 2.5 or 2.2... same error, no result :( > > > On 1-aug-05, at 22:20, Trevor DeVore wrote: > > >> On Aug 1, 2005, at 12:04 PM, Ton Kuypers wrote: >> >> >> >>> What's going on, what am I missing here? >>> >>> I've created a database frontend which needs to run on Windows, >>> 2000 WIndows XP, Mac OS9 and Mac OS-X. >>> All run perfect except the Mac OS9 version... >>> >>> >> >> I haven't used MySQL with OS 9 but it is probably an external issue. >> >> When you build the standalone is the MySQL Library PPC in the >> standalone folder? >> >> >> -- >> Trevor DeVore >> Blue Mango Multimedia >> trevor at mangomultimedia.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From sarahr at genesearch.com.au Mon Aug 1 22:45:43 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 2 Aug 2005 12:45:43 +1000 Subject: Spotlight indexing: feature request proposal In-Reply-To: <811344C4-0A97-47FE-BBFB-A2DCEB1D3045@openpartnership.net> References: <811344C4-0A97-47FE-BBFB-A2DCEB1D3045@openpartnership.net> Message-ID: <96CD5898-670D-40AA-9796-77D6BFDB883C@genesearch.com.au> > I am looking for ways to add metadata to external files using > Spotlight - video files in particular from within Revolution. I > think it would be very useful if the stack indexing suggestions was > extended to standard Apple file formats or to any file format with > an existing system level spotlight metadata plugin (you'd need to > know or parse the plist structure). > > In the meantime I'm looking to use AppleScript or the command line > tools - but not got anything working yet - any ideas? > If you use "Get Info", on a file, you will see a section at the top called "Spotlight comments". Anything typed into this box gets added to the Spotlight index. You can edit this text using AppleScript, here's an example. tell application "Finder" set tFile to choose file set the comment of file tFile to "Index me!" end tell HTH, Sarah From charles.hartman at conncoll.edu Mon Aug 1 23:03:42 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Mon, 1 Aug 2005 23:03:42 -0400 Subject: simple custom property question In-Reply-To: <30ec01e08fb4378e800c8dc2bea29a02@qldlearning.com> References: <2AE39A50-6516-4E38-928F-4797DC094F3D@conncoll.edu> <9544cd3f67e4a4e13722a61d4fa39b79@qldlearning.com> <30ec01e08fb4378e800c8dc2bea29a02@qldlearning.com> Message-ID: <81B4685B-AAEA-4EF5-B365-3B960ABE6E63@conncoll.edu> One more question (for now!) about this operation: how do I get rid of it? In testing, I've opened the substack half a dozen times -- and there are half a dozen copies of the group in the substack. Obviously I've got to dump 'em somehow (in a script when the stack closes?), but how? They're there under the original name, from the main stack -- if I delete the group, will it get deleted in the main stack too? Confused! Charles On Aug 1, 2005, at 9:21 PM, Brian Yennie wrote: > Bah. I think it actually is a bit of an unusual situation- when > copying from one stack to another, how SHOULD you approach your > object references? What stacks should be open and to where? > > The error message led me to what was wrong, but I'd bet this one > fails for a lot of people at first pass. > > >> Woops. Now _that's_ embarrassing. Thanks, Brian. >> >> Charles >> >> >> On Aug 1, 2005, at 9:08 PM, Brian Yennie wrote: >> >> >>> I believe the problem you are having is that you are going to the >>> substack and then using a short reference to the group, which of >>> course does not exist yet in the substack. >>> >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Mon Aug 1 23:12:44 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 01 Aug 2005 22:12:44 -0500 Subject: simple custom property question In-Reply-To: <81B4685B-AAEA-4EF5-B365-3B960ABE6E63@conncoll.edu> Message-ID: On 8/1/05 10:03 PM, "Charles Hartman" wrote: > One more question (for now!) about this operation: how do I get rid > of it? In testing, I've opened the substack half a dozen times -- and > there are half a dozen copies of the group in the substack. Obviously > I've got to dump 'em somehow (in a script when the stack closes?), > but how? They're there under the original name, from the main stack > -- if I delete the group, will it get deleted in the main stack too? No, those are copies... you just need to be specific, as in: delete group "MyGroup" of stack "MySubStack" If you just say: delete group "MyGroup" it isn't specific enough and the interpreter will try to find the group "MyGroup" on the topstack, which means that if your main stack *is* the topstack, you end up deleting the "original". If your substack is the topstack, it will delete it from the substack. Better to make in non-ambiguous and specify the full path to the group. BTW:, I'd recommend renaming the groups as soon as they are copied. One of the nice things is that the "it" variable contains the long ID to the newly created or copied group. So you can do this: copy group "MyTemplateGroup" of stack "MyMainStack" to stack "mySubStack" set the name of it to "Copy 1" copy group "MyTemplateGroup" of stack "MyMainStack" to stack "mySubStack" set the name of it to "Copy 2" So you'd have two copies of the group on the substack, one neamed Copy 1 and the other named Copy 2. HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From asg618 at mac.com Mon Aug 1 23:52:23 2005 From: asg618 at mac.com (Alan Golub) Date: Mon, 01 Aug 2005 23:52:23 -0400 Subject: MySQL Connection - Problem Solved + Additional Info In-Reply-To: Message-ID: Ken's solution worked like a charm and I'm back to work! For those interested, I did some research on the background of this problem, and the explanation is provided in the MySQL online manual, starting here: http://dev.mysql.com/doc/mysql/en/password-hashing.html With explanation of the workarounds here: http://dev.mysql.com/doc/mysql/en/old-client.html One potential problem pointed out is that OLD_PASSWORD() may one day be deprecated. Hopefully by then most affected third-party clients, like Rev, will have upgraded to a client library that supports the new authentication protocol. Alan Golub Golub & Isabel, P.C. On 8/1/05 10:25 PM, "Ken Ray" wrote: > On 8/1/05 3:25 PM, "Alan Golub" wrote: > >> On 8/1/05 4:00 PM, "Ken Ray" wrote: >> >>> Yes, we ran into this just recently. You need to change the password that is >>> stored in the DB to the "old" (pre-4.1) format for compatiblity with >>> everybody. This is the syntax at the mysql prompt (using "tempUser" as the >>> user name, "localhost" as the host, and "mypass" for the password): >>> >>> set password for "tempUser"@"localhost"=OLD_PASSWORD("mypass"); >> >> I'll need to wait until tonight to run this solution from home, but I just >> want to make sure I 'get it.' >> >> Ok, so for each user accessing the 4.1 or later database, changing/setting >> the password via the OLD_PASSWORD() function stores the password in a manner >> compliant with post-4.0 versions of the server, thus allowing seamless >> (hopefully) access to the db from Rev? > > Yup! You got it! > >> Thanks, Ken! > > No problem... > > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Tue Aug 2 00:23:15 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 01 Aug 2005 21:23:15 -0700 Subject: While waiting for XP support.... Message-ID: <42EEF533.2050507@fourthworld.com> While we're still waiting for Rev to give the same level of support for XP niceties they've given to OS X, here's a glimpse of what's coming in 2006 (or 2007 or 2008 or whenever it actually ships): a whole site chock full o' articles and screen shots for Windows Vista: Good news for us developers: its appearance is very much like a slightly less candy-colored variant of OS X, so any graphic treatments in your UIs will look much more at home on both platforms.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From b.xavier at internet.lu Tue Aug 2 00:57:53 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 2 Aug 2005 06:57:53 +0200 Subject: While waiting for XP support.... In-Reply-To: <42EEF533.2050507@fourthworld.com> Message-ID: <20050802044555.9B38482559B@mail.runrev.com> true but... many pc users dont like the extra gui candy because it slows down things - or they go for a more compact gui theme... The simple Win2000 gui works great and it is as simple as it gets... Ugly? well maybe but not uglier than NeXTStep where it came from... I just entered a BZ for the missing menu line below the menu when you create a menu in windows. It's not just the line, but also the buttons placement too. The problem is that after you've created your stack in xp or win2K gui, you have to revisit and change all the controls that are too close to each other, they look ok in win2K but not in xp, same with tab-buttons across win and osx for example. One solution would be to have the appearance manager in Rev do it's job the way it's supposed to be... wouldn't that seem like rev's solution to smooth GUI design across platforms in the first place? I just have a feeling that as Moft progresses, it's OS is going to be ever more locked with $$ or DRM and security holes (MS just still doesn't get it)... So this might boost the acceptance of linux interfaces... What then with the gui? GUI Themes are a weak spot imoho in rev if this is not respected from within... Open a stack in a themed OS and it probably wont grab the GUI patterns or sizes... Or will it? just my 2 cents... I dont mean to be negative, just viewing the future through a dubious eye ;) For one, i can see right now that my Windows program's scrollbars are just not the same as revs windows... 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: Tuesday, August 02, 2005 06:23 > To: How to use Revolution > Subject: While waiting for XP support.... > > While we're still waiting for Rev to give the same level of > support for XP niceties they've given to OS X, here's a > glimpse of what's coming in > 2006 (or 2007 or 2008 or whenever it actually ships): a > whole site chock full o' articles and screen shots for Windows Vista: > > > > Good news for us developers: its appearance is very much like > a slightly less candy-colored variant of OS X, so any graphic > treatments in your UIs will look much more at home on both > platforms.... > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Tue Aug 2 01:03:26 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 01 Aug 2005 22:03:26 -0700 Subject: While waiting for XP support.... In-Reply-To: <20050802044555.9B38482559B@mail.runrev.com> References: <20050802044555.9B38482559B@mail.runrev.com> Message-ID: <42EEFE9E.1000203@fourthworld.com> MisterX wrote: > The simple Win2000 gui works great and it is as simple as it > gets... Ugly? well maybe but not uglier than NeXTStep where it > came from... Win2K came from NeXTStep? > I just entered a BZ for the missing menu line below the menu > when you create a menu in windows. It's not just the line, > but also the buttons placement too. > > The problem is that after you've created your stack in xp > or win2K gui, you have to revisit and change all the controls > that are too close to each other, they look ok in win2K but not > in xp, same with tab-buttons across win and osx for example. What's the BZ#? I'll vote for it. I don't mind seeing OS X-specific additions as long as Apple comes through on their end and co-markets or does something else to return the favor, but Win-specific things are at least as critical; in terms of marketshare, about an order of magnitude more so. > What then with the gui? GUI Themes are a weak spot imoho in > rev if this is not respected from within... Open a stack in > a themed OS and it probably wont grab the GUI patterns or > sizes... Or will it? In a chat several weeks ago Kevin mentioned some plans to do cool stuff with Vista. That's nifty and all, but won't do a thing for my sales for more than a year. I sure would like to see Windows given the respect it deserves in terms of appearance details.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From b.xavier at internet.lu Tue Aug 2 01:26:35 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 2 Aug 2005 07:26:35 +0200 Subject: While waiting for XP support.... In-Reply-To: <42EEFE9E.1000203@fourthworld.com> Message-ID: <20050802051436.D1273825382@mail.runrev.com> Hi Richard, Yep, Microsoft licensed the NS gui from Next for Windows 95... If you wondered where that familiar look came from ;) The BZ is 3039... Thanks for the vote! 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: Tuesday, August 02, 2005 07:03 > To: How to use Revolution > Subject: Re: While waiting for XP support.... > > MisterX wrote: > > The simple Win2000 gui works great and it is as simple as > it gets... > > Ugly? well maybe but not uglier than NeXTStep where it came from... > > Win2K came from NeXTStep? > > > I just entered a BZ for the missing menu line below the > menu when you > > create a menu in windows. It's not just the line, but also > the buttons > > placement too. > > > > The problem is that after you've created your stack in xp or win2K > > gui, you have to revisit and change all the controls that are too > > close to each other, they look ok in win2K but not in xp, same with > > tab-buttons across win and osx for example. > > What's the BZ#? I'll vote for it. I don't mind seeing OS > X-specific additions as long as Apple comes through on their > end and co-markets or does something else to return the > favor, but Win-specific things are at least as critical; in > terms of marketshare, about an order of magnitude more so. > > > What then with the gui? GUI Themes are a weak spot imoho in rev if > > this is not respected from within... Open a stack in a > themed OS and > > it probably wont grab the GUI patterns or sizes... Or will it? > > In a chat several weeks ago Kevin mentioned some plans to do > cool stuff > with Vista. That's nifty and all, but won't do a thing for > my sales > for more than a year. > > I sure would like to see Windows given the respect it > deserves in terms of appearance details.... > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Tue Aug 2 02:37:43 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Aug 2005 23:37:43 -0700 Subject: global problems In-Reply-To: <81b3cd49a2df494c7f1b73dacbd4ee4a@qldlearning.com> References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <81b3cd49a2df494c7f1b73dacbd4ee4a@qldlearning.com> Message-ID: <19947124571.20050801233743@ahsoftware.net> Brian- Monday, August 1, 2005, 6:56:19 PM, you wrote: > For me, the rationale is simple: globals are the ONLY way to have data > which is _not_ stack specific. As such, closing or modifying a stack > should never delete global data. I still don't get this. Can you give me an example of something you'd declare as a global and *want* it to stick around when the stack that declared it is closed? > Perhaps what you're really looking for is a stack-level local variable? no... I declare globals sometimes thinking I'll need them for cross-stack variables, then usually rethink things and can do without them. But then they're still in memory causing trouble. > I'm thinking the seeming oddity of the situation has something to do > with the loose restrictions on declarations in xTalk, and the runtime > nature. In other languages, if you removed all references to a global > and recompiled, of course it would disappear...? ...which is what I expected to happen here... my bad. Here's a problem scenario as a gedanken-experiment: Open stack A stack A has the global gXYZ *and* puts a value into gXYZ finish working with stack A, close and remove from memory Open stack B stack B also declared global gXYZ now stack B is open and has a value in gXYZ but never initializes it exit the IDE Relaunch the IDE Open stack B now stack B has no value in gXYZ and some functions fail that rely on gXYZ -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Aug 2 02:42:59 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Aug 2005 23:42:59 -0700 Subject: global problems In-Reply-To: <42EED079.4000701@chipp.com> References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> Message-ID: <3547440295.20050801234259@ahsoftware.net> Chipp- Monday, August 1, 2005, 6:46:33 PM, you wrote: > Yep, I think you are missing something VERY basic. > Globals are just that, they exist forever until you explicitly delete > them. That's how they've always worked in all Xtalks I've ever used. > You of course have a choice whether to use them or not. I, enjoy using > them as I find they have many 'upsides' versus custom properties (I use > them too). I especially like the fact they don't persist between > application launches. And I still can't imagine a scenario in which you would want a global left over from a previous stack *only for that session*. I'll warrant that I may still be missing something VERY basic, but it still makes no sense to me. > Of course, if like others, you smartly name your globals with a 'g' > prefix, you will never have the 'collision' problem you describe, as > like-named locals can also be prefixed with 'l'. ...normally I do use a 'g' prefix, but then my use of globals is almost always an act of desperation or as something quick and dirty and later refactoring usually eliminates them. -- -Mark Wieder mwieder at ahsoftware.net From pixelbird at interisland.net Tue Aug 2 02:47:07 2005 From: pixelbird at interisland.net (Ken Norris) Date: Mon, 1 Aug 2005 23:47:07 -0700 Subject: global problems In-Reply-To: <20050802045255.AB85D825677@mail.runrev.com> References: <20050802045255.AB85D825677@mail.runrev.com> Message-ID: <81a21efbae907587098a77f76c69747c@interisland.net> On Aug 1, 2005, at 9:52 PM, use-revolution-request at lists.runrev.com wrote: > Date: Mon, 1 Aug 2005 18:35:30 -0700 > From: Mark Wieder > Subject: Re: global problems > > Ken- > > Monday, August 1, 2005, 5:47:01 PM, you wrote: > (snip) > >> Globals are for what they say they are. A global declared during >> runtime _should_ be available in any open stack. Why would you want >> to >> get rid of it, i.e., that's what they're for. Unless you want to do a >> one-time setup to initialize multiple stacks, then destroy it. Of >> course you could do the same thing with custom props, but it would be >> more awkward. > > Maybe I'm missing something about globals here, but since you have to > reference a global explicitly in a script in order to use it, I don't > see why the global should persist if the stack that declared it is > removed from memory. Because you might have a _system_ of stacks which use the same global > > In other words, if I'm foolish enough to declare a "global x" in a > piece of test code, why should that continue to haunt me when I dump > my test stack and then open a completely different stack that happens > to have a "local x" declaration in it? Am I missing something basic? Maybe. It has to do with where the engine is. When you are developing, the Rev application is open. It has the MC engine, and it retains the globals. But if you develop a system of stacks for a built application, similarly, your main stack has the engine and retains the globals, which is normally precisely what you want. That's why you declare globals. IOW, any script running under the same engine, regardless of which stack, can declare and operate on the same globals until the application is closed. AFAIK, all xTalks work this way. For example, if you develop an built application GUI front end for an integrated system of stacks, you may very well want to change its settings, yet be consistent throughout all the stacks in that application. One easy way to do that is to declare globals. When you close the app, i.e., the main stack, which has the engine, closes, and "poof", the globals are gone. Really gone. Opening Rev or any other Rev-built application will not respond to globals declared in the application just closed in this example. But, to reiterate for clarity, if you are _developing_ in Rev, it has the engine, your 'Main' stack doesn't (until you build). Therefore, globals you declare while Rev is running will remain, can be called from _any_ script in _any_ stack running in the IDE. At the risk of repeating myself, again, you just need to be aware of how it works, that's all. Whatever Rev thing is running retains the globals declared within it until it is closed. I hope that sheds a little light on it. All the best, Ken N. From xbury.cs at clearstream.com Tue Aug 2 02:48:56 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 2 Aug 2005 08:48:56 +0200 Subject: global problems In-Reply-To: <19947124571.20050801233743@ahsoftware.net> Message-ID: Mark, globals are best used as "environment" variables. Not as persistent storage. Your example shows that if stack b opens and fails to work with a global, you didn't set a pre-requisite (nor a check) for xyz's conformity... that's asking for trouble. If stack B had this check, it could then as stack A to fill in xyz to later use it. In another case, if you close stack A and delete xyz without cheking if another stack could still use it, implies a fault in the logic of the program... So one solution in this case, would be to tell stack B to look into a custom property which stack A could preset for stack B before close. Seems like a shoot-yourself-in-your-own foot script to me ;) > no... I declare globals sometimes thinking I'll need them for > cross-stack variables, then usually rethink things and can do without > them. But then they're still in memory causing trouble. I've used dozens of globals in XOS for 15 years without ONE problem... creating them on the fly, closing stacks, etc... but one thing i do always is to check first for existence and validity... with that, you've got yourself a lifesaver for every occasion... And if i open a stack that requires a specific global, it checks first to make sure that it is properly initialized or that it knows how to initialize it or to call the stack that will. programming is a process... cheers Xavier use-revolution-bounces at lists.runrev.com wrote on 02/08/2005 08:37:43: > Brian- > > Monday, August 1, 2005, 6:56:19 PM, you wrote: > > > For me, the rationale is simple: globals are the ONLY way to have data > > which is _not_ stack specific. As such, closing or modifying a stack > > should never delete global data. > > I still don't get this. Can you give me an example of something you'd > declare as a global and *want* it to stick around when the stack that > declared it is closed? > > > Perhaps what you're really looking for is a stack-level local variable? > > no... I declare globals sometimes thinking I'll need them for > cross-stack variables, then usually rethink things and can do without > them. But then they're still in memory causing trouble. > > > I'm thinking the seeming oddity of the situation has something to do > > with the loose restrictions on declarations in xTalk, and the runtime > > nature. In other languages, if you removed all references to a global > > and recompiled, of course it would disappear...? > > ...which is what I expected to happen here... my bad. > > Here's a problem scenario as a gedanken-experiment: > > Open stack A > stack A has the global gXYZ > *and* puts a value into gXYZ > finish working with stack A, close and remove from memory > > Open stack B > stack B also declared global gXYZ > now stack B is open and has a value in gXYZ > but never initializes it > exit the IDE > > Relaunch the IDE > Open stack B > now stack B has no value in gXYZ > and some functions fail that rely on gXYZ > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- 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 Tue Aug 2 03:07:24 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 02 Aug 2005 02:07:24 -0500 Subject: global problems In-Reply-To: <3547440295.20050801234259@ahsoftware.net> References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> <3547440295.20050801234259@ahsoftware.net> Message-ID: <42EF1BAC.1040004@chipp.com> Sure, here's a good example of exactly what you're talking about. I have a splashscreen stack which manages updates via my own MagicCarpet Auto-update application architecture. It creates a global from a download URL prefs file for the domain where the stack and all the plugins reside, then downloads the main stack updates, etc. then closes itself. The 'main' stack now uses the same global to download the plugin stacks. Since there is no reference from to the splashscreen stack (it's closed) the global works just great! Locals can have problems too. If you use script locals (locals declared outside a handler at the script level), and edit the script, the local will disappear the next time the script is run. I have a 'checkLocals' handler in my scripts for just that occasion. If it sees locals aren't declared, it reinitializes them. Though, I never expect to see a problem in runtime, it sure helps debugging during development. Mark, I believe it's a matter of programming style. Many of us that use globals, understand their benefits and work with them to that advantage. IMO, your arguments against them seem to be primarily style-oriented and probably a function of your experience and prevailing disposition to more strictly typed languages. For those of us who've been programming Xtalks for umpteen years, they're second nature. best, Chipp Mark Wieder wrote: > And I still can't imagine a scenario in which you would want a global > left over from a previous stack *only for that session*. I'll warrant > that I may still be missing something VERY basic, but it still makes > no sense to me. From joel.guillod at net2000.ch Tue Aug 2 03:20:33 2005 From: joel.guillod at net2000.ch (Joel Guillod) Date: Tue, 2 Aug 2005 09:20:33 +0200 Subject: Revolution filepath to Applescript file: how to? In-Reply-To: <20050802045256.309F8825682@mail.runrev.com> References: <20050802045256.309F8825682@mail.runrev.com> Message-ID: <4E7A7121-0709-463C-BB3B-2AECE5670F0C@net2000.ch> I am looking for a script to convert a filepath to an Applescript file statement. For example: "/Users/toto/Desktop/Image 6.png" => file "Image 6.png" in the folder "Desktop" in home My current version is as below but it does not deal with files outside the /Users directory. Who can help me? function Applescript_filepathFor pFile set the itemdel to "/" if offset($HOME,pFile) is 1 then if there is a file pFile then put "file" && q(last item of pFile) into r else put "folder" && q(last item of pFile) into r delete char 1 to len($HOME) of pFile repeat with i=the num of items in pFile -1 down to 2 -- 2 because first item is empty ("/..."). put " in the folder" && q(item i of pFile) after r end repeat return r && "in home" else throw "ERROR: I DONT KNOW HOW TO CONVERT:" && PARAMS() end Applescript_filepathFor Thanks, jg From psahores at easynet.fr Tue Aug 2 03:29:16 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Tue, 2 Aug 2005 09:29:16 +0200 Subject: Objet : [OT] Software Carpentry References: Message-ID: <7E73E34A-3F4E-4EDD-BFB6-1D273617BBC9@easynet.fr> Hello All, > Major advances in programming come when languages start offering > support for things the best programmers are doing anyway > For loops and if/then/else formalized what good Fortran programmers > were already doing > Objects formalized the way good C, Pascal, and Lisp programmers > managed their data structures and functions > Java deserves credit for bringing two previously-esoteric practices > into the mainstream > Garbage collection: the computer recycles memory as it needs to > Reflection: programs can inspect themselves at runtime > Reflection simplifies the construction of large software systems > Most big applications are now frameworks that load plug-in > components dynamically > A little extra effort? > ?but it forces programmers to really, truly modularize their code? > ?which also reduces maintenance and customization costs > Watching programs run is an essential part of the software > development process > Which parts of my code can be thrown away? > Which parts am I actually testing? > Which parts of their work are my colleagues actually testing? > Why is my program so slow? > Modern computer systems are so complex that it's practically > impossible to figure this out from first principles > So write the code, profile, and then start tuning Very elegant analysis, isn't it..., execept one detail, unfortunally, bad knowed by the author : SmallTalk and Hypercard have to get the credits he is giving to Java. Java is mainly getting its main design, features and caracteristics from inside the SQL paradigm... And even if SQL can be seen as the most powerfull specialised XTalk dedicated to databases querying, in about general programming tasks, SQL would'nt be usefull... Java try to be... XTalks (Metacard, Rev, Supercard,..) are, pratically, doing what the author expect to get from J2EE ;-) Best, -- pierre From ambassador at fourthworld.com Tue Aug 2 03:30:40 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 02 Aug 2005 00:30:40 -0700 Subject: global problems In-Reply-To: <81a21efbae907587098a77f76c69747c@interisland.net> References: <20050802045255.AB85D825677@mail.runrev.com> <81a21efbae907587098a77f76c69747c@interisland.net> Message-ID: <42EF2120.9060003@fourthworld.com> Ken Norris wrote: > At the risk of repeating myself, again, you just need to be aware of how > it works, that's all. Whatever Rev thing is running retains the globals > declared within it until it is closed. This convention was established in 1987 by the inventors of the root dialect, HyperTalk. Given its longevity and consistent implementation among all xTalk dialects, it isn't likely to change. If it's causing problems in a specific situation you'll likely get to a solutution faster and with less effort by looking at other ways of solving that problem than to expect Transcript to change this basic behavior of global variables. As Chipp noted, one solution that's free is adopting naming conventions to minimize risk of overlapping names. Most of the books I've read on C, Pascal, and other languages encourage the use of a lower-case "g" to denote globals. They might have something there. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From xbury.cs at clearstream.com Tue Aug 2 03:38:36 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 2 Aug 2005 09:38:36 +0200 Subject: Objet : [OT] Software Carpentry In-Reply-To: <7E73E34A-3F4E-4EDD-BFB6-1D273617BBC9@easynet.fr> Message-ID: Nice Pierre > Java try to be... XTalks (Metacard, Rev, > Supercard,..) are, pratically, doing what the author expect to get > from J2EE ;-) Except for one small detail... threading... ;) XB ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From FlexibleLearning at aol.com Tue Aug 2 05:38:44 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Tue, 2 Aug 2005 05:38:44 EDT Subject: [alt] While waiting for XP support.... Message-ID: <1fa.db544c5.30209924@aol.com> For an alternative take on Vista (aka Longhorn, the upcoming Win OS) see http://babbleblog.tutv.co.uk/item/541 /H Richard wrote: While we're still waiting for Rev to give the same level of support for XP niceties they've given to OS X, here's a glimpse of what's coming in 2006 (or 2007 or 2008 or whenever it actually ships): a whole site chock full o' articles and screen shots for Windows Vista: Good news for us developers: its appearance is very much like a slightly less candy-colored variant of OS X, so any graphic treatments in your UIs will look much more at home on both platforms.... From tkuypers at pandora.be Tue Aug 2 06:54:38 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Tue, 2 Aug 2005 12:54:38 +0200 Subject: OS9 standalone builder problem Message-ID: <18FAF88C-1CF1-4FE2-BCE5-E7D4BEEE50B4@pandora.be> Last OS9 problem for this project (I hope...) I have a stack located on my desktop of my OS9 Mac with the name "OTS.REV" When I try to create a standalone, RR asks me to save the stack (and all substacks). When I click on OK I get the error "Can't save stack "OTS" due to an error. Can't open stack backup file. Check the file path, and that the filename is not to long." No problem on Mac OSX, only OS9 and I just can't figure out what goes wrong. I also cannot create the standalone on OS-X, because when I do this, the application won't properly launch when run on OS9 :-( It seems that there are a lot of bugs when developing in 2.6 on OS-X and then trying to deploy for OS9 using the 2.5 version of RR... Anyone any suggestions? Warm regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com From jbondy at sover.net Tue Aug 2 08:01:33 2005 From: jbondy at sover.net (Jon) Date: Tue, 02 Aug 2005 08:01:33 -0400 Subject: global problems In-Reply-To: <81b3cd49a2df494c7f1b73dacbd4ee4a@qldlearning.com> References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <81b3cd49a2df494c7f1b73dacbd4ee4a@qldlearning.com> Message-ID: <42EF609D.8040506@sover.net> "In other languages, if you removed all references to a global and recompiled, of course it would disappear...? " Exactly! This is SO counterintuitive, no matter how useful it might be I NEVER would have even considered that the language might behave in this way. Another issue for the Intro For Newbies? :) Jon Brian Yennie wrote: > Global properties do! > > For me, the rationale is simple: globals are the ONLY way to have data > which is _not_ stack specific. As such, closing or modifying a stack > should never delete global data. > > Perhaps what you're really looking for is a stack-level local variable? > > I'm thinking the seeming oddity of the situation has something to do > with the loose restrictions on declarations in xTalk, and the runtime > nature. In other languages, if you removed all references to a global > and recompiled, of course it would disappear...? > >> Right... well, the point I was trying to make is that there's >> *nothing* else that has this persistence. Maybe I chose a bad example. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From xbury.cs at clearstream.com Tue Aug 2 08:04:58 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 2 Aug 2005 14:04:58 +0200 Subject: global problems In-Reply-To: <42EF609D.8040506@sover.net> Message-ID: it's not different. The global is persistent until you delete it. So if you delete your global and rerun your script (as you would recompile in other langs), the global wont show up again. I thought i had demonstrated that with my script in the little mail following the question yesterday... cheers Xavier use-revolution-bounces at lists.runrev.com wrote on 02/08/2005 14:01:33: > "In other languages, if you removed all references to a global and > recompiled, of course it would disappear...? " > > Exactly! This is SO counterintuitive, no matter how useful it might be > I NEVER would have even considered that the language might behave in > this way. Another issue for the Intro For Newbies? > > :) > > Jon > > > Brian Yennie wrote: > > > Global properties do! > > > > For me, the rationale is simple: globals are the ONLY way to have data > > which is _not_ stack specific. As such, closing or modifying a stack > > should never delete global data. > > > > Perhaps what you're really looking for is a stack-level local variable? > > > > I'm thinking the seeming oddity of the situation has something to do > > with the loose restrictions on declarations in xTalk, and the runtime > > nature. In other languages, if you removed all references to a global > > and recompiled, of course it would disappear...? > > > >> Right... well, the point I was trying to make is that there's > >> *nothing* else that has this persistence. Maybe I chose a bad example. > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- 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 capellan2000 at yahoo.com Tue Aug 2 08:27:59 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Tue, 2 Aug 2005 05:27:59 -0700 (PDT) Subject: ANN Full justification In-Reply-To: <20050802045255.E2056825680@mail.runrev.com> Message-ID: <20050802122759.72602.qmail@web40509.mail.yahoo.com> Hi Jim, This handler works great! :-) I noticed that you included two justify buttons. In the second button, this line seems to hang my development environment: put char tNum-10 to tNum of tOrig into tChars Why does this happen? Thanks a lot for sharing this handler! :-) al on Mon, 1 Aug 2005 1 Jim Hurley wrote: > I have a stack which appears to work with all (?) > fonts and all (?) sizes. > Haven't tested every font or every size. > This stack presumes that the formatted width of the > space character, > with a point size of 3, will be 1 unit. (In some > oddball fonts the > point size needs to be set to a point size of 2.) > I am working on a plugin to do the same. Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From cmsheffield at gmail.com Mon Aug 1 17:07:08 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Mon, 1 Aug 2005 15:07:08 -0600 Subject: update on "Weird OS9 runtime problem->losing database connection" In-Reply-To: <34D869F0-B5DF-4D76-9239-6BEB06805D58@pandora.be> References: <34D869F0-B5DF-4D76-9239-6BEB06805D58@pandora.be> Message-ID: Another thought I had, and maybe this is the obvious, but have you double checked to make sure all your variables are declared where they need to be? You mentioned that the code that connects to the database and the code that retrieves data are in separate locations. So do you connect to the database and then save the connection ID into a global variable? And is that global declared in all your scripts that use it? I know I may be grasping at straws here. And it seems weird that everything would work on all other platforms... I'm kind of out of ideas at this point. Sorry. Chris On Aug 1, 2005, at 2:26 PM, Ton Kuypers wrote: > Strangeeeeeeeee... > > I now have copied all scripts used to connect to a database and > retrieve some information into one window. They are all started > when needed but then ik seems to work. > The only thing now is that it takes WAY TO LONG to access the > database, because when doing it like this, I need to open a > connection to the database for each call... > > Keep them suggestions coming, as it looks I will be here all night > long :-((( > > Ton > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From jacque at hyperactivesw.com Tue Aug 2 10:45:34 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Aug 2005 09:45:34 -0500 Subject: please help with "on playStopped" In-Reply-To: References: Message-ID: <42EF870E.7080702@hyperactivesw.com> Ban Nguyen wrote: > Hello everyone, > > > I have a list of songs (scrolling list field "list"): > > I put this script so when user select a song, then start the player > > on selectionchanged > set the fileName of player "myPlayer" to the selectedtext of field > "list" > start player "myPlayer" > end selectionchanged > > > I put this script into the player object "myPlayer" because I want the > next songs continue to play: > > on PlayStopped > local thisLine > put the hilitedLines of field "list" into thisLine --current line > set the hilitedLines of field "list" to (thisLine+1) --next line > set the fileName of player "myPlayer" to the selectedtext of field > "list" > start player "myPlayer" > end PlayStopped > > > > For some reason, it does not work right. What it does is playing the > first song. After the first song done, it selects the second song (no > playing), then selects the third song and plays. I open the property of > player object and see in the source shows "the second song" > > > Could someone please help? The code looks right to me but I don't know > if I am missing anything. Try putting a "lock messages" before you set the hilitedline in PlayStopped. I think setting the hilitedline is also causing a "selectionchanged" message to be sent, so the script changes the selection twice. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From david at openpartnership.net Tue Aug 2 10:54:11 2005 From: david at openpartnership.net (david bovill) Date: Tue, 2 Aug 2005 16:54:11 +0200 Subject: Spotlight indexing: feature request proposal In-Reply-To: <3B68887D-C186-445D-B6ED-2E9C1D925026@mangomultimedia.com> References: <811344C4-0A97-47FE-BBFB-A2DCEB1D3045@openpartnership.net> <3B68887D-C186-445D-B6ED-2E9C1D925026@mangomultimedia.com> Message-ID: Thanks - trying out your fab external now... On 1 Aug 2005, at 22:17, Trevor DeVore wrote: > You can also use the EnhancedQT external to set and get movie > annotations (qtSetMovieAnnotation and qtGetMovieAnnotation) but you > have to do a save as to save the movie after wards since Rev > doesn't allow you to open a QuickTime movie and then save it. So you mean use your "qtSave" function after editing? Also need to look into being able to author subtitle support for MPEG4 and Teletext for cable broadcast... any links appreciated. From david at openpartnership.net Tue Aug 2 10:56:26 2005 From: david at openpartnership.net (david bovill) Date: Tue, 2 Aug 2005 16:56:26 +0200 Subject: Turtle Graphics In-Reply-To: References: <20050801194657.2918582557A@mail.runrev.com> Message-ID: <788437C6-D123-4FE9-A853-375434A99DCC@openpartnership.net> > With that notation, I would have guessed you were a C developer :). Just copied the notation from the web - wish I could - don't have the patience! From david at openpartnership.net Tue Aug 2 11:00:58 2005 From: david at openpartnership.net (david bovill) Date: Tue, 2 Aug 2005 17:00:58 +0200 Subject: Using Rev as a (PGP) Package installer In-Reply-To: <42EF870E.7080702@hyperactivesw.com> References: <42EF870E.7080702@hyperactivesw.com> Message-ID: Never tried this, but have always wandered whether the ability to store binary data as a custom property could be used for a nice advanced easy binary package installation? What's the best way of providing a Rev based interface to make it easy to install packages such as openPGP? FTP and shell? From jacque at hyperactivesw.com Tue Aug 2 11:07:41 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Aug 2005 10:07:41 -0500 Subject: global problems In-Reply-To: <3547440295.20050801234259@ahsoftware.net> References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> <3547440295.20050801234259@ahsoftware.net> Message-ID: <42EF8C3D.2010207@hyperactivesw.com> Mark Wieder wrote: > And I still can't imagine a scenario in which you would want a global > left over from a previous stack *only for that session*. I'll warrant > that I may still be missing something VERY basic, but it still makes > no sense to me. Globals are necessary when one has a suite of stacks that must interact as a unit. One very common example is a "find" handler. Assume a number of data stacks, each a clone of the others. A handler asks what you want to find and puts that string into a global. The next time the user wants to find something, you can use the same string to allow a persistent search across many stacks. If you are using only a single stack then a global may not be necessary, since you could manage the variable within the stack itself. But if you are distributing your stacks with Player or for use within the IDE, you can't do that. You need a global. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Tue Aug 2 11:30:33 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Aug 2005 08:30:33 -0700 Subject: global problems In-Reply-To: <42EF1BAC.1040004@chipp.com> References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> <3547440295.20050801234259@ahsoftware.net> <42EF1BAC.1040004@chipp.com> Message-ID: <1731138467.20050802083033@ahsoftware.net> Chipp- Tuesday, August 2, 2005, 12:07:24 AM, you wrote: > I have a splashscreen stack which manages updates via my own MagicCarpet > Auto-update application architecture. It creates a global from a > download URL prefs file for the domain where the stack and all the > plugins reside, then downloads the main stack updates, etc. then closes > itself. The 'main' stack now uses the same global to download the plugin > stacks. Since there is no reference from to the splashscreen stack (it's > closed) the global works just great! Thanks. That does make sense to me, although I'm sure I would have taken a different approach to solving the problem. At any rate, that's what I was looking for. > Mark, I believe it's a matter of programming style. Many of us that use Point taken. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Aug 2 11:35:44 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Aug 2005 08:35:44 -0700 Subject: global problems In-Reply-To: References: Message-ID: <581449544.20050802083544@ahsoftware.net> xbury- Monday, August 1, 2005, 11:48:56 PM, you wrote: > Seems like a shoot-yourself-in-your-own foot script to me ;) It is indeed. I'm quite aware of how to get in trouble using globals . What I was looking for was an example of why semi-persistent globals (sticky only during the current session when the stack that initialized them is closed) are a Good Idea. -- -Mark Wieder mwieder at ahsoftware.net From bann at sunncomm.com Tue Aug 2 11:38:45 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Tue, 2 Aug 2005 08:38:45 -0700 Subject: please help with "on playStopped" Message-ID: Thanks Jacqueline. That solved the problem. --------------------------------------------------------------------- > Hello everyone, > > > I have a list of songs (scrolling list field "list"): > > I put this script so when user select a song, then start the player > > on selectionchanged > set the fileName of player "myPlayer" to the selectedtext of field > "list" > start player "myPlayer" > end selectionchanged > > > I put this script into the player object "myPlayer" because I want the > next songs continue to play: > > on PlayStopped > local thisLine > put the hilitedLines of field "list" into thisLine --current line > set the hilitedLines of field "list" to (thisLine+1) --next line > set the fileName of player "myPlayer" to the selectedtext of field > "list" > start player "myPlayer" > end PlayStopped > > > > For some reason, it does not work right. What it does is playing the > first song. After the first song done, it selects the second song (no > playing), then selects the third song and plays. I open the property of > player object and see in the source shows "the second song" > > > Could someone please help? The code looks right to me but I don't know > if I am missing anything. Try putting a "lock messages" before you set the hilitedline in PlayStopped. I think setting the hilitedline is also causing a "selectionchanged" message to be sent, so the script changes the selection twice. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Tue Aug 2 11:47:57 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 02 Aug 2005 10:47:57 -0500 Subject: Revolution filepath to Applescript file: how to? In-Reply-To: <4E7A7121-0709-463C-BB3B-2AECE5670F0C@net2000.ch> Message-ID: On 8/2/05 2:20 AM, "Joel Guillod" wrote: > I am looking for a script to convert a filepath to an Applescript > file statement. For example: > "/Users/toto/Desktop/Image 6.png" => file "Image 6.png" in the > folder "Desktop" in home Joel, have you considered converting to a ":"-delimited path for use with AppleScript? For example, your path above, if it was on a hard drive called "Main HD" would be: file "Main HD:Users:toto:Desktop:Image 6.png" and AppleScript can use that just as easily. If colon-delimited will work for you, let me know and I'll post my conversion routine. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From alex at tweedly.net Tue Aug 2 12:04:19 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 02 Aug 2005 17:04:19 +0100 Subject: Objet : [OT] Software Carpentry In-Reply-To: <7E73E34A-3F4E-4EDD-BFB6-1D273617BBC9@easynet.fr> References: <7E73E34A-3F4E-4EDD-BFB6-1D273617BBC9@easynet.fr> Message-ID: <42EF9983.4000908@tweedly.net> Pierre Sahores wrote: > Hello All, > >> Major advances in programming come when languages start offering >> support for things the best programmers are doing anyway >> For loops and if/then/else formalized what good Fortran programmers >> were already doing >> Objects formalized the way good C, Pascal, and Lisp programmers >> managed their data structures and functions >> Java deserves credit for bringing two previously-esoteric practices >> into the mainstream >> Garbage collection: the computer recycles memory as it needs to >> Reflection: programs can inspect themselves at runtime >> Reflection simplifies the construction of large software systems >> Most big applications are now frameworks that load plug-in >> components dynamically >> A little extra effort? >> ?but it forces programmers to really, truly modularize their code? >> ?which also reduces maintenance and customization costs >> Watching programs run is an essential part of the software >> development process >> Which parts of my code can be thrown away? >> Which parts am I actually testing? >> Which parts of their work are my colleagues actually testing? >> Why is my program so slow? >> Modern computer systems are so complex that it's practically >> impossible to figure this out from first principles >> So write the code, profile, and then start tuning > > > Very elegant analysis, isn't it..., execept one detail, unfortunally, > bad knowed by the author : SmallTalk and Hypercard have to get the > credits he is giving to Java. I don't agree. He didn't say Java invented those features, he said that Java gets credit "for bringing them to the mainstream". I think it's quite reasonable to say that Smalltalk and Hypercard were outside the mainstream. And if it was about when the features were invented, LISP predates either Smalltalk and Hypercard. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From irog at mac.com Tue Aug 2 12:28:32 2005 From: irog at mac.com (Roger Guay) Date: Tue, 2 Aug 2005 10:28:32 -0600 Subject: A Couple of Simple Physics Simulations Message-ID: <0FDE8DBC-3961-4AD9-8AC2-CAEFCB7ECC95@mac.com> Hello all, I just uploaded a couple of simple Physics Simulations to the User Spaces. It's entitled Physics Stuff, and you can find it in the Education Category or by my name RogerG. Cheers, Roger From lists at mangomultimedia.com Tue Aug 2 12:37:30 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 2 Aug 2005 09:37:30 -0700 Subject: Spotlight indexing: feature request proposal In-Reply-To: References: <811344C4-0A97-47FE-BBFB-A2DCEB1D3045@openpartnership.net> <3B68887D-C186-445D-B6ED-2E9C1D925026@mangomultimedia.com> Message-ID: On Aug 2, 2005, at 7:54 AM, david bovill wrote: > > So you mean use your "qtSave" function after editing? Also need to > look into being able to author subtitle support for MPEG4 and > Teletext for cable broadcast... any links appreciated. If you are using 0.6.0 then yes. In the 1.0 beta it is qtSaveAs. When Revolution makes it possible to save a movie in place then qtSave will do that. I haven't done anything with subtitles and MPEG4 so I can't help you there. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From SimPLsol at aol.com Tue Aug 2 12:55:04 2005 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Tue, 2 Aug 2005 12:55:04 EDT Subject: While waiting for XP support.... Message-ID: <46.6e94f27b.3020ff68@aol.com> Richard, Looks like Microsoft has done a fair job of copying Puma (OS X 10.1) - and there is still time to copy Panther (10.3), maybe even a bit of Tiger (10.4)! It is especially encouraging to see Microsoft is soliciting opinions 18 months before the product is released - they might actually avoid "ugly" this time. What's next? At the last minute they announce it will only run on PowerPC? Paul Looney From jhurley at infostations.com Tue Aug 2 14:25:53 2005 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 2 Aug 2005 11:25:53 -0700 Subject: Text fonts of text and text fields In-Reply-To: <20050802170004.03C8382551C@mail.runrev.com> References: <20050802170004.03C8382551C@mail.runrev.com> Message-ID: I am learning a lot more about font than I really wanted to know. I see now that the textfont of the field is not necessarily the same as the text in that field--how else could you have multiple fonts in a field. So I can set the testFont of the field easily in script: Set the textFont of field 1 to "times" But how would I set the textFont of all the text in the field, other than the kludge: repeat with i = 1 to the number of lines in field 1 set the textFont of line i of field 1 to "times" end repeat Or by using the Text menu. Also if "put the textfont of line 1 of field 1 into tFont" yields an empty value for tFont, I presume that RR is using the User Font. I do I script for the User Font? It's not listed in the preferences. JIm From bnz2 at cdc.gov Tue Aug 2 14:28:24 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Tue, 2 Aug 2005 14:28:24 -0400 Subject: Text fonts of text and text fields Message-ID: <64878EF567131D4596246171F75FD4A9968142@m-epo-1.epo.cdc.gov> Set the textfont of char 1 to -1 of field "myField" to... -----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, August 02, 2005 2:26 PM To: use-revolution at lists.runrev.com Subject: Text fonts of text and text fields I am learning a lot more about font than I really wanted to know. I see now that the textfont of the field is not necessarily the same as the text in that field--how else could you have multiple fonts in a field. So I can set the testFont of the field easily in script: Set the textFont of field 1 to "times" But how would I set the textFont of all the text in the field, other than the kludge: repeat with i = 1 to the number of lines in field 1 set the textFont of line i of field 1 to "times" end repeat Or by using the Text menu. Also if "put the textfont of line 1 of field 1 into tFont" yields an empty value for tFont, I presume that RR is using the User Font. I do I script for the User Font? It's not listed in the preferences. JIm _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Tue Aug 2 15:13:15 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Aug 2005 12:13:15 -0700 Subject: global problems In-Reply-To: <42EF8C3D.2010207@hyperactivesw.com> References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> <3547440295.20050801234259@ahsoftware.net> <42EF8C3D.2010207@hyperactivesw.com> Message-ID: <17214500670.20050802121315@ahsoftware.net> Jacque- Tuesday, August 2, 2005, 8:07:41 AM, you wrote: > Globals are necessary when one has a suite of stacks that must interact > as a unit. One very common example is a "find" handler. Assume a number > of data stacks, each a clone of the others. A handler asks what you want > to find and puts that string into a global. The next time the user wants > to find something, you can use the same string to allow a persistent > search across many stacks. Yes, I do understand what globals are and why one may want to use them. I do actually use them, albeit sparingly. My conceptual problem here is with the persistence of global variables in the IDE once the stack or suite of stacks that used them has been purged from memory. In your example, can you think of a reason for the "find" string to persist after you have closed the suite of stacks that initialized and used the find handler and you've gone on to work on another project? -- -Mark Wieder mwieder at ahsoftware.net From joel.guillod at net2000.ch Tue Aug 2 15:12:50 2005 From: joel.guillod at net2000.ch (Joel Guillod) Date: Tue, 2 Aug 2005 21:12:50 +0200 Subject: Revolution filepath to Applescript file: how to? In-Reply-To: <20050802170004.2CDD882551E@mail.runrev.com> References: <20050802170004.2CDD882551E@mail.runrev.com> Message-ID: <7765D1E7-AC14-4A5A-9E9B-62D8E25CBE57@net2000.ch> Ken , Yes, I would be pleased to get your conversion routine. My problem is that I dont know exactly know how to convert in MacOSX (MacOS9?) from: "/Users/toto/Desktop/Image 6.png" to: "Main HD:Users:toto:Desktop:Image 6.png" or from: "/Volumes/My Device/toto/Image 6.png" to ...? Thanks very much. jg > have you considered converting to a ":"-delimited path for use with > AppleScript? For example, your path above, if it was on a hard > drive called > "Main HD" would be: > > file "Main HD:Users:toto:Desktop:Image 6.png" > > and AppleScript can use that just as easily. If colon-delimited > will work > for you, let me know and I'll post my conversion routine. From briany at qldlearning.com Tue Aug 2 15:48:33 2005 From: briany at qldlearning.com (Brian Yennie) Date: Tue, 2 Aug 2005 15:48:33 -0400 Subject: Revolution filepath to Applescript file: how to? In-Reply-To: <7765D1E7-AC14-4A5A-9E9B-62D8E25CBE57@net2000.ch> References: <20050802170004.2CDD882551E@mail.runrev.com> <7765D1E7-AC14-4A5A-9E9B-62D8E25CBE57@net2000.ch> Message-ID: <87060714cdb53125827f9bbd5bc047a5@qldlearning.com> Joel, I think you'll find this useful. http://www.satimage.fr/software/en/file_paths.html Basically, there are native AppleScript methods for dealing with POSIX style paths. - Brian From ambassador at fourthworld.com Tue Aug 2 16:00:40 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 02 Aug 2005 13:00:40 -0700 Subject: global problems In-Reply-To: <17214500670.20050802121315@ahsoftware.net> References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> <3547440295.20050801234259@ahsoftware.net> <42EF8C3D.2010207@hyperactivesw.com> <17214500670.20050802121315@ahsoftware.net> Message-ID: <42EFD0E8.40001@fourthworld.com> Mark Wieder wrote: > Jacque- > > Tuesday, August 2, 2005, 8:07:41 AM, you wrote: > > >>Globals are necessary when one has a suite of stacks that must interact >>as a unit. One very common example is a "find" handler. Assume a number >>of data stacks, each a clone of the others. A handler asks what you want >>to find and puts that string into a global. The next time the user wants >>to find something, you can use the same string to allow a persistent >>search across many stacks. > > > Yes, I do understand what globals are and why one may want to use > them. I do actually use them, albeit sparingly. My conceptual problem > here is with the persistence of global variables in the IDE once the > stack or suite of stacks that used them has been purged from memory. > > In your example, can you think of a reason for the "find" string to > persist after you have closed the suite of stacks that initialized and > used the find handler and you've gone on to work on another project? I doubt this behavior is going to change. Apple established how globals work in HyperTalk in 1987, and all xTalks have implemented them the same since. If this is causing a problem in your projects you might consider putting initialization code into your stack's preOpenStack handler to set globals to any values required by the current project. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Tue Aug 2 16:12:54 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 02 Aug 2005 13:12:54 -0700 Subject: [OT] Pigs Fly Message-ID: <42EFD3C6.5040800@fourthworld.com> Just as I'd heard from Punxatawny Phil, the Prognosticator of Prognosticators, Apple is finally joining the rest of the industry in shipping a multi-button mouse for its customers: New Mouse for Macs Has Multiple Buttons While somewhat trivial, this says two great things for us multi-platform developers: 1. We're now more motivated than ever to implement extensive right-click menus throughout our apps. These are often overlooked by Mac developers, but are a critical part of the Windows user experience and implementing them thoroughly in many case will raise the perceived professionalism of your Windows releases and increase sales. 2. Any time Apple moves beyond the old symptoms of NIH Syndrome and plays nice with the rest of the industry they should be applauded, as it makes our work as software designers much simpler. This is a healthy sign of organizational maturity, a clear acknowledgement that the industry and their audience has become more sophisticaed with mouse use since 1984. First MacTel, now multi-button mice. Now if only Windows would follow suit and correct the positions of their dialog box buttons we'd all be in platform-independence heaven. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From kray at sonsothunder.com Tue Aug 2 16:13:58 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 02 Aug 2005 15:13:58 -0500 Subject: Revolution filepath to Applescript file: how to? In-Reply-To: <7765D1E7-AC14-4A5A-9E9B-62D8E25CBE57@net2000.ch> Message-ID: On 8/2/05 2:12 PM, "Joel Guillod" wrote: > Ken , > > Yes, I would be pleased to get your conversion routine. > > My problem is that I dont know exactly know how to convert in MacOSX > (MacOS9?) > from: "/Users/toto/Desktop/Image 6.png" > to: "Main HD:Users:toto:Desktop:Image 6.png" > or from: "/Volumes/My Device/toto/Image 6.png" > to ...? Here you go: on mouseUp put stsConvertPath("/Users/toto/Desktop/Image 6.png",":") end mouseUp --> Main HD:Users:toto:Desktop:Image 6.png function stsConvertPath pPath,pDestType switch pDestType case "POSIX" case "/" -- assumes colon-delimited full path with drive name as first item replace "/" with tab in pPath replace ":" with "/" in pPath replace tab with ":" in pPath set the itemDel to "/" delete first item of pPath if char 1 of pPath <> "/" then put "/" before pPath return pPath break case "COLON" case ":" if isOSX() then -- assumes slash-delimited full path with -- root drive name not appearing if char 1 to 9 of pPath = "/Volumes/" then set the itemDel to "/" put item 3 of pPath into tHD -- leave the preceding "/" it's used in concatenating the path below delete item 2 to 3 of pPath else -- root path put line 1 of the drives into tHD end if replace ":" with tab in pPath replace "/" with ":" in pPath replace tab with "/" in pPath put tHD & pPath into pPath else replace "/" with ":" in pPath if char 1 of pPath = ":" then delete char 1 of pPath end if return pPath break end switch end stsConvertPath Have fun... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jacque at hyperactivesw.com Tue Aug 2 16:15:52 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Aug 2005 15:15:52 -0500 Subject: global problems In-Reply-To: <17214500670.20050802121315@ahsoftware.net> References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> <3547440295.20050801234259@ahsoftware.net> <42EF8C3D.2010207@hyperactivesw.com> <17214500670.20050802121315@ahsoftware.net> Message-ID: <42EFD478.8000204@hyperactivesw.com> Mark Wieder wrote: > Jacque- > > Tuesday, August 2, 2005, 8:07:41 AM, you wrote: > > >>Globals are necessary when one has a suite of stacks that must interact >>as a unit. One very common example is a "find" handler. Assume a number >>of data stacks, each a clone of the others. A handler asks what you want >>to find and puts that string into a global. The next time the user wants >>to find something, you can use the same string to allow a persistent >>search across many stacks. > > > Yes, I do understand what globals are and why one may want to use > them. I do actually use them, albeit sparingly. My conceptual problem > here is with the persistence of global variables in the IDE once the > stack or suite of stacks that used them has been purged from memory. > > In your example, can you think of a reason for the "find" string to > persist after you have closed the suite of stacks that initialized and > used the find handler and you've gone on to work on another project? > Sure. How is Rev supposed to know I'm done with it? Suppose I close one data stack and then open another one? I still want my global available. I'd much rather be in charge of removing it myself. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From soapdog at mac.com Tue Aug 2 16:16:06 2005 From: soapdog at mac.com (Andre Garzia) Date: Tue, 2 Aug 2005 17:16:06 -0300 Subject: [OT] Pigs Fly In-Reply-To: <42EFD3C6.5040800@fourthworld.com> References: <42EFD3C6.5040800@fourthworld.com> Message-ID: On Aug 2, 2005, at 5:12 PM, Richard Gaskin wrote: > Just as I'd heard from Punxatawny Phil, the Prognosticator of > Prognosticators, Apple is finally joining the rest of the industry > in shipping a multi-button mouse for its customers: > > New Mouse for Macs Has Multiple Buttons > apple_s_new_mouse;_ylt=As1C3mk3YMOhH9.n16yV7fYDW7oF;_ylu=X3oDMTBiMW04N > W9mBHNlYwMlJVRPUCUl> It's not a multi-button mouse, it's a zero button mouse!!! :D less is more!!!! (it uses a touch sensor and it has a internal speaker for sound feedback... clever ain't it. Tech is derived from iPod scroll wheel tech.) Cheers andre PS: I want one! > > While somewhat trivial, this says two great things for us multi- > platform developers: > > 1. We're now more motivated than ever to implement extensive right- > click menus throughout our apps. These are often overlooked by Mac > developers, but are a critical part of the Windows user experience > and implementing them thoroughly in many case will raise the > perceived professionalism of your Windows releases and increase sales. > > 2. Any time Apple moves beyond the old symptoms of NIH Syndrome and > plays nice with the rest of the industry they should be applauded, > as it makes our work as software designers much simpler. This is a > healthy sign of organizational maturity, a clear acknowledgement > that the industry and their audience has become more sophisticaed > with mouse use since 1984. > > First MacTel, now multi-button mice. Now if only Windows would > follow suit and correct the positions of their dialog box buttons > we'd all be in platform-independence heaven. :) > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Tue Aug 2 16:39:35 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 2 Aug 2005 22:39:35 +0200 Subject: global problems In-Reply-To: <42EFD478.8000204@hyperactivesw.com> References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> <3547440295.20050801234259@ahsoftware.net> <42EF8C3D.2010207@hyperactivesw.com> <17214500670.20050802121315@ahsoftware.net> <42EFD478.8000204@hyperactivesw.com> Message-ID: Hi all, I was very busy and did not follow accurately this thread. I don't speak English very well but I know what global means: global means global :-) If you can empty a global, delete it from memory when needed, where is the problem? You can use good scripting conventions to be sure that local and global can't shadow. Above all, we have to remember that Rev is intended to build standalones. IDE behaviour is another thing and IDE is not the target. On the other hand, you have many other ways to organise data if globals don't suit your needs: local, script local, custom properties, external files, substacks and many others :-) I saw very clever examples where globals are essential by Chipp and Jacque. But if there is a better way to go, use it ;-) The question does not seem to be a "global" problem, but a question about the architecture you choose. Rev provides many ways to do the job: choose the best one! My two cents. Best Regards from Paris, Eric Chatonet. Le 2 ao?t 05 ? 22:15, J. Landman Gay a ?crit : > Mark Wieder wrote: > >> Jacque- >> Tuesday, August 2, 2005, 8:07:41 AM, you wrote: >> >>> Globals are necessary when one has a suite of stacks that must >>> interact >>> as a unit. One very common example is a "find" handler. Assume a >>> number >>> of data stacks, each a clone of the others. A handler asks what >>> you want >>> to find and puts that string into a global. The next time the >>> user wants >>> to find something, you can use the same string to allow a persistent >>> search across many stacks. >>> >> Yes, I do understand what globals are and why one may want to use >> them. I do actually use them, albeit sparingly. My conceptual problem >> here is with the persistence of global variables in the IDE once the >> stack or suite of stacks that used them has been purged from memory. >> In your example, can you think of a reason for the "find" string to >> persist after you have closed the suite of stacks that initialized >> and >> used the find handler and you've gone on to work on another project? >> > > Sure. How is Rev supposed to know I'm done with it? Suppose I close > one data stack and then open another one? I still want my global > available. I'd much rather be in charge of removing it myself. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From SimPLsol at aol.com Tue Aug 2 17:50:35 2005 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Tue, 2 Aug 2005 17:50:35 EDT Subject: [OT] Pigs Fly Message-ID: <81.2cdb5827.302144ab@aol.com> Richard, Knowing Apple, the mouse will probably have a proprietary port - that only works on MacTels ;-) PL From vokey at uleth.ca Tue Aug 2 17:55:25 2005 From: vokey at uleth.ca (John Vokey) Date: Tue, 2 Aug 2005 15:55:25 -0600 Subject: OS X 10.4 vs. 10.3 incompatibility Message-ID: <0AA4605B-52B9-496D-AD55-FCF03596F62B@uleth.ca> I have encountered a strange system incompatibility. Stacks that ran/ run fine under Mac OS X 10.3.x, produce the following peculiar behaviour under 10.4.2 (whether using the MC or RR IDE). I have a slider in a group that also contains a default (throbbing) button, which is to be clicked when the slider is in the position the user wants. All is fine under 10.3.x (i.e., the button throbs and the slider tracks the mouse as the user slides it back and forth); under 10.4.2, the button s-l-o-w-l-y throbs (i.e., you can see each step of the throb animation), and the slider no longer keeps up with the mouse (i.e., it lags by a lot). It is like the whole system has been slowed down by a factor of 2 or 3 (i.e., 100 or a 1000-fold). Yet, other default buttons throb correctly. (I have no other sliders in these stacks). It is clearly not my code (indeed, I have used this group successfully since at least MC 2.2, and probably before, and on all other versions of OS X). I receive the list in digest mode, so please respond directly to me if you have any insights. -- - JRV There are 10 kinds of people: those who understand binary, and those who don't From userev at canelasoftware.com Tue Aug 2 17:58:36 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 2 Aug 2005 14:58:36 -0700 Subject: OS X 10.4 vs. 10.3 incompatibility In-Reply-To: <0AA4605B-52B9-496D-AD55-FCF03596F62B@uleth.ca> References: <0AA4605B-52B9-496D-AD55-FCF03596F62B@uleth.ca> Message-ID: <9633C076-75AD-4892-9443-9BD02B518AFE@canelasoftware.com> On Aug 2, 2005, at 2:55 PM, John Vokey wrote: > I have encountered a strange system incompatibility. Stacks that > ran/run fine under Mac OS X 10.3.x, produce the following peculiar > behaviour under 10.4.2 (whether using the MC or RR IDE). I have a > slider in a group that also contains a default (throbbing) button, > which is to be clicked when the slider is in the position the user > wants. All is fine under 10.3.x (i.e., the button throbs and the > slider tracks the mouse as the user slides it back and forth); > under 10.4.2, the button s-l-o-w-l-y throbs (i.e., you can see each > step of the throb animation), and the slider no longer keeps up > with the mouse (i.e., it lags by a lot). It is like the whole > system has been slowed down by a factor of 2 or 3 (i.e., 100 or a > 1000-fold). Yet, other default buttons throb correctly. (I have > no other sliders in these stacks). It is clearly not my code > (indeed, I have used this group successfully since at least MC 2.2, > and probably before, and on all other versions of OS X). > > I receive the list in digest mode, so please respond directly to me > if you have any insights. > > I noticed this problem as well. I just saved the script and made a new slider with the old script. This solved the problem. Mark Talluto -- CANELA Software http://www.canelasoftware.com From sarahr at genesearch.com.au Tue Aug 2 18:01:07 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 3 Aug 2005 08:01:07 +1000 Subject: Revolution filepath to Applescript file: how to? In-Reply-To: <4E7A7121-0709-463C-BB3B-2AECE5670F0C@net2000.ch> References: <20050802045256.309F8825682@mail.runrev.com> <4E7A7121-0709-463C-BB3B-2AECE5670F0C@net2000.ch> Message-ID: > I am looking for a script to convert a filepath to an Applescript > file statement. For example: > "/Users/toto/Desktop/Image 6.png" => file "Image 6.png" in the > folder "Desktop" in home You need the revMacfromUnixPath function. To use your example file path: revMacFromUnixPath("/Users/toto/Desktop/Image 6.png") -> Macintosh HD:Users:toto:Desktop:Image 6.png Cheers, Sarah From soapdog at mac.com Tue Aug 2 18:43:00 2005 From: soapdog at mac.com (Andre Garzia) Date: Tue, 2 Aug 2005 19:43:00 -0300 Subject: [OT] Pigs Fly In-Reply-To: <81.2cdb5827.302144ab@aol.com> References: <81.2cdb5827.302144ab@aol.com> Message-ID: On Aug 2, 2005, at 6:50 PM, SimPLsol at aol.com wrote: > Richard, > Knowing Apple, the mouse will probably have a proprietary port - > that > only works on MacTels ;-) > PL On the page they say its PC-Compatible... Andre > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From charles.hartman at conncoll.edu Tue Aug 2 18:59:46 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 2 Aug 2005 18:59:46 -0400 Subject: global problems In-Reply-To: References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> <3547440295.20050801234259@ahsoftware.net> <42EF8C3D.2010207@hyperactivesw.com> <17214500670.20050802121315@ahsoftware.net> <42EFD478.8000204@hyperactivesw.com> Message-ID: <973E227D-751E-40A9-B082-23A2C5E118FC@conncoll.edu> I agree (with everybody), of course. But it is true that until this thread came up I didn't think to look in the Variable Watcher for signs of this. There were a couple of globals that I had declared at an earlier experimental stage of development of this project, still hanging around without making a peep. That does seem a little untidy. But I guess this is a logical result of the (otherwise blessed) absence of a code-and-compile cycle. In a Transcript-like environment, it's hard to think _what_ non-explicit signal there could be that a variable is no longer, and never will be, wanted. Charles On Aug 2, 2005, at 4:39 PM, Eric Chatonet wrote: > I was very busy and did not follow accurately this thread. > I don't speak English very well but I know what global means: > global means global :-) > If you can empty a global, delete it from memory when needed, where > is the problem? > You can use good scripting conventions to be sure that local and > global can't shadow. > From JimAultWins at yahoo.com Tue Aug 2 19:07:04 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 02 Aug 2005 16:07:04 -0700 Subject: global problems> benefits In-Reply-To: Message-ID: Hypertalk, as I understood it from the beginning, was to be a free-form style of programming that allowed interacting with many stacks, even hundreds on multiple drives and computers. One major concept was the navigation to prev>next>recent>push card>pop card. All this could involve 'jumping' to a new stack each step and the stack did not even have to be open in memory before the leap, and could be closed after use. Think about jumping directly to a card in a stack that is not even open yet, then back 10 steps with one click. The only stack that had to remain open was Home. This structure required Hypercard, the application, to hold many values and user preferences, mostly in the Home stack and resource fork. Also in the concepts were 'stacksInUse' (which could be changed on the fly, using up to 10 at one time via startusing + stopusing) like a dynamic library of functions. Then the fabulous "re-writing a script" and then running it, on the fly [>set the script of button "ShowUsersFace" to "on mouseUp, go card "face112", end mouseUp", send mouseUp to button " ShowUsersFace"] [>set the script of button "ShowUsersFace" to "" ] it now does nothing. This edit on the fly could re-program the interface depending on conditions and user choices. I used it often in point-of-sale software. Also 'the target' and 'me' and 'the clickline', etc are not compiler-style objects but we have come to like them, love them, and hold them dear. In the IDE, "global gUserName" is saying create a variable in the IDE space, not the stack space. For a compiled app, the global is maintained in the Mainstack space (ala Home). Jim Ault Las Vegas On 8/2/05 1:39 PM, "Eric Chatonet" wrote: > Hi all, > > I was very busy and did not follow accurately this thread. > I don't speak English very well but I know what global means: global > means global :-) > If you can empty a global, delete it from memory when needed, where > is the problem? > You can use good scripting conventions to be sure that local and > global can't shadow. > > Above all, we have to remember that Rev is intended to build > standalones. > IDE behaviour is another thing and IDE is not the target. > On the other hand, you have many other ways to organise data if > globals don't suit your needs: local, script local, custom > properties, external files, substacks and many others :-) > I saw very clever examples where globals are essential by Chipp and > Jacque. > But if there is a better way to go, use it ;-) > The question does not seem to be a "global" problem, but a question > about the architecture you choose. > Rev provides many ways to do the job: choose the best one! > My two cents. > > Best Regards from Paris, > > Eric Chatonet. > > Le 2 ao?t 05 ? 22:15, J. Landman Gay a ?crit : > >> Mark Wieder wrote: >> >>> Jacque- >>> Tuesday, August 2, 2005, 8:07:41 AM, you wrote: >>> >>>> Globals are necessary when one has a suite of stacks that must >>>> interact >>>> as a unit. One very common example is a "find" handler. Assume a >>>> number >>>> of data stacks, each a clone of the others. A handler asks what >>>> you want >>>> to find and puts that string into a global. The next time the >>>> user wants >>>> to find something, you can use the same string to allow a persistent >>>> search across many stacks. >>>> >>> Yes, I do understand what globals are and why one may want to use >>> them. I do actually use them, albeit sparingly. My conceptual problem >>> here is with the persistence of global variables in the IDE once the >>> stack or suite of stacks that used them has been purged from memory. >>> In your example, can you think of a reason for the "find" string to >>> persist after you have closed the suite of stacks that initialized >>> and >>> used the find handler and you've gone on to work on another project? >>> >> >> Sure. How is Rev supposed to know I'm done with it? Suppose I close >> one data stack and then open another one? I still want my global >> available. I'd much rather be in charge of removing it myself. > > ---------------------------------------------------------------- > So Smart Software > > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > > Free plugins and tutorials on my website > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jbondy at sover.net Tue Aug 2 19:08:38 2005 From: jbondy at sover.net (Jon) Date: Tue, 02 Aug 2005 19:08:38 -0400 Subject: global problems In-Reply-To: <17214500670.20050802121315@ahsoftware.net> References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> <3547440295.20050801234259@ahsoftware.net> <42EF8C3D.2010207@hyperactivesw.com> <17214500670.20050802121315@ahsoftware.net> Message-ID: <42EFFCF6.7090609@sover.net> I agree: it is unfortunate that the original language designers used the term "global" to mean "persistent global". Had they separated the concept of scope from the concept of variable duration/lifetime, the language would have been equally powerful while being easier to understand. Jon Mark Wieder wrote: >Jacque- > >Tuesday, August 2, 2005, 8:07:41 AM, you wrote: > > > >>Globals are necessary when one has a suite of stacks that must interact >>as a unit. One very common example is a "find" handler. Assume a number >>of data stacks, each a clone of the others. A handler asks what you want >>to find and puts that string into a global. The next time the user wants >>to find something, you can use the same string to allow a persistent >>search across many stacks. >> >> > >Yes, I do understand what globals are and why one may want to use >them. I do actually use them, albeit sparingly. My conceptual problem >here is with the persistence of global variables in the IDE once the >stack or suite of stacks that used them has been purged from memory. > >In your example, can you think of a reason for the "find" string to >persist after you have closed the suite of stacks that initialized and >used the find handler and you've gone on to work on another project? > > > From ambassador at fourthworld.com Tue Aug 2 19:13:58 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 02 Aug 2005 16:13:58 -0700 Subject: global problems In-Reply-To: <42EFFCF6.7090609@sover.net> References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> <3547440295.20050801234259@ahsoftware.net> <42EF8C3D.2010207@hyperactivesw.com> <17214500670.20050802121315@ahsoftware.net> <42EFFCF6.7090609@sover.net> Message-ID: <42EFFE36.7040900@fourthworld.com> Jon wrote: > I agree: it is unfortunate that the original language designers used the > term "global" to mean "persistent global". Had they separated the > concept of scope from the concept of variable duration/lifetime, the > language would have been equally powerful while being easier to understand. What is a non-persistent global? In any language I've worked with, you declare a global and it stays in memory until you delete it or quit the program. I don't know of any language that deletes globals automatically based on whether the app closes or opens files from disk. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From JimAultWins at yahoo.com Tue Aug 2 19:17:28 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 02 Aug 2005 16:17:28 -0700 Subject: Rev IDE bug in Win XP script windows In-Reply-To: <20050801171323.0D00782562A@mail.runrev.com> Message-ID: Continuing saga... corruption now affecting more programs.. time for disk clean up. Thanks for the good info. (Note: reinstall of Rev worked for about an hour, client was surprised that he had XP Home edition and will upgrade) Jim Ault Las Vegas On 8/1/05 10:25 AM, "MisterX" wrote: > Hi Jim > > Dont fear the PC world... it's not hard to beat... > > if your pc is NOT running "Normally" - crashes and all, run a virus scan AND > a spyware scan... Update to the latest windows updates (save before you > click the last ok button... Whatever protection they gave you, if not > updated and maintained weekly, is as good as not having any (with a speed > penalty!) > > if you're sure something else is wrong (do all your rev stacks work wrong?) > do other scripter's stack go wrong? > > Reinstall rev - takes 3 minutes, no big deal. (rev can be backedup via copy > paste no problem after your first installation for a quick restore (less > than a minute). If you keep your project stacks out of the rev stack, it's > even easier... zipping the folder is a good as any backup... for added > security, keep the backup on a different drive (not partition). > > Next if it still goes wrong, test someone elses stacks without your stacks > opened after restarting rev... single out your errors first... make sure > your environment is working ok... > > if you bought winxp home edition, it's probably just a need to reinstall > it... > get a pro edition... it's much more solid... lots of stuff was removed from > the home edition and some crap added surely for home users... > > I run windows smoothly with no virus protection, no firewall, no IE crap and > despite all hte firefox crap and bugs, i get no bugs, no spywares, no > virii... i've been hit 2 times in 6 years... careful and documented usage > only = no problems. > > If you dont know how to drive a race car, there' isn't one team who will > lend you their car, it's a precision instrument... alas the holes in > security and the lack of user education is taking it's toll - guess that's > why no many use linux yet ;). Im sure moft will push us into it sooner or > later ;$ > > cheers > Xavier > Sinclair -> trs80 -> Apple][ -> Mac 1.0-> 9.0 -> PC Quake 1 two 3 > > > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jim Ault >> Sent: Monday, August 01, 2005 18:37 >> To: How to use Revolution >> Subject: Rev IDE bug in Win XP script windows >> >> Hello, list, >> I am experiencing window size problems in the Rev IDE. >> - Smaller and smaller edit windows, (height, not width) with >> normal text size. >> - Variable Watcher window height limit >> >> Win XP, Rev 2.5.1, new Dell dual proc PC >> >> I am now down to about 6 lines of code showing, and sometimes >> zero (just title bar and bottom of window rect) or a thin >> horizontal line!! >> >> I am a Mac guy (so be kind), but a project has to be bebugged >> on a WinXP machine to communicate with FoxPro and Stata that >> only run on this platform. >> >> Using two monitors on a DVI-VGA dual card wreaked havoc on >> window rects and 'not responding' errors, then reverting to >> one display solved those problems. (bummer) >> >> Now the maximum window size is maddeningly short. >> Do I reinstall Rev? Change the registry? Uninstall virus protection? >> (Dell computer was purchased new 4 months ago with a full >> boat of virus and firewall software installed) >> >> Thanks for your help >> >> Jim Ault >> Las Vegas >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage >> your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Tue Aug 2 19:22:14 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 02 Aug 2005 16:22:14 -0700 Subject: Rev IDE bug in Win XP script windows In-Reply-To: References: Message-ID: <42F00026.9010804@fourthworld.com> Jim Ault wrote: > Continuing saga... corruption now affecting more programs.. time for disk > clean up. Thanks for the good info. Doesn't sound like corruption of the Rev files. But if this is recurring has anyone BZ'd it? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com >>>Hello, list, >>>I am experiencing window size problems in the Rev IDE. >>>- Smaller and smaller edit windows, (height, not width) with >>>normal text size. >>>- Variable Watcher window height limit >>> >>>Win XP, Rev 2.5.1, new Dell dual proc PC >>> >>>I am now down to about 6 lines of code showing, and sometimes >>>zero (just title bar and bottom of window rect) or a thin >>>horizontal line!! >>> >>>I am a Mac guy (so be kind), but a project has to be bebugged >>>on a WinXP machine to communicate with FoxPro and Stata that >>>only run on this platform. >>> >>>Using two monitors on a DVI-VGA dual card wreaked havoc on >>>window rects and 'not responding' errors, then reverting to >>>one display solved those problems. (bummer) >>> >>> Now the maximum window size is maddeningly short. >>>Do I reinstall Rev? Change the registry? Uninstall virus protection? >>>(Dell computer was purchased new 4 months ago with a full >>>boat of virus and firewall software installed) >>> >>>Thanks for your help >>> >>>Jim Ault >>>Las Vegas From wouter.abraham at scarlet.be Tue Aug 2 19:25:11 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Wed, 3 Aug 2005 01:25:11 +0200 Subject: OS X 10.4 vs. 10.3 incompatibility In-Reply-To: <0AA4605B-52B9-496D-AD55-FCF03596F62B@uleth.ca> References: <0AA4605B-52B9-496D-AD55-FCF03596F62B@uleth.ca> Message-ID: <5D21D341-0E75-42FD-A85B-06231DF96011@scarlet.be> Is it possible the thumbsize of the slider is 0? This tends to slow down rev enormously in Tiger (may be also in older OS but can't test it anymore) Setting it to 1 resolves this problem. Greetings, Wouter On 02 Aug 2005, at 23:55, John Vokey wrote: > I have encountered a strange system incompatibility. Stacks that > ran/run fine under Mac OS X 10.3.x, produce the following peculiar > behaviour under 10.4.2 (whether using the MC or RR IDE). I have a > slider in a group that also contains a default (throbbing) button, > which is to be clicked when the slider is in the position the user > wants. All is fine under 10.3.x (i.e., the button throbs and the > slider tracks the mouse as the user slides it back and forth); > under 10.4.2, the button s-l-o-w-l-y throbs (i.e., you can see each > step of the throb animation), and the slider no longer keeps up > with the mouse (i.e., it lags by a lot). It is like the whole > system has been slowed down by a factor of 2 or 3 (i.e., 100 or a > 1000-fold). Yet, other default buttons throb correctly. (I have > no other sliders in these stacks). It is clearly not my code > (indeed, I have used this group successfully since at least MC 2.2, > and probably before, and on all other versions of OS X). > > I receive the list in digest mode, so please respond directly to me > if you have any insights. > > > > -- > - JRV > There are 10 kinds of people: those who understand binary, and > those who don't From revolution at jaedworks.com Tue Aug 2 11:45:09 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 2 Aug 2005 08:45:09 -0700 Subject: Help, what am I doing wrong??? In-Reply-To: <813F5E0E-DD77-4B97-BD87-CD800559A217@writeme.com> References: <20050730165945.37016.qmail@web60518.mail.yahoo.com> <73E917CF-AF48-446C-8107-34172E513808@writeme.com> <1003948417.20050730191500@ahsoftware.net> <813F5E0E-DD77-4B97-BD87-CD800559A217@writeme.com> Message-ID: At 10:24 PM -0400 7/30/2005, Dennis Brown wrote: >I never had any trouble remembering that something in a loop >variable is a copy, because that is what I would expect. However, >it appears that what we have is just a label, not really a variable >--that is until we exit the loop, then we have a variable with the >last contents in it. > >I would really like to get a real error message since it does not do >what you expect from reading the code. How many newbies do we have >to trip up before we erect a stop sign at that intersection? > >Should I BZ it? Might be a good idea. (I think the lack of an execution error is in fact a bug - it used to cause one.) -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From charles.hartman at conncoll.edu Tue Aug 2 19:29:04 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 2 Aug 2005 19:29:04 -0400 Subject: when can I set a substack's properties? Message-ID: I'm not clear about when a substack "exists." I want to set some custom properties in a substack from a script in the main stack, and it would be a lot handier if I could do it before issuing the "open" command for the substack. It seems to work OK during my development cycle in the IDE. But will it work (in a stack being run under the Dreamcard Player) the first time out of the box? Or do I have to issue an "open" command before Rev will know the substack exists, and where to put stuff in it? The substack is part of the stack file, so is it true that Rev knows all about it, and properties (custom or built-in) can be set before it's opened? The IDE's own evidence is kind of mixed: the Application Browser knows the substack while it's closed, but the Inspector doesn't. Charles Hartman From charles.hartman at conncoll.edu Tue Aug 2 19:33:14 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 2 Aug 2005 19:33:14 -0400 Subject: Rev quits on stack removed from memory? Message-ID: I haven't seen this often enough to be sure -- but it _seems_ to me that if I have a couple of scripts open for editing, and close-and- remove-from-memory the stack they belong to, and then as an afterthought try to close those script windows, then Rev dies (Close, Reopen, Report to Apple). Would it make more sense for a stack being removed that way to take any of its stacks with it into oblivion? Charles Hartman From SimPLsol at aol.com Tue Aug 2 19:39:05 2005 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Tue, 2 Aug 2005 19:39:05 EDT Subject: Rev quits on stack removed from memory? Message-ID: <64.5a368d01.30215e19@aol.com> Charles, I had the same problem - a lot, just learned to always close scripts before closing their stacks. Yes, Rev should handle this. Paul Looney From SimPLsol at aol.com Tue Aug 2 19:40:22 2005 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Tue, 2 Aug 2005 19:40:22 EDT Subject: [OT] Pigs Fly Message-ID: <1a0.38fd0a82.30215e66@aol.com> Just joking, Andre. PL From revdan at danshafer.com Tue Aug 2 19:45:10 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 2 Aug 2005 16:45:10 -0700 Subject: Rev quits on stack removed from memory? In-Reply-To: References: Message-ID: <200C251C-DA5B-4D88-879D-C7ECB439D1A8@danshafer.com> I've seen things like this over the years but I'm not ever quite sure what causes it because I haven't been able to recreate it consistently. For example, I just did exactly what you describe three times without a single crash. I've disciplined myself not to leave script editor windows open. Slows me down a bit sometimes but it seemed to prevent some crashing I wasn't understanding. On Aug 2, 2005, at 4:33 PM, Charles Hartman wrote: > I haven't seen this often enough to be sure -- but it _seems_ to me > that if I have a couple of scripts open for editing, and close-and- > remove-from-memory the stack they belong to, and then as an > afterthought try to close those script windows, then Rev dies > (Close, Reopen, Report to Apple). > > Would it make more sense for a stack being removed that way to take > any of its stacks with it into oblivion? > > Charles Hartman > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revdan at danshafer.com Tue Aug 2 19:46:28 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 2 Aug 2005 16:46:28 -0700 Subject: when can I set a substack's properties? In-Reply-To: References: Message-ID: <07FFA59A-B5AB-4E95-8FEB-7452467B51D0@danshafer.com> I suspect it'll be just fine in the standlone. I've done this a few times as I recall and haven't seen any negative consequences. Another way of doing this -- I mention it because when I do, people often say, "I didn't know you could do that!" -- is to use the open invisible option on the substack. On Aug 2, 2005, at 4:29 PM, Charles Hartman wrote: > I'm not clear about when a substack "exists." I want to set some > custom properties in a substack from a script in the main stack, > and it would be a lot handier if I could do it before issuing the > "open" command for the substack. It seems to work OK during my > development cycle in the IDE. But will it work (in a stack being > run under the Dreamcard Player) the first time out of the box? Or > do I have to issue an "open" command before Rev will know the > substack exists, and where to put stuff in it? > > The substack is part of the stack file, so is it true that Rev > knows all about it, and properties (custom or built-in) can be set > before it's opened? The IDE's own evidence is kind of mixed: the > Application Browser knows the substack while it's closed, but the > Inspector doesn't. > > Charles Hartman > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From soapdog at mac.com Tue Aug 2 19:50:28 2005 From: soapdog at mac.com (Andre Garzia) Date: Tue, 2 Aug 2005 20:50:28 -0300 Subject: [OT] Pigs Fly In-Reply-To: <1a0.38fd0a82.30215e66@aol.com> References: <1a0.38fd0a82.30215e66@aol.com> Message-ID: On Aug 2, 2005, at 8:40 PM, SimPLsol at aol.com wrote: > Just joking, Andre. > PL ;-) (I am thinking if someone will write some software to reprogram the mouse randomly...) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From charles.hartman at conncoll.edu Tue Aug 2 20:02:55 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 2 Aug 2005 20:02:55 -0400 Subject: when can I set a substack's properties? In-Reply-To: <07FFA59A-B5AB-4E95-8FEB-7452467B51D0@danshafer.com> References: <07FFA59A-B5AB-4E95-8FEB-7452467B51D0@danshafer.com> Message-ID: <514FC490-12DB-4F9E-88C4-A30EA29B7DA9@conncoll.edu> Thanks. Two details just to check -- On Aug 2, 2005, at 7:46 PM, Dan Shafer wrote: > I suspect it'll be just fine in the standlone. I've done this a few > times as I recall and haven't seen any negative consequences. And the same with a stack to be run under the Player? (I have Dreamcard; no standalones.) > > Another way of doing this -- I mention it because when I do, people > often say, "I didn't know you could do that!" -- is to use the open > invisible option on the substack That is cool. My substack has a pretty elaborate "on openCard" handler -- but I suppose it can do anything it wants with an invisible stack & card . . . Charles From see3d at writeme.com Tue Aug 2 20:08:34 2005 From: see3d at writeme.com (Dennis Brown) Date: Tue, 02 Aug 2005 20:08:34 -0400 Subject: [OT] Pigs Fly --a rose by any other name... In-Reply-To: References: <42EFD3C6.5040800@fourthworld.com> Message-ID: Folks, I hate to rain on your parade, but it IS a single button mouse. Apple goes to great pains to point this fact out, just so they can say they have not abandoned the single button mouse philosophy. There is a single button. The touch sensors are on the left and right sides (like holding down the control key when clicking the single button mouse now). I guess pushing on the scroll button clicks the mouse with neither right or left touch sensors activated, so it is a third kind of click. The side "force" sensor is not technically a button either. The whole mouse moves down to activate the button --it is one big button. The lengths a company will go to just to never admit they were wrong. All I can say, is: If it walks like a duck and quacks like a duck, it must be a rose... Dennis On Aug 2, 2005, at 4:16 PM, Andre Garzia wrote: > > On Aug 2, 2005, at 5:12 PM, Richard Gaskin wrote: > > >> Just as I'd heard from Punxatawny Phil, the Prognosticator of >> Prognosticators, Apple is finally joining the rest of the industry >> in shipping a multi-button mouse for its customers: >> >> New Mouse for Macs Has Multiple Buttons >> > apple_s_new_mouse;_ylt=As1C3mk3YMOhH9.n16yV7fYDW7oF;_ylu=X3oDMTBiMW04 >> NW9mBHNlYwMlJVRPUCUl> >> > > It's not a multi-button mouse, it's a zero button mouse!!! :D less > is more!!!! > > (it uses a touch sensor and it has a internal speaker for sound > feedback... clever ain't it. Tech is derived from iPod scroll wheel > tech.) > > Cheers > andre > > PS: I want one! From jperryl at ecs.fullerton.edu Tue Aug 2 20:10:56 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 2 Aug 2005 17:10:56 -0700 (PDT) Subject: [OT] Pigs Fly In-Reply-To: Message-ID: Whew! I'm feeling better already. I'm in agreement with Raskin on the uni-button mouse being preferrable for error-reduction. (I know, I know: I'm ducking the expected onslaught of people who swear by the right-click with an eye on whether they'd be equally enthusiastic about using a Unix 3-button mouse or a court reporter's 8-button chording machine). Judy On Tue, 2 Aug 2005, Andre Garzia wrote: > It's not a multi-button mouse, it's a zero button mouse!!! :D less is > more!!!! From JimAultWins at yahoo.com Tue Aug 2 20:16:29 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 02 Aug 2005 17:16:29 -0700 Subject: Rev IDE bug in Win XP script windows In-Reply-To: <42F00026.9010804@fourthworld.com> Message-ID: I really don't believe it is a Rev problem. The system is doing other whacky stuff and we are having a technician coming in to analyze the hard drive. My suspicion is "no virus, no Rev problem, bad sector or something" Jim Ault Las Vegas On 8/2/05 4:22 PM, "Richard Gaskin" wrote: > Jim Ault wrote: >> Continuing saga... corruption now affecting more programs.. time for disk >> clean up. Thanks for the good info. > > Doesn't sound like corruption of the Rev files. But if this is > recurring has anyone BZ'd it? From webmaster at dreamscapesoftware.com Tue Aug 2 20:16:04 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Tue, 02 Aug 2005 19:16:04 -0500 Subject: While waiting for XP support.... In-Reply-To: <42EEF533.2050507@fourthworld.com> References: <42EEF533.2050507@fourthworld.com> Message-ID: <42F00CC4.4050109@dreamscapesoftware.com> Richard Gaskin wrote: > Good news for us developers: its appearance is very much like a slightly > less candy-colored variant of OS X, so any graphic treatments in your > UIs will look much more at home on both platforms.... I know this is not the appropriate forum, but I have to say it. I just love the screen shots that show the artifacts that still remain from Windows 95. Makes me wonder if MS will ever understand that if you intend to change the GUI, you have to change the whole thing and not just pieces. Also, this honestly looks like nothing more than a new theme for Windows XP. The only thing different I can see is window shadows and transparency effects. Yeah, I know. It's not done yet. I'll shut up now. :) Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From ambassador at fourthworld.com Tue Aug 2 20:17:41 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 02 Aug 2005 17:17:41 -0700 Subject: [OT] Pigs Fly In-Reply-To: References: Message-ID: <42F00D25.9020009@fourthworld.com> Judy Perry wrote: > Whew! I'm feeling better already. > > I'm in agreement with Raskin on the uni-button mouse being preferrable for > error-reduction. Three factors come into play, with error-reduction being one of them. The other is productivity, and a third being learnability. I have no doubt Raskin got it right with error-reduction, and of course a single-button mouse will score higher on learnability by virtue of having less to learn. But the question manufacturers face in the 21st century is: "Does our audience today have enough experience with mice to use a multi-button mouse more productively than a single-button mouse?" Apple seems to have answered that question well. The single-button mouse was revolutionary for adoption of modern GUIs -- thank you Mr. Engelbart. But the majority of today's computer purchasers have previous experience with computing, are quite comfortable with mice, and can take advantage of the productivity gains of multi-button mice with far less trouble than yesterday's newbies. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jspencer78 at mac.com Tue Aug 2 20:42:49 2005 From: jspencer78 at mac.com (James Spencer) Date: Tue, 2 Aug 2005 19:42:49 -0500 Subject: global problems In-Reply-To: <42EFFE36.7040900@fourthworld.com> References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> <3547440295.20050801234259@ahsoftware.net> <42EF8C3D.2010207@hyperactivesw.com> <17214500670.20050802121315@ahsoftware.net> <42EFFCF6.7090609@sover.net> <42EFFE36.7040900@fourthworld.com> Message-ID: On Aug 2, 2005, at 6:13 PM, Richard Gaskin wrote: > In any language I've worked with, you declare a global and it stays > in memory until you delete it or quit the program. > > I don't know of any language that deletes globals automatically > based on whether the app closes or opens files from disk. > This of course brings us back to the real issue here. What is different about Rev as versus other most other languages from Think Pascal through Xcode Objective C is that when you are running a stack in the IDE, the IDE IS the app and as you note, globals stick around until the app exits or you delete them. The remarkably tight integration between the projects we are building and the IDE itself requires a concept change in many areas, not just globals, e.g. messaging. When I send an Objective C message in an Xcode program, even with ZeroLink on, that message is not going to get to Xcode itself. But system messages that I don't handle can get to all kinds of places I didn't expect. Rev is just different in this regard and because of that difference, you need and want the behavior to be exactly what it is because the only way the IDE could tell that you want a certain group of stacks to be considered an "app" would be by limiting the flexibility we have now. Yes, this requires that the programmer be aware of possible side effects in and from other stacks but that is no more true for globals than it is for say the preopenstack message. James P. Spencer Rochester, MN jspencer78 at charter.net "Badges?? We don't need no stinkin badges!" From davis.phil at comcast.net Tue Aug 2 20:46:50 2005 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 02 Aug 2005 17:46:50 -0700 Subject: when can I set a substack's properties? In-Reply-To: References: Message-ID: <42F013FA.6080405@comcast.net> Hi Charles, You can do a LOT with a substack without officially opening it. - I'm assuming you're talking about a substack of a stack that's already open. If so, the substack is already in memory. - You can get/set its properties. - You can run its handlers by invoking them directly: send "doSomething" to stack "sub1". - If you 'start using' the substack, you can use its image object IDs as icon IDs of your mainstack buttons. (It'll sometimes work even if you don't 'start using' it, but it'll *definitely* work if you do.) You can do all these same things to any unopened stack. But in the case of an unopened stack that's not already in memory, the first thing that happens when you "touch" it in any way is that is gets loaded into memory. This means you can preload stacks into memory before opening them by just referencing something about them. Then later when you "go to" them, the navigation doesn't take as long. This can be helpful if you're going to a large stack. HTH. Phil Davis Charles Hartman wrote: > I'm not clear about when a substack "exists." I want to set some custom > properties in a substack from a script in the main stack, and it would > be a lot handier if I could do it before issuing the "open" command for > the substack. It seems to work OK during my development cycle in the > IDE. But will it work (in a stack being run under the Dreamcard Player) > the first time out of the box? Or do I have to issue an "open" command > before Rev will know the substack exists, and where to put stuff in it? > > The substack is part of the stack file, so is it true that Rev knows > all about it, and properties (custom or built-in) can be set before > it's opened? The IDE's own evidence is kind of mixed: the Application > Browser knows the substack while it's closed, but the Inspector doesn't. > > Charles Hartman From alex at tweedly.net Tue Aug 2 20:51:40 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 03 Aug 2005 01:51:40 +0100 Subject: [OT] Pigs Fly In-Reply-To: References: Message-ID: <42F0151C.6090909@tweedly.net> Judy Perry wrote: >Whew! I'm feeling better already. > >I'm in agreement with Raskin on the uni-button mouse being preferrable for >error-reduction. > > And the one-key keyboard. Hardly any typing mistakes using that .... :-) >(I know, I know: I'm ducking the expected onslaught of people who swear by >the right-click with an eye on whether they'd be equally enthusiastic >about using a Unix 3-button mouse or a court reporter's 8-button chording >machine). > > I learnt to use a mouse on a 3-button system - still, IMO, best for an expert, all-day user. But because neither Mac nor Win UIs support it well, there are few apps nowadays that take proper advantage of a third button, so it's not as big an advantage now as it used to be. (And I wouldn't give up my scroll wheel for it :-) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.9/62 - Release Date: 02/08/2005 From davis.phil at comcast.net Tue Aug 2 20:53:20 2005 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 02 Aug 2005 17:53:20 -0700 Subject: when can I set a substack's properties? In-Reply-To: <42F013FA.6080405@comcast.net> References: <42F013FA.6080405@comcast.net> Message-ID: <42F01580.4020802@comcast.net> One forgotten yet exciting (?) detail: Phil Davis wrote: -- snip -- > You can do all these same things to any unopened stack. But in the case > of an unopened stack that's not already in memory, the first thing that > happens when you "touch" it in any way is that is gets loaded into > memory. This means you can preload stacks into memory before opening > them by just referencing something about them. You can reference something about the unloaded stack that doesn't actually exist, like this: get the fakeProperty of stack "bigImages" Phil From bvlahos at mac.com Tue Aug 2 21:07:15 2005 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 2 Aug 2005 18:07:15 -0700 Subject: [OT] Pigs Fly --a rose by any other name... In-Reply-To: References: <42EFD3C6.5040800@fourthworld.com> Message-ID: <4F96C4D8-FB48-4CFF-B819-CE6383750F41@mac.com> They say it can act like a single button mouse if you like but it actually IS a multi-button mouse. I'll have to see it to see how well it works but there are sensors in the front for both a left and right mouse button action. It looks interesting. I really like my Kensington Optical Elite (scroll wheel multbutton) mouse. Hopefully Apple did a great job on this but we will just have to try it. The most interesting aspect to me is the advancement on the scroll wheel so that it moves in all directions. This could be really good if it is well done. The only real concern I have is in the feedback to the user of actions. A nice tactile feel and click is a good thing. I've never really liked the idea of sounds (like from a little speaker in the mouse) as the only feedback. We will have to try it to see. Bill On Aug 2, 2005, at 5:08 PM, Dennis Brown wrote: > Folks, > > I hate to rain on your parade, but it IS a single button mouse. > Apple goes to great pains to point this fact out, just so they can > say they have not abandoned the single button mouse philosophy. > There is a single button. The touch sensors are on the left and > right sides (like holding down the control key when clicking the > single button mouse now). I guess pushing on the scroll button > clicks the mouse with neither right or left touch sensors > activated, so it is a third kind of click. The side "force" sensor > is not technically a button either. The whole mouse moves down to > activate the button --it is one big button. > > The lengths a company will go to just to never admit they were > wrong. All I can say, is: If it walks like a duck and quacks like > a duck, it must be a rose... > > Dennis > > On Aug 2, 2005, at 4:16 PM, Andre Garzia wrote: > > >> >> On Aug 2, 2005, at 5:12 PM, Richard Gaskin wrote: >> >> >> >>> Just as I'd heard from Punxatawny Phil, the Prognosticator of >>> Prognosticators, Apple is finally joining the rest of the >>> industry in shipping a multi-button mouse for its customers: >>> >>> New Mouse for Macs Has Multiple Buttons >>> >> apple_s_new_mouse;_ylt=As1C3mk3YMOhH9.n16yV7fYDW7oF;_ylu=X3oDMTBiMW0 >>> 4NW9mBHNlYwMlJVRPUCUl> >>> >>> >> >> It's not a multi-button mouse, it's a zero button mouse!!! :D less >> is more!!!! >> >> (it uses a touch sensor and it has a internal speaker for sound >> feedback... clever ain't it. Tech is derived from iPod scroll >> wheel tech.) >> >> Cheers >> andre >> >> PS: I want one! >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Tue Aug 2 21:14:03 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 02 Aug 2005 20:14:03 -0500 Subject: [OT] Pigs Fly In-Reply-To: References: Message-ID: <42F01A5B.2010502@chipp.com> Judy Perry wrote: > Whew! I'm feeling better already. > > I'm in agreement with Raskin on the uni-button mouse being preferrable for > error-reduction. Judy, Good duck and cover ;-) Never using a computer in the first place reduces errors to nill...does that make it preferrable? Just wondering, how much experience do you have with multi-button mice? best, Chipp From chipp at chipp.com Tue Aug 2 21:20:11 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 02 Aug 2005 20:20:11 -0500 Subject: [OT] Pigs Fly --a rose by any other name... In-Reply-To: <4F96C4D8-FB48-4CFF-B819-CE6383750F41@mac.com> References: <42EFD3C6.5040800@fourthworld.com> <4F96C4D8-FB48-4CFF-B819-CE6383750F41@mac.com> Message-ID: <42F01BCB.9010609@chipp.com> Bill Vlahos wrote: > The only real concern I have is in the feedback to the user of actions. > A nice tactile feel and click is a good thing. I've never really liked > the idea of sounds (like from a little speaker in the mouse) as the > only feedback. We will have to try it to see. I'm with you on that Bill! Not having any feedback, or click sensation, would IMO really make things difficult. Perhaps there's something else to the experience once you've tried it. As an Industrial Designer in a former life, I've spent a bit of time with HF testing labs and can say w/out a doubt, Apple's interface hardware products rarely scored above average. They always scored high in the 'cool factor.' One year I was asked by Business Week to be a judge for their annual design issue, and I believe we awarded Apple 2 or 3 prizes. But it was mostly for style, not substance. -Chipp From chipp at chipp.com Tue Aug 2 21:24:17 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 02 Aug 2005 20:24:17 -0500 Subject: Rev quits on stack removed from memory? In-Reply-To: References: Message-ID: <42F01CC1.10903@chipp.com> Hi Charles, I, too, have seen this happen. I'm pretty sure it has something to do with the breakpoints in your stacks. Try this if you can produce a recipe where it predictably quits: After you close your stacks and before you click on menu, or close the scripts-- type and execute in the msg: set the breakpoints to empty. See if that doesn't fix it. If it does, then you should 'fix' your stacks as they have some unresolved breakpoint properties. You can get Xavier's plugin which will 'fix' stacks like this. best, Chipp Charles Hartman wrote: > I haven't seen this often enough to be sure -- but it _seems_ to me > that if I have a couple of scripts open for editing, and close-and- > remove-from-memory the stack they belong to, and then as an > afterthought try to close those script windows, then Rev dies (Close, > Reopen, Report to Apple). From scott at elementarysoftware.com Tue Aug 2 21:23:56 2005 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 2 Aug 2005 18:23:56 -0700 Subject: open drawer bug 3026 Message-ID: <3440b0c6a5955a47657f82b9429aa9b2@elementarysoftware.com> Using Rev 2.6 I noticed that when opening a stack as a drawer it does not slide open smoothly (as in Rev2.5.1) but simply snaps open. It does close with the standard drawer effect. I've submitted a BugZilla report, 3026, if anyone else would care to cast a vote. -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com From douggilliland at gmail.com Tue Aug 2 21:30:06 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Tue, 2 Aug 2005 21:30:06 -0400 Subject: Flashing numbers added to Number Picker stack. In-Reply-To: <203.6c16065.301e88b8@aol.com> References: <203.6c16065.301e88b8@aol.com> Message-ID: <890e3d26050802183065174e95@mail.gmail.com> Thanks for the script but I can't get it to work. I get the error: Type Handler: error in command Object Button Line on MakeList DerNumber Hint on I'm too new at this to figure it out. Any ideas? Thanks, Doug Gilliland Sarasota, FL On 7/31/05, Cubist at aol.com wrote: > sez douggilliland at gmail.com: > >One more question - if it's not asking too much. > >Sometimes I want a number, once it is selected, to be taken out of > >circulation. Is there a short script to add that will do this? I have > >searched all the resources but cannot find anything that explains how > >to do this. > Try something like this: > > local WhatzLeft > > on MakeList DerNumber > -- call this function when you want to generate a pool of numbers > -- > -- it assumes DerNumber is a positive integer, so watch what you feed it > > put "" into Rezult > repeat with K1 = 1 to DerNumber > put K1 into item K1 of Rezult > end repeat > put Rezult into WhatzLeft > end MakeList > > function PickOne > put the number of items in WhatzLeft into PoolSize > if PoolSize = 0 then > return "Hey! Doofus! You ain't got nuttin' left!" > else > put the random of PoolSize into Fred > put item Fred of WhatzLeft into Rezult > delete item Fred of WhatzLeft > return Rezult > end if > end PickOne > > Hope this helps... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From vokey at uleth.ca Tue Aug 2 21:32:13 2005 From: vokey at uleth.ca (John Vokey) Date: Tue, 2 Aug 2005 19:32:13 -0600 Subject: use-revolution Digest, Vol 23, Issue 10 In-Reply-To: <20050803003215.5351782549A@mail.runrev.com> References: <20050803003215.5351782549A@mail.runrev.com> Message-ID: <5BE31E0B-D96D-4547-BAE0-696AF386631C@uleth.ca> Nope. Thumbsize is 11. One other strange change: a grey bar occurs a few pixels below the slider that doesn't appear with any previous version of OS X. On 2-Aug-05, at 6:32 PM, use-revolution-request at lists.runrev.com wrote: > Is it possible the thumbsize of the slider is 0? > This tends to slow down rev enormously in Tiger (may be also in older > OS but can't test it anymore) > Setting it to 1 resolves this problem. > > Greetings, > Wouter - JRV -- There are 10 kinds of people: those who understand binary, and those who don't From vokey at uleth.ca Tue Aug 2 21:54:45 2005 From: vokey at uleth.ca (John Vokey) Date: Tue, 2 Aug 2005 19:54:45 -0600 Subject: use-revolution Digest, Vol 23, Issue 9 In-Reply-To: <20050802225630.A435C82548F@mail.runrev.com> References: <20050802225630.A435C82548F@mail.runrev.com> Message-ID: <43372404-479F-4E72-9475-603A2DE04D0C@uleth.ca> This is even stranger: there are no idle loops, etc., but under 10.4.2, it uses upwards of 85% CPU time (and the fans come on for both my G5s and my powerbooks), but drops to virtually nothing under 10.3.x. This is a serious, but peculiar bug. BTW, Mark's solution won't work as I have no scripts associated with the slider (they all occur at the card level where the slider value is read). On 2-Aug-05, at 4:56 PM, use-revolution-request at lists.runrev.com wrote: > I have encountered a strange system incompatibility. Stacks that ran/ > run fine under Mac OS X 10.3.x, produce the following peculiar > behaviour under 10.4.2 (whether using the MC or RR IDE). I have a > slider in a group that also contains a default (throbbing) button, > which is to be clicked when the slider is in the position the user > wants. All is fine under 10.3.x (i.e., the button throbs and the > slider tracks the mouse as the user slides it back and forth); under > 10.4.2, the button s-l-o-w-l-y throbs (i.e., you can see each step of > the throb animation), and the slider no longer keeps up with the > mouse (i.e., it lags by a lot). It is like the whole system has been > slowed down by a factor of 2 or 3 (i.e., 100 or a 1000-fold). Yet, > other default buttons throb correctly. (I have no other sliders in > these stacks). It is clearly not my code (indeed, I have used this > group successfully since at least MC 2.2, and probably before, and on > all other versions of OS X). > - JRV -- There are 10 kinds of people: those who understand binary, and those who don't From charles.hartman at conncoll.edu Tue Aug 2 22:43:15 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 2 Aug 2005 22:43:15 -0400 Subject: when can I set a substack's properties? In-Reply-To: <42F013FA.6080405@comcast.net> References: <42F013FA.6080405@comcast.net> Message-ID: Very, very nifty. It's making me think about redesigning the main- stack / complicated-dialog relation I'm working on. Many thanks. Charles On Aug 2, 2005, at 8:46 PM, Phil Davis wrote: > Hi Charles, > > You can do a LOT with a substack without officially opening it. > > - I'm assuming you're talking about a substack of a stack that's > already open. If so, the substack is already in memory. > > - You can get/set its properties. > > - You can run its handlers by invoking them directly: > send "doSomething" to stack "sub1". > > - If you 'start using' the substack, you can use its image object > IDs as icon IDs of your mainstack buttons. (It'll sometimes work > even if you don't 'start using' it, but it'll *definitely* work if > you do.) > > > You can do all these same things to any unopened stack. But in the > case of an unopened stack that's not already in memory, the first > thing that happens when you "touch" it in any way is that is gets > loaded into memory. This means you can preload stacks into memory > before opening them by just referencing something about them. Then > later when you "go to" them, the navigation doesn't take as long. > This can be helpful if you're going to a large stack. > > > HTH. > > Phil Davis > > > > Charles Hartman wrote: > >> I'm not clear about when a substack "exists." I want to set some >> custom properties in a substack from a script in the main stack, >> and it would be a lot handier if I could do it before issuing the >> "open" command for the substack. It seems to work OK during my >> development cycle in the IDE. But will it work (in a stack being >> run under the Dreamcard Player) the first time out of the box? Or >> do I have to issue an "open" command before Rev will know the >> substack exists, and where to put stuff in it? >> The substack is part of the stack file, so is it true that Rev >> knows all about it, and properties (custom or built-in) can be >> set before it's opened? The IDE's own evidence is kind of mixed: >> the Application Browser knows the substack while it's closed, but >> the Inspector doesn't. >> Charles Hartman >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Tue Aug 2 22:54:58 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 2 Aug 2005 19:54:58 -0700 (PDT) Subject: [OT] Pigs Fly In-Reply-To: <42F00D25.9020009@fourthworld.com> Message-ID: I knowe you and others doubtless believe this. So, a uni-button mouse scores higher on 2 out of 3. Not bad. As for 3, productivity, that's something that comes later, as an advanced skill, much as does a 3 button mouse or an 8-chord transcription device. As I'm guessing that the purpose of the right-click is to offer a short-hand access to a software's commands, it could be argued that keystroke-accelerator-comands are about as fast (slower, to be certain, unless you can tab to select items). Every day there are people who are new to computers who are learning to use them. I once had a retired cardiac surgeon take the 'how to turn it on' class. It happened to be on the PC platform. He got so confused over the two buttons that he ended up dropping the class. Clearly, he was not a stupid man. And then there's children still learning their left from their right. And then there's the elderly, with perhaps diminishing fine motor control (this was one of several issues at play with respect to the surgeon). I suppose a 2 (or 3, or ...) button mouse scores higher on productivity similar to how some people absolutely swear by an automatic transmission (predictably, I'm swearing _at_ it). Another issue I have with the right-clicking is that it sometimes seriously violates Schneiderman's articulation of the direct manipulation paradigm in that the user can sometimes right-click on nothing in the middle of nowhere. So, I'm happy to hear of another uni-button Apple mouse. People preferring a 2 (or 3 or...) button mouse can already buy them. (Kensington's trackball has up to 4 programmable buttons as you doubtless are aware). I wonder how well they sell? Doubtless, Kensington's not losing money, but still I wonder. And, for what it's worth, whenever we discuss this issue in class, only the unix geeks are (consistently) comfortable with a 3 button mouse. Judy On Tue, 2 Aug 2005, Richard Gaskin wrote: > Three factors come into play, with error-reduction being one of them. > The other is productivity, and a third being learnability. From jperryl at ecs.fullerton.edu Tue Aug 2 23:06:08 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 2 Aug 2005 20:06:08 -0700 (PDT) Subject: [OT] Pigs Fly In-Reply-To: <42F01A5B.2010502@chipp.com> Message-ID: Chipp, I use two-button mice when I teach on the PC platform. I've played around with 3-button mice a bit. I have a 4-button programmable Kensington trackball (and a two-button Stingray trackball that offers true right-clickability). In addition to reading and agreeing with Raskin (although I think he was a bit of a nutter on the whole modality issue), my observations are partly based on nearly a decade of teaching new computer users how to use a computer. And it's definitely been a problem. I'm not certain I understand your argument about not using a computer reducing errors. Of course that's true. But that's not the issue. It's which is easier to learn? A one-button mouse or a two button mouse or a three button mouse... or an n-button mouse? Englebert, of course, ultimately ended up preferring something else altogether to a uni-button mouse. I think it was a foot-based control. I once had an English teacher stricken by polio in his youth who steered his car using a foot-based device... Judy On Tue, 2 Aug 2005, Chipp Walters wrote: > Judy, > > Good duck and cover ;-) > > Never using a computer in the first place reduces errors to nill...does > that make it preferrable? Just wondering, how much experience do you > have with multi-button mice? From jperryl at ecs.fullerton.edu Tue Aug 2 23:08:18 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 2 Aug 2005 20:08:18 -0700 (PDT) Subject: [OT] Pigs Fly --a rose by any other name... In-Reply-To: <42F01BCB.9010609@chipp.com> Message-ID: That's an interesting observation... the deaf for years have been clamouring for such tactile devices, particularly for gaming, and the visually impaired for, well, just about everything else I suspect. 'Twould be nice... The puck sucked, though. But my kids like it (their hands are small enough). Judy On Tue, 2 Aug 2005, Chipp Walters wrote: > > > Bill Vlahos wrote: > > > The only real concern I have is in the feedback to the user of actions. > > A nice tactile feel and click is a good thing. I've never really liked > > the idea of sounds (like from a little speaker in the mouse) as the > > only feedback. We will have to try it to see. > > I'm with you on that Bill! Not having any feedback, or click sensation, > would IMO really make things difficult. Perhaps there's something else > to the experience once you've tried it. > > As an Industrial Designer in a former life, I've spent a bit of time > with HF testing labs and can say w/out a doubt, Apple's interface > hardware products rarely scored above average. They always scored high > in the 'cool factor.' One year I was asked by Business Week to be a > judge for their annual design issue, and I believe we awarded Apple 2 or > 3 prizes. But it was mostly for style, not substance. From scott at elementarysoftware.com Tue Aug 2 23:38:06 2005 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 2 Aug 2005 20:38:06 -0700 Subject: numToChar(28) in list field Message-ID: I have a list field where the items on each line are delimited with numToChar(28). This works fine when I edit the content of the list field using a script. However, when I edit it using an object inspector window the item delimiters all change to numToChar(215). This is easy enough to work around but I'm curious about what the heck is going on. There is probably a good reason but I can't think of it. -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com From userev at canelasoftware.com Wed Aug 3 00:47:14 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 2 Aug 2005 21:47:14 -0700 Subject: use-revolution Digest, Vol 23, Issue 10 In-Reply-To: <5BE31E0B-D96D-4547-BAE0-696AF386631C@uleth.ca> References: <20050803003215.5351782549A@mail.runrev.com> <5BE31E0B-D96D-4547-BAE0-696AF386631C@uleth.ca> Message-ID: <98F525F8-288B-4F60-B5FF-836F835393AA@canelasoftware.com> On Aug 2, 2005, at 6:32 PM, John Vokey wrote: > Nope. Thumbsize is 11. One other strange change: a grey bar > occurs a few pixels below the slider that doesn't appear with any > previous version of OS X. Bug 3043 has been posted in BugZilla to get this fixed. Mark Talluto -- CANELA Software http://www.canelasoftware.com From userev at canelasoftware.com Wed Aug 3 00:48:39 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 2 Aug 2005 21:48:39 -0700 Subject: use-revolution Digest, Vol 23, Issue 9 In-Reply-To: <43372404-479F-4E72-9475-603A2DE04D0C@uleth.ca> References: <20050802225630.A435C82548F@mail.runrev.com> <43372404-479F-4E72-9475-603A2DE04D0C@uleth.ca> Message-ID: <0AD51F2B-5B9A-4E35-85B5-B0FCAA4E4FCA@canelasoftware.com> On Aug 2, 2005, at 6:54 PM, John Vokey wrote: > This is even stranger: there are no idle loops, etc., but under > 10.4.2, it uses upwards of 85% CPU time (and the fans come on for > both my G5s and my powerbooks), but drops to virtually nothing > under 10.3.x. This is a serious, but peculiar bug. BTW, Mark's > solution won't work as I have no scripts associated with the slider > (they all occur at the card level where the slider value is read) I was not very clear about the solution. The mentioning of scripts was only if you needed to preserve any scripted behavior in your sliders. The true solution is the replace the slider altogether with a new one from Rev 2.6. That has worked for me in every case. Mark Talluto -- CANELA Software http://www.canelasoftware.com From ambassador at fourthworld.com Wed Aug 3 00:50:30 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 02 Aug 2005 21:50:30 -0700 Subject: [OT] Pigs Fly In-Reply-To: References: Message-ID: <42F04D16.5060808@fourthworld.com> Judy Perry wrote: > I knowe you and others doubtless believe this. So, a uni-button mouse > scores higher on 2 out of 3. Not bad. As for 3, productivity, that's > something that comes later, as an advanced skill The majority of people who buy computers today have used one before. There are no doubt many who haven't (likely the majority of the world's people), but from a manufacturer's point of view the main question is "Who's buying our boxes and what can we do for them?" So among those likely to buy computers, in the 21st century apparently Apple believes the market has matured enough to warrant two-button functionality. While learnability is important, learning happens exactly once. From then on it's all about productivity for the rest of one's computing life. By providing a mouse that people's productivity can grow with, Apple may indeed be risking the learning curve for a subset of their market. But given Apple's dedication to learnability I have to trust their judgement on this. Besides, even if I disagreed with them, would they listen to me? The multi-button functionality is about to become the universal standard, whether we disagree with Apple or not. It would seem that the minority who may have trouble learning computing with multi-button mouse functionality are the ones Apple is now suggesting purchase a specialized mouse. > Another issue I have with the right-clicking is that it sometimes > seriously violates Schneiderman's articulation of the direct manipulation > paradigm in that the user can sometimes right-click on nothing in the > middle of nowhere. Where in a modern GUI is "nowhere"? Even the Desktop is a place, and has properties. > So, I'm happy to hear of another uni-button Apple mouse. Apple's new mouse a multi-button mouse in terms of functionality. Whether Apple succeeds in a cleaner design to provide that functionality, or instead confuses people by making the delineation between left and right unclear, remains to be seen. Sometimes they get it right (the iPod wheel) and sometimes not (the hockey puck iMac mouse). -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From charlessilverman at sympatico.ca Wed Aug 3 01:04:33 2005 From: charlessilverman at sympatico.ca (Charles Silverman) Date: Wed, 3 Aug 2005 01:04:33 -0400 Subject: right-click on Macs In-Reply-To: <20050803043950.0E574825513@mail.runrev.com> References: <20050803043950.0E574825513@mail.runrev.com> Message-ID: <9DCDBC48-C38E-4CAA-952A-B3F3CB82E40A@sympatico.ca> Is there a way to get the right-click when Rev is running on Mac OS X machines to bring up Apple's Application wide contextual menu? It makes sense to let the user access these features... I've gotten used to the built-in dictionary feature, spell-checking and highlighting a word or phrase and right-clicking to go directly to google and would imagine that most Mac users are coming to expect these features in all applications. thanks, Charles Silverman From jeff at siphonophore.com Wed Aug 3 01:15:38 2005 From: jeff at siphonophore.com (Jeffrey Reynolds) Date: Wed, 03 Aug 2005 01:15:38 -0400 Subject: [OT] Pigs Fly In-Reply-To: <20050803043950.2C76182557D@mail.runrev.com> References: <20050803043950.2C76182557D@mail.runrev.com> Message-ID: <413db17970f8081e02f97a2732dd9b6b@siphonophore.com> I gotta say after teaching folks how to use computers since back in jr high in the mid 70s, if you can simplify something when you start out, it helps. folks that have pointed out that not everyone is a computer expert that buys a computer is very true. I still come across folks that have had and used computers for years and they still dont understand many aspects of their system, including the right click. Apple has always drawn the type of user that has the desire/talent/interest to do something, but doesn't always care much (at least in the beginning) about the machine and how it works, so getting them doing something fast has kept them a profit making company when most others have been knocked out of the pc market long ago... Apple has continued to mine the PC market for folks that get frustrated with the complexity of their pc and want something more direct. I dare say that apple has it right, start simple and when you advance you can buy a multibutton mouse that fits your brain (mine has 5). Apple users are smart enough to realize this, pc users, well... now I'll duck! sorry apple bashing poking gets a response from me. i have had too many good, fairly controlled situations comparing the two platforms head to head with striking results. jeff reynolds From ambassador at fourthworld.com Wed Aug 3 01:22:36 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 02 Aug 2005 22:22:36 -0700 Subject: [OT] Pigs Fly In-Reply-To: <413db17970f8081e02f97a2732dd9b6b@siphonophore.com> References: <20050803043950.2C76182557D@mail.runrev.com> <413db17970f8081e02f97a2732dd9b6b@siphonophore.com> Message-ID: <42F0549C.6030201@fourthworld.com> Jeffrey Reynolds wrote: > I dare say that apple has it right, start simple and when you advance > you can buy a multibutton mouse that fits your brain (mine has 5). Apple > users are smart enough to realize this, pc users, well... now I'll duck! > > sorry apple bashing poking gets a response from me. I haven't seen much bashing here. Apple has decided to move toward shipping mice with multi-button functionality. We can fight them or support them, but it's what they're doing just the same. The senior editor of Macworld, Jason Snell, reviews it here: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Wed Aug 3 01:24:14 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 02 Aug 2005 22:24:14 -0700 Subject: right-click on Macs In-Reply-To: <9DCDBC48-C38E-4CAA-952A-B3F3CB82E40A@sympatico.ca> References: <20050803043950.0E574825513@mail.runrev.com> <9DCDBC48-C38E-4CAA-952A-B3F3CB82E40A@sympatico.ca> Message-ID: <42F054FE.8060409@fourthworld.com> Charles Silverman wrote: > Is there a way to get the right-click when Rev is running on Mac OS X > machines to bring up Apple's Application wide contextual menu? Do you mean system-wide? Which apps support that? It'd be nice to have access to it, and it's equivalent on Windows too if there is such a best. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From jperryl at ecs.fullerton.edu Wed Aug 3 02:22:18 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 2 Aug 2005 23:22:18 -0700 (PDT) Subject: [OT] Pigs Fly In-Reply-To: <42F04D16.5060808@fourthworld.com> Message-ID: Still, you will have those who are learning it for the first time (e.g., my heart surgeon previously mentioned, children, etc.) for whom a single buttoned mouse is preferrable. Also -- for how many of the 'average' users will right-clicking be well understood? > While learnability is important, learning happens exactly once. From > then on it's all about productivity for the rest of one's computing life. -Yup, which goes on to translate as "if learning doesn't happen..." hence the importance of the uni-button mouse. It is agreed that 2- and 3- and n-button mice are for advanced audiences' and their productivity enhancements... if they don't learn uni-button mice, well, ... you have Chipp's proposition. > > By providing a mouse that people's productivity can grow with, Apple may > indeed be risking the learning curve for a subset of their market. But > given Apple's dedication to learnability I have to trust their judgement > on this. --I agree with this. It functions as a uni-button mouse but adapts for a multi-button mouse user. Very Apple. > > Besides, even if I disagreed with them, would they listen to me? --In singular, I don't know. In aggregate, yes (witness the furor over the 'candy' apple doing nothing in the menu bar in the OS X beta). > > Another issue I have with the right-clicking is that it sometimes > > seriously violates Schneiderman's articulation of the direct manipulation > > paradigm in that the user can sometimes right-click on nothing in the > > middle of nowhere. > > Where in a modern GUI is "nowhere"? Even the Desktop is a place, and > has properties. --That's an abstraction, not a concrete thing. Right-clicking on _nothing_ violates the concept. The articulation is 'visible items of interest' in which nothing is not an item of interest. --And, in any case, the purpose (unless anyone can correct me; corrections clearly sought) is that right-clicking is for a short-cut. The problem is that on Window side, too often it is suggested as the ONLY route. --I have no problems with short-cuts. As long as more conventional solutions are provided. That way, both (or all) camps are provided for. > Apple's new mouse a multi-button mouse in terms of functionality. > Whether Apple succeeds in a cleaner design to provide that > functionality, or instead confuses people by making the delineation > between left and right unclear, remains to be seen. Sometimes they get > it right (the iPod wheel) and sometimes not (the hockey puck iMac mouse). --I sincerely doubt that Apple can make left versus right-clicking any more confusing than it already is. What is important is that it remain a secondary access rather than a primary access to commands, info., etc. --Here's the gist of my argument: (1) You see something of interest; (2) You click on it; (3) Something happens. You (and/or others) would seem to suggest that it's better that: (1) You see something ----Or a void (2) You click on something ----Or the void (3) Something happens ----Or something else happens And, for the user, either what they want happens or they get confused. It is inarguable that, for expert users, anything exceeding 1 mouse button is 'expert' and hence more productive (even up to an 8-button chording device for court reporters). The question is that, where for x = 1 + n, what does "n" equal? For Windows (semi-expert) users, the answer is clearly n=1. But for unix users, it is n=2. For other expert users, it us n=7. Where is the line to be drawn? Clearly as "n" gets larger, so does the possibility for error/confusion. More simply put, how would the legion of Windows users feel about the imposition of a mouse button = 3 feel? My Windows students indicate tha N=1 (thus, x= 1+1) is the correct number of buttons. Less than that is lame, more than that is confusing. Unix students indicate that n should = 2 (thus, 1 +2 = 3) mouse buttons. Less restricts expert usage, more would be confusing. Hence my argument. Judy From jperryl at ecs.fullerton.edu Wed Aug 3 02:23:53 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 2 Aug 2005 23:23:53 -0700 (PDT) Subject: right-click on Macs In-Reply-To: <9DCDBC48-C38E-4CAA-952A-B3F3CB82E40A@sympatico.ca> Message-ID: I think it is option-click. At least, that's the way I've done it using a uni-button mouse (because, you can, of course, get a true right-click using a 3rd party mouse on a Mac should you so need). Judy On Wed, 3 Aug 2005, Charles Silverman wrote: > Is there a way to get the right-click when Rev is running on Mac OS X > machines to bring up Apple's Application wide contextual menu? It > makes sense to let the user access these features... I've gotten used > to the built-in dictionary feature, spell-checking and highlighting a > word or phrase and right-clicking to go directly to google and would > imagine that most Mac users are coming to expect these features in > all applications. From mcdomi at free.fr Wed Aug 3 03:16:28 2005 From: mcdomi at free.fr (Dom) Date: Wed, 3 Aug 2005 09:16:28 +0200 Subject: [OT] Pigs Fly In-Reply-To: <42F0151C.6090909@tweedly.net> Message-ID: <1h0po7n.tek7sh18x1a16M%mcdomi@free.fr> Alex Tweedly wrote: > And the one-key keyboard. Hardly any typing mistakes using that .... :-) The one you write on it with a pen? -- Revolutionario (not so much) With a Newton MP130, waiting for syncing between [Newton] Notes and my [Rev] Journal From martinblackman at gmail.com Wed Aug 3 03:28:10 2005 From: martinblackman at gmail.com (Martin BLACKMAN) Date: Wed, 3 Aug 2005 15:28:10 +0800 Subject: Tabbed button colour, Win XP Message-ID: <79d1bee705080300284850bb0b@mail.gmail.com> I have a tabbed button in Rev 2.6 whose background color is set to dark grey. In XP with the theme set to 'windows classic' it appears as dark grey. With the theme set to 'Windows XP' the background of the button becomes off-white, and setting the background color of the button has no effect. I use this button effectively as the background for most of my card, and switch between cards using the tabs. Can someone suggest a way to force the colour to grey ? I could put a grey rectangle on top but that would still leave the tabs... thanks Martin Blackman From eric.miclo at wanadoo.fr Wed Aug 3 03:34:03 2005 From: eric.miclo at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Miclo?=) Date: Wed, 3 Aug 2005 09:34:03 +0200 Subject: open drawer bug 3026 In-Reply-To: <3440b0c6a5955a47657f82b9429aa9b2@elementarysoftware.com> References: <3440b0c6a5955a47657f82b9429aa9b2@elementarysoftware.com> Message-ID: Hello, I did report that bug (#2921) on 2005/06/22 and it is stated as fixed/ resolved. I got a message telling me it was fixed in build 114 that should have been released some times ago, but the latest build is still 108. Does somebody know if a new build is in the pipeline? Regards, ?rIC Le 3 ao?t 05 ? 03:23, Scott Morrow a ?crit : > Using Rev 2.6 I noticed that when opening a stack as a drawer it > does not slide open smoothly (as in Rev2.5.1) but simply snaps > open. It does close with the standard drawer effect. I've > submitted a BugZilla report, 3026, if anyone else would care to > cast a vote. > -Scott Morrow > > Elementary Software > (Now with 20% less chalk dust !) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- My NeXT computer will Be a Mac too! -- From chipp at chipp.com Wed Aug 3 03:38:31 2005 From: chipp at chipp.com (Chipp Walters) Date: Wed, 03 Aug 2005 02:38:31 -0500 Subject: [OT] Pigs Fly In-Reply-To: References: Message-ID: <42F07477.5010505@chipp.com> Judy, You're confusing how hard something is to learn, versus how hard it is to use day in and day out. It's proven highly modal systems are the easiest to learn (ATM machine), but you wouldn't want a bank teller to have to use one 8 hours a day! In fact, when the Mac first came out (I purchased the first one in Houston), it was unique in it's mostly non-modal approach, and NOT intuitive in the least to use. Of course, once one took the time to 'learn' the interface, productivity soared. -Chipp Judy Perry wrote: > Every day there are people who are new to computers who are learning to > use them. I once had a retired cardiac surgeon take the 'how to turn it > on' class. It happened to be on the PC platform. He got so confused over > the two buttons that he ended up dropping the class. > > Clearly, he was not a stupid man. And then there's children still > learning their left from their right. And then there's the elderly, with > perhaps diminishing fine motor control (this was one of several issues at > play with respect to the surgeon). From katherine.w.c at gmail.com Wed Aug 3 05:14:16 2005 From: katherine.w.c at gmail.com (Kat) Date: Wed, 03 Aug 2005 05:14:16 -0400 Subject: More on SecondLife system requirements Message-ID: <42F08AE8.2070904@gmail.com> After reading James/Cazzj's comments to the SERUG Google Group about Mac vs Windows for Second Life (SL, http://www.secondlife.com, where we plan to hold virtual meetings), I borrowed my dad's new 3.2 GHz HP laptop to see if it really was so much better. I regret to announce that it is. But some caveats: * I know that the RAM on both my Macs is insufficient for simulation gaming, which is what SL is. RAM and VRAM are probably the biggest trouble-makers on the block in this realm. * The HP laptop is much faster and cleaner than either of my Macs. One is a 1.5 GHz G4 laptop with 768 MB of RAM (which runs ok in most modes, but not as well as the HP). The other is an older G4 tower, 867 MHz Dual Processor, with only 512 MB of RAM. It is not as good as the laptop, of course, but it has a 19" CRT monitor that is infinitely more SL-friendly than the 12" laptop's screen. * The biggest trouble area is the Appearance editor, which is what brought down Jonathan's computer. I would be very interested to hear from anyone who has a G5 with a lot of RAM and an advanced video card, to see what your experience with the SecondLife software is. A lifetime basic account is just US$9.95, and there's a 7-day free trial, so if you have such a system and a few moments to give it a whirl, please do let me (us) know what you think. Kat Cochrane a.k.a. "Kat Lemieux" in SecondLife From katherine.w.c at gmail.com Wed Aug 3 05:28:24 2005 From: katherine.w.c at gmail.com (Kat) Date: Wed, 03 Aug 2005 05:28:24 -0400 Subject: SERUG group founded in SecondLife Message-ID: <42F08E38.1080506@gmail.com> To follow up on the message I just sent about using SecondLife as a virtual meeting place for SERUG (SouthEastern [US] Revolution User Group), I'd like to reiterate that this organization is open to any Revolution developers who are interested, and with some of our meetings taking place online instead of in a physical location, it's practical for anyone anywhere to join us. However, to use the SecondLife system, you do need broadband and a reasonably powerful computer. SecondLife is a serious simulation game that is ripe for exploitation as a business tool as well as for all those people who think games are for fun. Silly people! ;-) Accounts for SecondLife basic users cost a one-time fee of US$9.95, after a 7-day free trial. "Premium" accounts (which are required to buy "land" in SL) start at $9.95/mo or $72/yr and go up from there based on the amount of (virtual) land you own. The software is cross-platform (Mac/Win/*nix/etc.), but does require broadband as well as a lot of computer power. (See my previous message about that.) If you already belong to SecondLife or decide to try it, and would like to join the SERUG group there, please IM me your request "in world". If you have any questions about it, or about the RL ("Real Life") SERUG group that is getting organized now, feel free to contact me, or (after Aug. 19) Ralph Forehand. Ralph will be on vacation till then, so it's better to ask me if you want a quicker answer. Cheers, Katherine "Kat" Cochrane a.k.a. "Kat Lemieux" in SecondLife From FlexibleLearning at aol.com Wed Aug 3 08:43:36 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 3 Aug 2005 08:43:36 EDT Subject: Cross-Platform default btn Geometry Message-ID: <66.5c3465aa.302215f8@aol.com> Something Richard said the other day, that Mac and Win display the OK and Cancel buttons differently. So it occured to me that there should be a handler that deals with this automatically so the buttons display correctly on either OS, preferably in a flexible way. This is what I have come up with. Not very elegant and a bit brute-force, so improvements welcome. Consider the gauntlet thrown! In a stack with three buttons called 'OK', 'Default' and 'Cancel' horizontally from left to right, add this to a 'TestMe' button... on mouseUp setOSbtnGeometry "Cancel/D","OK","off","MacOS" end mouseUp --| Cross platform button geometry --| This assumes that the default or main option should be on the right in win32 and on the --| left in macOS. --| This handler takes the names of two buttons, then sets their position and default state --| accordingly. It also provides for over-riding the OS for testing purposes. --| --| Syntax: --| setOSbtnGeometry "Btn1Name[/D]","Btn2Name[/D]","on|off" [,"macOS|Win32"] --| --| Param 1 and 2: --| The names of the two buttons involved. Use /D to define which is the default position --| Param 3: --| Define whether the default state should be "on" or "off" --| Param 4: --| Optional, to force platform over-ride for testing. Omit to use the current platform. --| --| Examples: --| setOSbtnGeometry "Cancel/D","OK","on" --| setOSbtnGeometry "Cancel","OK/D","off" --| setOSbtnGeometry "Yes","No/D","on","macOS" on setOSbtnGeometry pFirstBtnName, pSecondBtnName, pState, pOS if char -2 to -1 of pFirstBtnName is "/D" then delete char -2 to -1 of pFirstBtnName put pFirstBtnName into tDefault put pSecondBtnName into tOther else if char -2 to -1 of pSecondBtnName is "/D" then delete char -2 to -1 of pSecondBtnName end if put pSecondBtnName into tDefault put pFirstBtnName into tOther end if put the rect of btn pFirstBtnName into rect1 put the rect of btn pSecondBtnName into rect2 if pState is "on" then set the default of btn tDefault to TRUE else set the default of btn tDefault to FALSE set the default of btn tOther to FALSE if item 1 of rect1 < item 1 of rect2 then put rect2 into leftSide; put rect1 into rightSide else put rect2 into rightSide; put rect1 into leftSide end if if pOS <>"" then put pOS into tPlatform else put the platform into tPlatform if tPlatform="MacOS" then set the rect of btn tDefault to rightSide set the rect of btn tOther to leftSide else set the rect of btn tDefault to leftSide set the rect of btn tOther to rightSide end if end setOSbtnGeometry /H From tominjapan at excite.com Wed Aug 3 09:25:56 2005 From: tominjapan at excite.com (Thomas McCarthy) Date: Wed, 3 Aug 2005 09:25:56 -0400 (EDT) Subject: OT iBook DVD can play internat'l movies? Message-ID: <20050803132556.DC3D43C77@xprdmailfe9.nwk.excite.com> Sorry for the completely off topic nature of this...but Can my iBook's DVD play DVDs from any world zone? I have a Japanese issued iBook (English system). So before I order any DVDs from Amazon, I thought I'd better check. thanks tom _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From bnz2 at cdc.gov Wed Aug 3 09:36:40 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 3 Aug 2005 09:36:40 -0400 Subject: when can I set a substack's properties? Message-ID: <64878EF567131D4596246171F75FD4A9968147@m-epo-1.epo.cdc.gov> I recently found that if you tell an unopened substack to create a new group within itself, it will give that group an ID of 0. If you tell it to create more than one new group within itself, all of the groups will have an ID of 0. So, there must be at least some differences between open and unopen stacks. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Phil Davis Sent: Tuesday, August 02, 2005 8:53 PM To: How to use Revolution Subject: Re: when can I set a substack's properties? One forgotten yet exciting (?) detail: Phil Davis wrote: -- snip -- > You can do all these same things to any unopened stack. But in the case > of an unopened stack that's not already in memory, the first thing that > happens when you "touch" it in any way is that is gets loaded into > memory. This means you can preload stacks into memory before opening > them by just referencing something about them. You can reference something about the unloaded stack that doesn't actually exist, like this: get the fakeProperty of stack "bigImages" Phil _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From webmaster at dreamscapesoftware.com Wed Aug 3 10:07:56 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Wed, 03 Aug 2005 09:07:56 -0500 Subject: OT iBook DVD can play internat'l movies? In-Reply-To: <20050803132556.DC3D43C77@xprdmailfe9.nwk.excite.com> References: <20050803132556.DC3D43C77@xprdmailfe9.nwk.excite.com> Message-ID: <42F0CFBC.8040700@dreamscapesoftware.com> Thomas McCarthy wrote: > Sorry for the completely off topic nature of this...but > Can my iBook's DVD play DVDs from any world zone? > I have a Japanese issued iBook (English system). So before I order any DVDs from Amazon, I thought I'd better check. Almost all DVD players (including those in computers) will allow you to play DVDs from any region. Unfortunately, playing a DVD from another region will change the player's region code. This code can only be changed 5 times before it locks and stays at that code. You can get the drive reset, but only if you send it into the manufacturer and have it reset. So if you are going to be ordering DVDs, stick to a region code and leave it there. :) More information about this can be attained by doing a google search for "DVD Region Codes". Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From jbondy at sover.net Wed Aug 3 07:16:16 2005 From: jbondy at sover.net (Jon) Date: Wed, 03 Aug 2005 07:16:16 -0400 Subject: global problems In-Reply-To: <42EFFE36.7040900@fourthworld.com> References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> <3547440295.20050801234259@ahsoftware.net> <42EF8C3D.2010207@hyperactivesw.com> <17214500670.20050802121315@ahsoftware.net> <42EFFCF6.7090609@sover.net> <42EFFE36.7040900@fourthworld.com> Message-ID: <42F0A780.4090900@sover.net> Upon further reflection about the situation in Rev (as opposed to languages that are really compiled, and execute from the start of the program each time a change is made), I take your point. In Pascal, the program/compiler must re-create each global each time the program is run. In Rev, the program never actually stops running (in some sense, even though it does change as the programmer edits the scripts and modifies the properties), so there is never a time when Rev can properly re-evaluate the existence of the globals. Removing all of the globals each time a script is edited would not work. See: I'm still having problems getting my mind around all of the implications of a Rev-like IDE... :) Jon Richard Gaskin wrote: > Jon wrote: > >> I agree: it is unfortunate that the original language designers used >> the term "global" to mean "persistent global". Had they separated >> the concept of scope from the concept of variable duration/lifetime, >> the language would have been equally powerful while being easier to >> understand. > > > What is a non-persistent global? > > In any language I've worked with, you declare a global and it stays in > memory until you delete it or quit the program. > > I don't know of any language that deletes globals automatically based > on whether the app closes or opens files from disk. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From bnz2 at cdc.gov Wed Aug 3 10:11:06 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 3 Aug 2005 10:11:06 -0400 Subject: [OT] Pigs Fly Message-ID: <64878EF567131D4596246171F75FD4A9744616@m-epo-1.epo.cdc.gov> As someone who has not used a Mac in 12 years, and has never used any system ending in 'nix'... I have to say that right-clicking is completely ingrained in my thinking. If I want to add a shortcut to the desktop, I right-click on the desktop. If I want to open an explorer window, I right-click on the Start button. And this has translated to my programming. All of my software uses right-clicking all over the place. My spreadsheet objects use right-clicking on the row and column buttons to get row and column options, and uses left-click and drag for moving the rows and columns around. Other folks using my software have not complained about having to right-click - but then, they are all using it on Windows as well, and are undoubtedly used to right-clicking. This sounds funny, but I think I would find it much more difficult to create a convenient interface without using the right-click. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Judy Perry Sent: Wednesday, August 03, 2005 2:22 AM To: How to use Revolution Subject: Re: [OT] Pigs Fly Still, you will have those who are learning it for the first time (e.g., my heart surgeon previously mentioned, children, etc.) for whom a single buttoned mouse is preferrable. Also -- for how many of the 'average' users will right-clicking be well understood? > While learnability is important, learning happens exactly once. From > then on it's all about productivity for the rest of one's computing life. -Yup, which goes on to translate as "if learning doesn't happen..." hence the importance of the uni-button mouse. It is agreed that 2- and 3- and n-button mice are for advanced audiences' and their productivity enhancements... if they don't learn uni-button mice, well, ... you have Chipp's proposition. > > By providing a mouse that people's productivity can grow with, Apple may > indeed be risking the learning curve for a subset of their market. But > given Apple's dedication to learnability I have to trust their judgement > on this. --I agree with this. It functions as a uni-button mouse but adapts for a multi-button mouse user. Very Apple. > > Besides, even if I disagreed with them, would they listen to me? --In singular, I don't know. In aggregate, yes (witness the furor over the 'candy' apple doing nothing in the menu bar in the OS X beta). > > Another issue I have with the right-clicking is that it sometimes > > seriously violates Schneiderman's articulation of the direct manipulation > > paradigm in that the user can sometimes right-click on nothing in the > > middle of nowhere. > > Where in a modern GUI is "nowhere"? Even the Desktop is a place, and > has properties. --That's an abstraction, not a concrete thing. Right-clicking on _nothing_ violates the concept. The articulation is 'visible items of interest' in which nothing is not an item of interest. --And, in any case, the purpose (unless anyone can correct me; corrections clearly sought) is that right-clicking is for a short-cut. The problem is that on Window side, too often it is suggested as the ONLY route. --I have no problems with short-cuts. As long as more conventional solutions are provided. That way, both (or all) camps are provided for. > Apple's new mouse a multi-button mouse in terms of functionality. > Whether Apple succeeds in a cleaner design to provide that > functionality, or instead confuses people by making the delineation > between left and right unclear, remains to be seen. Sometimes they get > it right (the iPod wheel) and sometimes not (the hockey puck iMac mouse). --I sincerely doubt that Apple can make left versus right-clicking any more confusing than it already is. What is important is that it remain a secondary access rather than a primary access to commands, info., etc. --Here's the gist of my argument: (1) You see something of interest; (2) You click on it; (3) Something happens. You (and/or others) would seem to suggest that it's better that: (1) You see something ----Or a void (2) You click on something ----Or the void (3) Something happens ----Or something else happens And, for the user, either what they want happens or they get confused. It is inarguable that, for expert users, anything exceeding 1 mouse button is 'expert' and hence more productive (even up to an 8-button chording device for court reporters). The question is that, where for x = 1 + n, what does "n" equal? For Windows (semi-expert) users, the answer is clearly n=1. But for unix users, it is n=2. For other expert users, it us n=7. Where is the line to be drawn? Clearly as "n" gets larger, so does the possibility for error/confusion. More simply put, how would the legion of Windows users feel about the imposition of a mouse button = 3 feel? My Windows students indicate tha N=1 (thus, x= 1+1) is the correct number of buttons. Less than that is lame, more than that is confusing. Unix students indicate that n should = 2 (thus, 1 +2 = 3) mouse buttons. Less restricts expert usage, more would be confusing. Hence my argument. Judy _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From jhurley at infostations.com Wed Aug 3 10:37:21 2005 From: jhurley at infostations.com (Jim Hurley) Date: Wed, 3 Aug 2005 07:37:21 -0700 Subject: ANN: Full text justification plug-in In-Reply-To: <20050802143503.55D628254C7@mail.runrev.com> References: <20050802143503.55D628254C7@mail.runrev.com> Message-ID: >S >Message: 15 >Date: Tue, 2 Aug 2005 05:27:59 -0700 (PDT) >From: Alejandro Tejada >Subject: Re: ANN Full justification >To: use-revolution at lists.runrev.com >Message-ID: <20050802122759.72602.qmail at web40509.mail.yahoo.com> >Content-Type: text/plain; charset=iso-8859-1 > >Hi Jim, > >This handler works great! :-) > >I noticed that you included two >justify buttons. >In the second button, this line >seems to hang my development environment: > >put char tNum-10 to tNum of tOrig into tChars > >Why does this happen? > >Thanks a lot for sharing this handler! :-) > >al Al et al, I have finished the plug-in version. This should be much easier to use. Just select the field to be justified and click on the "Justify the selected field" button. It also stores the original text in a custom property of the field. (If you decide to change the field's width at some future point, the lines won't justify in the new field width. Best to restore the text and re-justify.) In the message box: go stack url "http://home.infostations.net/jhurley/JustifyField.rev" Jim From katherine.w.c at gmail.com Wed Aug 3 10:59:47 2005 From: katherine.w.c at gmail.com (Kat) Date: Wed, 03 Aug 2005 10:59:47 -0400 Subject: OT iBook DVD can play internat'l movies? Message-ID: <42F0DBE3.3020209@gmail.com> Thomas McCarthy wrote: Can my iBook's DVD play DVDs from any world zone? The answer is yes, but if you also want to play US zoned discs, you have to reset the DVD player. You can do this only a limited number of times (5) per machine. Yes, it's a problem, but if you can completely remove all the DVD player's components from your computer after using up all the changes (something I've never tried to do), it may be possible to restart the clock by reloading the player engine. There's probably some hidden files that only the superuser can delete, though. 'Nuff said. Cheers, Kat Cochrane a.k.a. "Kat Lemieux" in SecondLife, virtual meeting place of SERUG - South East Revolution User Group See http://rugusa.linguistix.net From pevensen at siboneylg.com Wed Aug 3 11:33:39 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Wed, 03 Aug 2005 10:33:39 -0500 Subject: OT iBook DVD can play internat'l movies? In-Reply-To: <42F0DBE3.3020209@gmail.com> References: <42F0DBE3.3020209@gmail.com> Message-ID: <6.2.1.2.2.20050803103128.191e89f0@exchange.slg.com> It is my understanding that the region code is stored in the drive hardware/firmware, so reinstalling the driver won't help. Going to About This Mac and More Info should show you the region code for your DVD player and how many changes you have left. It's probably under the ATA section. At 09:59 AM 8/3/2005, you wrote: >Thomas McCarthy wrote: > >Can my iBook's DVD play DVDs from any world zone? > > >The answer is yes, but if you also want to play US zoned discs, you have >to reset the DVD player. You can do this only a limited number of times >(5) per machine. Yes, it's a problem, but if you can completely remove >all the DVD player's components from your computer after using up all the >changes (something I've never tried to do), it may be possible to restart >the clock by reloading the player engine. There's probably some hidden >files that only the superuser can delete, though. 'Nuff said. > >Cheers, >Kat Cochrane >a.k.a. "Kat Lemieux" in SecondLife, >virtual meeting place of >SERUG - South East Revolution User Group >See http://rugusa.linguistix.net > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From yvescoppe at skynet.be Wed Aug 3 11:41:44 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed, 3 Aug 2005 17:41:44 +0200 Subject: ANN: Full text justification plug-in In-Reply-To: References: <20050802143503.55D628254C7@mail.runrev.com> Message-ID: <15C73109-51B3-4E10-A643-3D55C7509388@skynet.be> Le 03-ao?t-05 ? 16:37, Jim Hurley a ?crit : > > Al et al, > > I have finished the plug-in version. This should be much easier to > use. > > Just select the field to be justified and click on the "Justify > the selected field" button. > > It also stores the original text in a custom property of the field. > (If you decide to change the field's width at some future point, > the lines won't justify in the new field width. Best to restore the > text and re-justify.) > > In the message box: > > go stack url "http://home.infostations.net/jhurley/ > JustifyField.rev" > > Jim Hi Jim Excellent but How can I save this stack in my plugIn folder ??? Thank you. Greetings. Yves COPPE yvescoppe at skynet.be From FlexibleLearning at aol.com Wed Aug 3 11:55:27 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 3 Aug 2005 11:55:27 EDT Subject: [OT] Pigs Fly Message-ID: <1db.40dddeb8.302242ef@aol.com> I use both PC's and Mac's so I believe I have a balanced view. As far as I am concerned, right-clicking is an extra. Anything in a contextual menu must be also available under the normal menus. The contextual right-click simply throws up immediate access to a choice selection. No big deal. You can happily ignore right-clicking and live without them (like ignoring keyboard shortcuts), but life is much easier with them IF they are well designed. My father started on his first computer (a Mac) aged 78 . After 2 years he still didn't use keyboard shortcuts. Then he got a PC. After only a couple of hours he decided he liked right-click contextual menus because [1] they are visual and [2] show him what's important at that point. He still doesn't use keyboard shortcuts on either machine! 2p /H From subzero569 at gmail.com Wed Aug 3 12:00:14 2005 From: subzero569 at gmail.com (subzero569) Date: Wed, 3 Aug 2005 12:00:14 -0400 Subject: Tabbed button colour, Win XP In-Reply-To: <79d1bee705080300284850bb0b@mail.gmail.com> References: <79d1bee705080300284850bb0b@mail.gmail.com> Message-ID: <8f8651c105080309002ac11e12@mail.gmail.com> Maybe try: set the lookandfeel to "Windows 95" I have used this successfully before with tabs. Josh On 8/3/05, Martin BLACKMAN wrote: > I have a tabbed button in Rev 2.6 whose background color is set to dark grey. > In XP with the theme set to 'windows classic' it appears as dark grey. > With the theme set to 'Windows XP' the background of the button > becomes off-white, and setting the background color of the button has > no effect. > > I use this button effectively as the background for most of my card, > and switch between cards using the tabs. > > Can someone suggest a way to force the colour to grey ? I could put a > grey rectangle on top but that would still leave the tabs... > > thanks > Martin Blackman > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Inch by inch, life is a cinch. Yard by yard, life is very hard. From revdan at danshafer.com Wed Aug 3 12:06:38 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 3 Aug 2005 09:06:38 -0700 Subject: [OT] Pigs Fly In-Reply-To: <1h0po7n.tek7sh18x1a16M%mcdomi@free.fr> References: <1h0po7n.tek7sh18x1a16M%mcdomi@free.fr> Message-ID: <2A0F39BD-229A-47FA-A044-3C03C7CF2F76@danshafer.com> Ah, yes, the famous VIECAWP -- Vertically Integrated Easy-Correcting Analog Word Processor. AKA pencil. On Aug 3, 2005, at 12:16 AM, Dom wrote: > Alex Tweedly wrote: > > >> And the one-key keyboard. Hardly any typing mistakes using >> that .... :-) >> > > The one you write on it with a pen? > > -- > Revolutionario (not so much) > With a Newton MP130, waiting for syncing between [Newton] Notes and my > [Rev] Journal > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From tkuypers at pandora.be Wed Aug 3 12:29:08 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Wed, 3 Aug 2005 18:29:08 +0200 Subject: "Decompile" Windows RR application Message-ID: <4D5B7112-4EA8-4AC3-AE00-9AAF70D186E2@pandora.be> Hi gang, I've had a disk-crash a couple of months ago and lost almost all files on that disk. Among the lost files is also the RR source of a program I've created. The only thing I have is the windows exe file. Is there a way to "decompile" this back to a working RR project (or even just parts of it) or do I just start all over again? Ton Kuypers From jacque at hyperactivesw.com Wed Aug 3 12:52:26 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Aug 2005 11:52:26 -0500 Subject: numToChar(28) in list field In-Reply-To: References: Message-ID: <42F0F64A.5020201@hyperactivesw.com> Scott Morrow wrote: > I have a list field where the items on each line are delimited with > numToChar(28). This works fine when I edit the content of the list > field using a script. However, when I edit it using an object inspector > window the item delimiters all change to numToChar(215). This is easy > enough to work around but I'm curious about what the heck is going on. > There is probably a good reason but I can't think of it. This is just a guess, but maybe it has something to do with how the inspector translates all field content to html. Is 215 the html substitution for 28? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bann at sunncomm.com Wed Aug 3 12:52:46 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Wed, 3 Aug 2005 09:52:46 -0700 Subject: how to print landscape Message-ID: Hello How to set to print the cd in landscape? I have an image. I grouped this image and set a vertical scroll bar. How to print this image? Could anyone know please help? From pevensen at siboneylg.com Wed Aug 3 12:56:44 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Wed, 03 Aug 2005 11:56:44 -0500 Subject: [OT] Pigs Fly In-Reply-To: <42F00D25.9020009@fourthworld.com> References: <42F00D25.9020009@fourthworld.com> Message-ID: <6.2.1.2.2.20050803115350.1935c4c0@exchange.slg.com> A number of times I have been called on to help "novice" computer users with problems on their PCs. When I ask them to right click on something, they invariable had never used the right mouse button. From then on, every time I ask them to click on something, they ask "right or left button?" There is a lot to be said for simplicity. Apple did a lot of user testing to determine a one-button mouse is less confusing, but as Richard points out, computer novices are becoming more and more extinct... At 07:17 PM 8/2/2005, you wrote: >Judy Perry wrote: >>Whew! I'm feeling better already. >>I'm in agreement with Raskin on the uni-button mouse being preferrable for >>error-reduction. > >Three factors come into play, with error-reduction being one of them. The >other is productivity, and a third being learnability. > >I have no doubt Raskin got it right with error-reduction, and of course a >single-button mouse will score higher on learnability by virtue of having >less to learn. > >But the question manufacturers face in the 21st century is: > > "Does our audience today have enough experience with > mice to use a multi-button mouse more productively > than a single-button mouse?" > >Apple seems to have answered that question well. > >The single-button mouse was revolutionary for adoption of modern GUIs -- >thank you Mr. Engelbart. > >But the majority of today's computer purchasers have previous experience >with computing, are quite comfortable with mice, and can take advantage of >the productivity gains of multi-button mice with far less trouble than >yesterday's newbies. > >-- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From pevensen at siboneylg.com Wed Aug 3 13:00:51 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Wed, 03 Aug 2005 12:00:51 -0500 Subject: [OT] Pigs Fly In-Reply-To: References: <42F01A5B.2010502@chipp.com> Message-ID: <6.2.1.2.2.20050803115943.193d1fd8@exchange.slg.com> This reminds me of the (probably apocryphal) tech support story of the woman who bought her first computer, brought it home, and called in because she couldn't get it to do anything. She said she kept pressing on the foot pedal (like a sowing machine), but nothing would happen... At 10:06 PM 8/2/2005, you wrote: >Chipp, > >I use two-button mice when I teach on the PC platform. I've played >around with 3-button mice a bit. I have a 4-button programmable >Kensington trackball (and a two-button Stingray trackball that offers true >right-clickability). > >In addition to reading and agreeing with Raskin (although I think he was a >bit of a nutter on the whole modality issue), my observations are partly >based on nearly a decade of teaching new computer users how to use a >computer. And it's definitely been a problem. > >I'm not certain I understand your argument about not using a computer >reducing errors. Of course that's true. But that's not the issue. It's >which is easier to learn? A one-button mouse or a two button mouse or a >three button mouse... or an n-button mouse? > >Englebert, of course, ultimately ended up preferring something else >altogether to a uni-button mouse. I think it was a foot-based control. I >once had an English teacher stricken by polio in his youth who steered his >car using a foot-based device... > >Judy > >On Tue, 2 Aug 2005, Chipp Walters wrote: > > > Judy, > > > > Good duck and cover ;-) > > > > Never using a computer in the first place reduces errors to nill...does > > that make it preferrable? Just wondering, how much experience do you > > have with multi-button mice? > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From mdswindell at charter.net Wed Aug 3 13:02:25 2005 From: mdswindell at charter.net (Mark Swindell) Date: Wed, 3 Aug 2005 10:02:25 -0700 Subject: [OT] Pigs Fly In-Reply-To: <1db.40dddeb8.302242ef@aol.com> References: <1db.40dddeb8.302242ef@aol.com> Message-ID: On Aug 3, 2005, at 8:55 AM, FlexibleLearning at aol.com wrote: > The contextual right-click simply > throws up immediate access to a choice selection. No big deal. Exactly. The whole how-many-buttons argument is dizzying to me. A two button mouse has ADDED functionality, not supplanted or changed functionality. Click a two button mouse with your index finger only, and its a one-button mouse. Nothing could be simpler. Don't use the scroll wheel, same thing... one button functionality without a scroll. If you're smart enough to use a computer, you're smart enough to simplify your experience by using your index finger to click, if that's what you need to do. If you don't want scrolling and contextual menus, just use your index finger. (JUYIF!) I just don't get it. Mark From jperryl at ecs.fullerton.edu Wed Aug 3 13:03:09 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 3 Aug 2005 10:03:09 -0700 (PDT) Subject: [OT] Pigs Fly In-Reply-To: <6.2.1.2.2.20050803115943.193d1fd8@exchange.slg.com> Message-ID: Or the one about the woman whose cupholder on her computer was broken?? :-D Judy On Wed, 3 Aug 2005, Peter T. Evensen wrote: > This reminds me of the (probably apocryphal) tech support story of the > woman who bought her first computer, brought it home, and called in because > she couldn't get it to do anything. She said she kept pressing on the foot > pedal (like a sowing machine), but nothing would happen... From rsarabia at mac.com Wed Aug 3 13:13:19 2005 From: rsarabia at mac.com (rsarabia) Date: Wed, 3 Aug 2005 19:13:19 +0200 Subject: Construyendo una especie de PowerPoint In-Reply-To: <20050617235915.70379.qmail@web40506.mail.yahoo.com> References: <20050617235915.70379.qmail@web40506.mail.yahoo.com> Message-ID: Hola Alejandro, Estuvimos hablando hace tiempo cuando estaba evaluando Revolution y ahora ya tengo la versi?n Enterprise. Voy a tratar de desarrollar algo parecido a un powerpoint, mucho m?s sencillo, pero con la misma filosof?a. Quiero proporcionar a mis clientes una aplicaci?n con la que puedan construir pantallas y dentro de cada pantalla, ubicar cuadros con distintos tipos de informaci?n en ellos (textos, animaciones, pel?culas quickt time, etc.). En una primera fase la aplicaci?n puede funcionar sin conexi?n a MySQL, pero en un desarrollo inmediatamente siguiente, estar?a subiendo la informaci?n a MySQL, para trabajo remoto y compartido. ?Tienes ganas y quieres participar en este proyecto?, por supuesto, los costes de desarrollo que tengas yo los pagar?a. ?Puedes indicarme tus posibilidades?. Saludos, ___ Rufino Sarabia RS & Asociados 629 444 710; fax 902 120 880; rufino.sarabia at rsyasociados.com correo alternativo y env?o de ficheros a: rsarabia at mac.com Facilitamos el desarrollo cient?fico-t?cnico y financiero de personas, sociedades y congresos From bvlahos at mac.com Wed Aug 3 13:08:10 2005 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 3 Aug 2005 10:08:10 -0700 Subject: "Decompile" Windows RR application In-Reply-To: <4D5B7112-4EA8-4AC3-AE00-9AAF70D186E2@pandora.be> References: <4D5B7112-4EA8-4AC3-AE00-9AAF70D186E2@pandora.be> Message-ID: <3BD7E7DF-2114-40BB-86F5-D3DFAAF09EF8@mac.com> If you didn't encrypt it or remove the source code then you should be able to get it back. More difficult if you did those things. Bill On Aug 3, 2005, at 9:29 AM, Ton Kuypers wrote: > Hi gang, > > I've had a disk-crash a couple of months ago and lost almost all > files on that disk. > Among the lost files is also the RR source of a program I've > created. The only thing I have is the windows exe file. > > Is there a way to "decompile" this back to a working RR project (or > even just parts of it) or do I just start all over again? > > Ton Kuypers > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bvlahos at mac.com Wed Aug 3 13:14:27 2005 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 3 Aug 2005 10:14:27 -0700 Subject: [OT] Pigs Fly In-Reply-To: <6.2.1.2.2.20050803115350.1935c4c0@exchange.slg.com> References: <42F00D25.9020009@fourthworld.com> <6.2.1.2.2.20050803115350.1935c4c0@exchange.slg.com> Message-ID: What really drives me crazy is when a left handed person customizes their mouse and switches the buttons. The left button becomes the contextual button and the right button is for selecting. Since it is all done in software there are no hints that the mouse is different other than it is almost always left of the keyboard. Bill On Aug 3, 2005, at 9:56 AM, Peter T. Evensen wrote: > A number of times I have been called on to help "novice" computer > users with problems on their PCs. When I ask them to right click > on something, they invariable had never used the right mouse > button. From then on, every time I ask them to click on something, > they ask "right or left button?" There is a lot to be said for > simplicity. Apple did a lot of user testing to determine a one- > button mouse is less confusing, but as Richard points out, computer > novices are becoming more and more extinct... From bnz2 at cdc.gov Wed Aug 3 13:18:14 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 3 Aug 2005 13:18:14 -0400 Subject: "Decompile" Windows RR application Message-ID: <64878EF567131D4596246171F75FD4A9744618@m-epo-1.epo.cdc.gov> Does the compiled program run any separate rev stacks? If so, you could replace that stack with a stack that contains a script that clones the stack that is contained within the executable file. Or maybe... Don't know if this would work, but just maybe... You could create a stack that clones the stack contained within the exe file... and save that stack with some unused extension, like '.qzq' Then, set the file association in windows so that all .qzq files are run with your executable file. Then double click on the .qzq file to run it. This would force the .exe file to startup, and open your .qzq stack at the same time. If your .qzq stack has an openstack handler like this: On openstack Clone stack "myStack"... Save stack "myClonedStack" End openstack I never use clone stack, so I don't know the precise wording on using it - but I bet this approach could work! -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Bill Vlahos Sent: Wednesday, August 03, 2005 1:08 PM To: How to use Revolution Subject: Re: "Decompile" Windows RR application If you didn't encrypt it or remove the source code then you should be able to get it back. More difficult if you did those things. Bill On Aug 3, 2005, at 9:29 AM, Ton Kuypers wrote: > Hi gang, > > I've had a disk-crash a couple of months ago and lost almost all > files on that disk. > Among the lost files is also the RR source of a program I've > created. The only thing I have is the windows exe file. > > Is there a way to "decompile" this back to a working RR project (or > even just parts of it) or do I just start all over again? > > Ton Kuypers > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Wed Aug 3 13:19:04 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 3 Aug 2005 10:19:04 -0700 (PDT) Subject: [OT] Pigs Fly In-Reply-To: Message-ID: Yup, Or when, in a teaching situation, some little gremlin geek-in-training does likewise with scattered mice in the lab and you're trying to teach computer novices... Judy On Wed, 3 Aug 2005, Bill Vlahos wrote: > What really drives me crazy is when a left handed person customizes > their mouse and switches the buttons. The left button becomes the > contextual button and the right button is for selecting. From userev at canelasoftware.com Wed Aug 3 13:21:12 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 3 Aug 2005 10:21:12 -0700 Subject: how to print landscape In-Reply-To: References: Message-ID: <900CE2F7-689C-45AF-B416-1DDED2B03BBC@canelasoftware.com> On Aug 3, 2005, at 9:52 AM, Ban Nguyen wrote: > Hello > > > How to set to print the cd in landscape? > > I have an image. I grouped this image and set a vertical scroll bar. > How to print this image? Could anyone know please help? Take a look at the printRotated property in the dicitonary: set the printRotated to true print this card Mark Talluto -- CANELA Software http://www.canelasoftware.com From pevensen at siboneylg.com Wed Aug 3 13:32:17 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Wed, 03 Aug 2005 12:32:17 -0500 Subject: [OT] Pigs Fly In-Reply-To: References: <6.2.1.2.2.20050803115943.193d1fd8@exchange.slg.com> Message-ID: <6.2.1.2.2.20050803123152.1943ac70@exchange.slg.com> I heard of one company that removes all the CD drives to eliminate this problem.... At 12:03 PM 8/3/2005, you wrote: >Or the one about the woman whose cupholder on her computer was broken?? > >:-D > >Judy > >On Wed, 3 Aug 2005, Peter T. Evensen wrote: > > > This reminds me of the (probably apocryphal) tech support story of the > > woman who bought her first computer, brought it home, and called in because > > she couldn't get it to do anything. She said she kept pressing on the foot > > pedal (like a sowing machine), but nothing would happen... > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From bnz2 at cdc.gov Wed Aug 3 13:38:11 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 3 Aug 2005 13:38:11 -0400 Subject: [OT] Pigs Fly Message-ID: <64878EF567131D4596246171F75FD4A9744619@m-epo-1.epo.cdc.gov> Well... I think maybe the problem arises with inconsiderate programmers (I am referring to myself here, none of you guys) who create functionalities that can only be accessed by right-clicking. This leaves one-button mouse users out in the cold. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark Swindell Sent: Wednesday, August 03, 2005 1:02 PM To: How to use Revolution Subject: Re: [OT] Pigs Fly On Aug 3, 2005, at 8:55 AM, FlexibleLearning at aol.com wrote: > The contextual right-click simply > throws up immediate access to a choice selection. No big deal. Exactly. The whole how-many-buttons argument is dizzying to me. A two button mouse has ADDED functionality, not supplanted or changed functionality. Click a two button mouse with your index finger only, and its a one-button mouse. Nothing could be simpler. Don't use the scroll wheel, same thing... one button functionality without a scroll. If you're smart enough to use a computer, you're smart enough to simplify your experience by using your index finger to click, if that's what you need to do. If you don't want scrolling and contextual menus, just use your index finger. (JUYIF!) I just don't get it. Mark _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From martin at materiaprima.fsnet.co.uk Wed Aug 3 13:43:11 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Wed, 03 Aug 2005 18:43:11 +0100 Subject: numToChar(28) in list field In-Reply-To: <42F0F64A.5020201@hyperactivesw.com> References: <42F0F64A.5020201@hyperactivesw.com> Message-ID: <42F1022F.3050501@materiaprima.fsnet.co.uk> isotomac() does this. Are you using isotomac() at all? Or Maybe rev is doing so behind the scenes for some reason ? Perhaps you moved the stack across platforms ? ( isotomac() and mactoiso() should never be used on texts containing certain CO control chars (ie ascii < 32) as many of them will be remapped. Only use these functions on genuine human-readable data strings. ) Martin J. Landman Gay wrote: > Scott Morrow wrote: > >> I have a list field where the items on each line are delimited with >> numToChar(28). This works fine when I edit the content of the list >> field using a script. However, when I edit it using an object >> inspector window the item delimiters all change to numToChar(215). >> This is easy enough to work around but I'm curious about what the heck >> is going on. There is probably a good reason but I can't think of it. > > > This is just a guess, but maybe it has something to do with how the > inspector translates all field content to html. Is 215 the html > substitution for 28? > From revlist at cableone.net Wed Aug 3 13:59:50 2005 From: revlist at cableone.net (Chris Sheffield) Date: Wed, 3 Aug 2005 11:59:50 -0600 Subject: recursion limits Message-ID: <2AF00EE6-298A-42B9-8F81-CED2161B3AF0@cableone.net> I know recursion has been discussed in the past, and I'm wondering if anyone has ever run into any limits (i.e. memory problems) with recursion in Rev. I am working on a little backup utility for my own use, and I'm wondering what would happen if I decided to back up my entire hard drive? Would Rev choke on that? I realize it could potentially take hours. Would I start getting out of memory errors? The utility uses a directory walking function to create a list of all sub folders and files to be backed up. Anyone have some detailed results with this type of thing? Thanks, Chris ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From martin at materiaprima.fsnet.co.uk Wed Aug 3 14:00:24 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Wed, 03 Aug 2005 19:00:24 +0100 Subject: [OT] Pigs Fly In-Reply-To: <64878EF567131D4596246171F75FD4A9744619@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9744619@m-epo-1.epo.cdc.gov> Message-ID: <42F10638.20600@materiaprima.fsnet.co.uk> It's worth remembering that since system 8, Mac single-button mouse users can control-click to get the equivalent of a right mouse-button click. Revolution handles this fine, treating both actions as a mouse button 3 event. If you use a 2 button mouse on a mac you can right-click. With a one button mouse you just control-click to get the same result. So there is usually no real need to duplicate the functionality. Still it can be a pain when writing the documentation. Martin Baxter Lynch, Jonathan wrote: > Well... > > I think maybe the problem arises with inconsiderate programmers (I am > referring to myself here, none of you guys) who create functionalities > that can only be accessed by right-clicking. > > This leaves one-button mouse users out in the cold. > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark > Swindell > Sent: Wednesday, August 03, 2005 1:02 PM > To: How to use Revolution > Subject: Re: [OT] Pigs Fly > > > On Aug 3, 2005, at 8:55 AM, FlexibleLearning at aol.com wrote: > > >>The contextual right-click simply >>throws up immediate access to a choice selection. No big deal. > > > Exactly. > > The whole how-many-buttons argument is dizzying to me. A two button > mouse has ADDED functionality, not supplanted or changed > functionality. Click a two button mouse with your index finger only, > and its a one-button mouse. Nothing could be simpler. Don't use the > scroll wheel, same thing... one button functionality without a > scroll. If you're smart enough to use a computer, you're smart enough > to simplify your experience by using your index finger to click, if > that's what you need to do. If you don't want scrolling and > contextual menus, just use your index finger. (JUYIF!) I just don't > get it. > > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From bnz2 at cdc.gov Wed Aug 3 14:08:49 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 3 Aug 2005 14:08:49 -0400 Subject: [OT] Pigs Fly Message-ID: <64878EF567131D4596246171F75FD4A974461A@m-epo-1.epo.cdc.gov> Ah, good point - and by playing around I see that the little key with the windows symbol allows for the same thing on a PC. Only, when that key is released it brings up the start menu - so I should see if I can block that. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Martin Baxter Sent: Wednesday, August 03, 2005 2:00 PM To: How to use Revolution Subject: Re: [OT] Pigs Fly It's worth remembering that since system 8, Mac single-button mouse users can control-click to get the equivalent of a right mouse-button click. Revolution handles this fine, treating both actions as a mouse button 3 event. If you use a 2 button mouse on a mac you can right-click. With a one button mouse you just control-click to get the same result. So there is usually no real need to duplicate the functionality. Still it can be a pain when writing the documentation. Martin Baxter Lynch, Jonathan wrote: > Well... > > I think maybe the problem arises with inconsiderate programmers (I am > referring to myself here, none of you guys) who create functionalities > that can only be accessed by right-clicking. > > This leaves one-button mouse users out in the cold. > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark > Swindell > Sent: Wednesday, August 03, 2005 1:02 PM > To: How to use Revolution > Subject: Re: [OT] Pigs Fly > > > On Aug 3, 2005, at 8:55 AM, FlexibleLearning at aol.com wrote: > > >>The contextual right-click simply >>throws up immediate access to a choice selection. No big deal. > > > Exactly. > > The whole how-many-buttons argument is dizzying to me. A two button > mouse has ADDED functionality, not supplanted or changed > functionality. Click a two button mouse with your index finger only, > and its a one-button mouse. Nothing could be simpler. Don't use the > scroll wheel, same thing... one button functionality without a > scroll. If you're smart enough to use a computer, you're smart enough > to simplify your experience by using your index finger to click, if > that's what you need to do. If you don't want scrolling and > contextual menus, just use your index finger. (JUYIF!) I just don't > get it. > > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From alex at tweedly.net Wed Aug 3 14:09:55 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 03 Aug 2005 19:09:55 +0100 Subject: [OT] Pigs Fly In-Reply-To: <42F10638.20600@materiaprima.fsnet.co.uk> References: <64878EF567131D4596246171F75FD4A9744619@m-epo-1.epo.cdc.gov> <42F10638.20600@materiaprima.fsnet.co.uk> Message-ID: <42F10873.1060303@tweedly.net> Martin Baxter wrote: > It's worth remembering that since system 8, Mac single-button mouse > users can control-click to get the equivalent of a right mouse-button > click. Revolution handles this fine, treating both actions as a mouse > button 3 event. If you use a 2 button mouse on a mac you can > right-click. With a one button mouse you just control-click to get the > same result. So there is usually no real need to duplicate the > functionality. > Still it can be a pain when writing the documentation. What's even more of a pain is that Ctrl-click is a common usage on Windows (add/subtract single item to/from selection), so the naive Windows programmer (that's me) designs this into his apps. And his Mac users have no way to access this function :-( I guess one approach is to use Shift-click instead - but that means something different on Windows (extend existing selection up to this clicked item), darn it !! About once a day I curse this mis-feature of Rev's IDE on Windows. (Not that I have a solution - but it still gets a curse :-) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.9/62 - Release Date: 02/08/2005 From bnz2 at cdc.gov Wed Aug 3 14:12:56 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 3 Aug 2005 14:12:56 -0400 Subject: [OT] Pigs Fly Message-ID: <64878EF567131D4596246171F75FD4A996814D@m-epo-1.epo.cdc.gov> The ctrl key on windows is not the same key as on mac... Remember, to check if the ctrl key is down, on windows, you use this statement: If the commandKey is down... -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Alex Tweedly Sent: Wednesday, August 03, 2005 2:10 PM To: Brad Allen; How to use Revolution Subject: Re: [OT] Pigs Fly Martin Baxter wrote: > It's worth remembering that since system 8, Mac single-button mouse > users can control-click to get the equivalent of a right mouse-button > click. Revolution handles this fine, treating both actions as a mouse > button 3 event. If you use a 2 button mouse on a mac you can > right-click. With a one button mouse you just control-click to get the > same result. So there is usually no real need to duplicate the > functionality. > Still it can be a pain when writing the documentation. What's even more of a pain is that Ctrl-click is a common usage on Windows (add/subtract single item to/from selection), so the naive Windows programmer (that's me) designs this into his apps. And his Mac users have no way to access this function :-( I guess one approach is to use Shift-click instead - but that means something different on Windows (extend existing selection up to this clicked item), darn it !! About once a day I curse this mis-feature of Rev's IDE on Windows. (Not that I have a solution - but it still gets a curse :-) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.9/62 - Release Date: 02/08/2005 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bnz2 at cdc.gov Wed Aug 3 14:26:04 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 3 Aug 2005 14:26:04 -0400 Subject: [OT] Pigs Fly Message-ID: <64878EF567131D4596246171F75FD4A996814E@m-epo-1.epo.cdc.gov> Hmmm.... It seems that trying to trap either rawkeyup or rawkeydown still does not prevent the start menu from being displayed when one releases the key with the little windows symbol on it. If there is no way to block it, then PC users with a single mousebutton would find it very annoying to do the pc equivalent of ctrl-clicking. Then again, maybe that would serve as an incentive for them to go and buy a better mouse. -----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, August 03, 2005 2:09 PM To: martin at materiaprima.fsnet.co.uk; How to use Revolution Subject: RE: [OT] Pigs Fly Ah, good point - and by playing around I see that the little key with the windows symbol allows for the same thing on a PC. Only, when that key is released it brings up the start menu - so I should see if I can block that. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Martin Baxter Sent: Wednesday, August 03, 2005 2:00 PM To: How to use Revolution Subject: Re: [OT] Pigs Fly It's worth remembering that since system 8, Mac single-button mouse users can control-click to get the equivalent of a right mouse-button click. Revolution handles this fine, treating both actions as a mouse button 3 event. If you use a 2 button mouse on a mac you can right-click. With a one button mouse you just control-click to get the same result. So there is usually no real need to duplicate the functionality. Still it can be a pain when writing the documentation. Martin Baxter Lynch, Jonathan wrote: > Well... > > I think maybe the problem arises with inconsiderate programmers (I am > referring to myself here, none of you guys) who create functionalities > that can only be accessed by right-clicking. > > This leaves one-button mouse users out in the cold. > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark > Swindell > Sent: Wednesday, August 03, 2005 1:02 PM > To: How to use Revolution > Subject: Re: [OT] Pigs Fly > > > On Aug 3, 2005, at 8:55 AM, FlexibleLearning at aol.com wrote: > > >>The contextual right-click simply >>throws up immediate access to a choice selection. No big deal. > > > Exactly. > > The whole how-many-buttons argument is dizzying to me. A two button > mouse has ADDED functionality, not supplanted or changed > functionality. Click a two button mouse with your index finger only, > and its a one-button mouse. Nothing could be simpler. Don't use the > scroll wheel, same thing... one button functionality without a > scroll. If you're smart enough to use a computer, you're smart enough > to simplify your experience by using your index finger to click, if > that's what you need to do. If you don't want scrolling and > contextual menus, just use your index finger. (JUYIF!) I just don't > get it. > > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From jhurley at infostations.com Wed Aug 3 15:26:27 2005 From: jhurley at infostations.com (Jim Hurley) Date: Wed, 3 Aug 2005 12:26:27 -0700 Subject: ANN: Full text justification plug-in In-Reply-To: <20050803170005.86EE08250C8@mail.runrev.com> References: <20050803170005.86EE08250C8@mail.runrev.com> Message-ID: >----------------------- > >Message: 4 >Date: Wed, 3 Aug 2005 17:41:44 +0200 >From: Yves COPPE >Subject: Re: ANN: Full text justification plug-in >To: How to use Revolution >Message-ID: <15C73109-51B3-4E10-A643-3D55C7509388 at skynet.be> >Content-Type: text/plain; > charset=ISO-8859-1; delsp=yes; > format=flowed > > >Le 03-ao?t-05 ? 16:37, Jim Hurley a ?crit : > >> >> Al et al, >> >> I have finished the plug-in version. This should be much easier to >> use. >> >> Just select the field to be justified and click on the "Justify >> the selected field" button. >> >> It also stores the original text in a custom property of the field. >> (If you decide to change the field's width at some future point, >> the lines won't justify in the new field width. Best to restore the > > text and re-justify.) >> >> In the message box: >> >> go stack url "http://home.infostations.net/jhurley/ >> JustifyField.rev" >> >> Jim > > >Hi Jim > >Excellent but > >How can I save this stack in my plugIn folder ??? > >Thank you. > > > >Greetings. > >Yves COPPE >yvescoppe at skynet.be > Yves, That's easy. First save the file to your drive. Then drag the file to the Plug-in folder inside the folder with your current version of Run Rev. From this point on it will appear among your plug-ins under the Development menu when you start up. Jim From psahores at easynet.fr Wed Aug 3 15:50:42 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Wed, 3 Aug 2005 21:50:42 +0200 Subject: recursion limits In-Reply-To: <2AF00EE6-298A-42B9-8F81-CED2161B3AF0@cableone.net> References: <2AF00EE6-298A-42B9-8F81-CED2161B3AF0@cableone.net> Message-ID: <5956207A-7B4B-4B9C-9D2D-83F82412DE7A@easynet.fr> Hi, In about recursive tasks, the "send message in x seconds" can efficiently be replaced by an "on idle" message if the soft has to work for days, weeks or months. Because the idle message is only send when no one thread is running, it's an helpfull way to avoid mrmory troubles. I used this design years ago under Hypercard 2.35 and 2.41 with very good results. Le 3 ao?t 05 ? 19:59, Chris Sheffield a ?crit : > I know recursion has been discussed in the past, and I'm wondering > if anyone has ever run into any limits (i.e. memory problems) with > recursion in Rev. I am working on a little backup utility for my > own use, and I'm wondering what would happen if I decided to back > up my entire hard drive? Would Rev choke on that? I realize it > could potentially take hours. Would I start getting out of memory > errors? The utility uses a directory walking function to create a > list of all sub folders and files to be backed up. > > Anyone have some detailed results with this type of thing? > > Thanks, > Chris > > > ------------------------------------------ > Chris Sheffield > Read Naturally > The Fluency Company > http://www.readnaturally.com > ------------------------------------------ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours skype : psahores psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From gandalf at doctorTimothyMiller.com Wed Aug 3 15:52:39 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 3 Aug 2005 12:52:39 -0700 Subject: a peeve regarding saving scripts Message-ID: If I click on the "apply changes" button when I'm ready to save a script then if the script won't compile because it contains an error then Answer "It is so irritating because I have to drag the script window/ down and hunt for the error window that lies somewhere behind it/ so I can find out what I did wrong and possibly identify the/ offending line" with "Yer so right, dude!" end if end if Wouldn't it be more user friendly for Rev to give me a different dialog box at these times? The different dialog box would, among other things, give me access to the error window, or the information in it, with a simple mouseclick on a button in the dialog box. Maybe it would provide another button that would identify the offending line, if it could be identified. Of course, that dialog box would also give me the usual options of "Don't Apply" and "Cancel" and such. Just a thought. Cheers, Tim From mcdomi at free.fr Wed Aug 3 15:53:15 2005 From: mcdomi at free.fr (Dom) Date: Wed, 3 Aug 2005 21:53:15 +0200 Subject: [OT] Pigs Fly In-Reply-To: <2A0F39BD-229A-47FA-A044-3C03C7CF2F76@danshafer.com> Message-ID: <1h0qigc.3k223l13ci5ogM%mcdomi@free.fr> Dan Shafer wrote: > Ah, yes, the famous VIECAWP -- Vertically Integrated Easy-Correcting > Analog Word Processor. AKA pencil. I didn't knew this one ;-) From yvescoppe at skynet.be Wed Aug 3 16:44:41 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed, 3 Aug 2005 22:44:41 +0200 Subject: ANN: Full text justification plug-in In-Reply-To: References: <20050803170005.86EE08250C8@mail.runrev.com> Message-ID: > > That's easy. First save the file to your drive. Then drag the file > to the Plug-in folder inside the folder with your current version > of Run Rev. From this point on it will appear among your plug-ins > under the Development menu when you start up. > > Jim Hi Jim that's my problem, I cannot save, the "save" menuItem is dimmed ! Greetings. Yves COPPE yvescoppe at skynet.be From howard.bornstein at gmail.com Wed Aug 3 16:54:08 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Wed, 3 Aug 2005 16:54:08 -0400 Subject: ANN: Full text justification plug-in In-Reply-To: <200508032043.j73KhHGe000766@ms-smtp-02.rdc-nyc.rr.com> References: <200508032043.j73KhHGe000766@ms-smtp-02.rdc-nyc.rr.com> Message-ID: <3f07cc26050803135461618c8c@mail.gmail.com> On 8/3/05, Yves COPPE wrote: > > > > > That's easy. First save the file to your drive. Then drag the file > > to the Plug-in folder inside the folder with your current version > > of Run Rev. From this point on it will appear among your plug-ins > > under the Development menu when you start up. > > > > Jim > > Hi Jim > > that's my problem, I cannot save, the "save" menuItem is dimmed ! > Yves, You can't save it because it's currently a palette. What I did is type this command into the message box: toplevel stack "justifyTextPlugin" This turns it back into a stack. Now you can save it normally. HTH. -- Regards, Howard Bornstein ----------------------- www.designeq.com From howard.bornstein at gmail.com Wed Aug 3 16:54:08 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Wed, 3 Aug 2005 16:54:08 -0400 Subject: ANN: Full text justification plug-in In-Reply-To: <200508032043.j73KhHGe000766@ms-smtp-02.rdc-nyc.rr.com> References: <200508032043.j73KhHGe000766@ms-smtp-02.rdc-nyc.rr.com> Message-ID: <3f07cc26050803135461618c8c@mail.gmail.com> On 8/3/05, Yves COPPE wrote: > > > > > That's easy. First save the file to your drive. Then drag the file > > to the Plug-in folder inside the folder with your current version > > of Run Rev. From this point on it will appear among your plug-ins > > under the Development menu when you start up. > > > > Jim > > Hi Jim > > that's my problem, I cannot save, the "save" menuItem is dimmed ! > Yves, You can't save it because it's currently a palette. What I did is type this command into the message box: toplevel stack "justifyTextPlugin" This turns it back into a stack. Now you can save it normally. HTH. -- Regards, Howard Bornstein ----------------------- www.designeq.com From revlist at cableone.net Wed Aug 3 17:02:24 2005 From: revlist at cableone.net (Chris Sheffield) Date: Wed, 3 Aug 2005 15:02:24 -0600 Subject: recursion limits In-Reply-To: <5956207A-7B4B-4B9C-9D2D-83F82412DE7A@easynet.fr> References: <2AF00EE6-298A-42B9-8F81-CED2161B3AF0@cableone.net> <5956207A-7B4B-4B9C-9D2D-83F82412DE7A@easynet.fr> Message-ID: Thanks, Pierre, but I don't think that's quite what I'm after. My backup program won't be something that will run consistently for weeks at a time. I'm talking about recursion as in calling the same handler/function from within itself. I'm guessing there could be issues with this if the folder to back up has a large directory structure, as in many sub folders and files. On Aug 3, 2005, at 1:50 PM, Pierre Sahores wrote: > Hi, > > In about recursive tasks, the "send message in x seconds" can > efficiently be replaced by an "on idle" message if the soft has to > work for days, weeks or months. Because the idle message is only > send when no one thread is running, it's an helpfull way to avoid > mrmory troubles. I used this design years ago under Hypercard 2.35 > and 2.41 with very good results. > > Le 3 ao?t 05 ? 19:59, Chris Sheffield a ?crit : > > >> I know recursion has been discussed in the past, and I'm wondering >> if anyone has ever run into any limits (i.e. memory problems) with >> recursion in Rev. I am working on a little backup utility for my >> own use, and I'm wondering what would happen if I decided to back >> up my entire hard drive? Would Rev choke on that? I realize it >> could potentially take hours. Would I start getting out of memory >> errors? The utility uses a directory walking function to create a >> list of all sub folders and files to be backed up. >> >> Anyone have some detailed results with this type of thing? >> >> Thanks, >> Chris >> >> >> ------------------------------------------ >> Chris Sheffield >> Read Naturally >> The Fluency Company >> http://www.readnaturally.com >> ------------------------------------------ >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > -- > Bien cordialement, Pierre Sahores > > 100, rue de Paris > F - 77140 Nemours > > skype : psahores > > psahores+ at +easynet.fr > sc+ at +sahores-conseil.com > > GSM: +33 6 03 95 77 70 > Pro: +33 1 64 45 05 33 > Fax: +33 1 64 45 05 33 > > > > WEB/VoD/ACID-DB services over IP > "Mutualiser les deltas de productivit?" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From ptrendler at bigpond.com Wed Aug 3 17:38:11 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Thu, 4 Aug 2005 07:38:11 +1000 Subject: "Decompile" Windows RR application References: <4D5B7112-4EA8-4AC3-AE00-9AAF70D186E2@pandora.be> Message-ID: <004301c59873$efd805a0$0100000a@super> Ton, This was on the list some time ago, can't remember who, I think it was Monte. I've used this myself a couple of times. on mouseUp answer file "Standalone" if it is "cancel" then exit to top put url ("binfile:"&it) into tStack repeat forever -- there's more than one stackfile in there which isinteresting ;-) put offset("#!/bin/sh",char 10 to -1 of tStack) into tOff if tOff = 0 then exit repeat put char tOff+9 to -1 of tStack into tStack end repeat ask file "Stack" if it is "cancel" then exit to top set the fileType to "RevoRSTK" put tStack into url ("binfile:"&it) answer "conversion finished" with "OK" end mouseUp When finished rename the stack with a rev extension. Pat patrend at bigpond.com ----- Original Message ----- From: "Ton Kuypers" To: "How to use Revolution" Sent: Thursday, August 04, 2005 2:29 AM Subject: "Decompile" Windows RR application > Hi gang, > > I've had a disk-crash a couple of months ago and lost almost all files on > that disk. > Among the lost files is also the RR source of a program I've created. The > only thing I have is the windows exe file. > > Is there a way to "decompile" this back to a working RR project (or even > just parts of it) or do I just start all over again? > > Ton Kuypers > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.9.9/62 - Release Date: 2/08/2005 > > From bann at sunncomm.com Wed Aug 3 17:43:44 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Wed, 3 Aug 2005 14:43:44 -0700 Subject: how to print image in the field Message-ID: Hello, I have an image. I grouped this image and set a vertical scroll bar. How to print this image? Could anyone know please help? I used revPrintField but it did not work. revPrintField only prints text in the field. Thank you From stephenREVOLUTION at barncard.com Wed Aug 3 17:46:34 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 3 Aug 2005 14:46:34 -0700 Subject: recursion limits In-Reply-To: References: <2AF00EE6-298A-42B9-8F81-CED2161B3AF0@cableone.net> <5956207A-7B4B-4B9C-9D2D-83F82412DE7A@easynet.fr> Message-ID: Chris, you might find a thread on this board in the last year about "Directory Walker" scripts interesting -- several folks doing what you describe: traversing an entire volume... At 3:02 PM -0600 8/3/05, Chris Sheffield wrote: >Thanks, Pierre, but I don't think that's quite what I'm after. My >backup program won't be something that will run consistently for >weeks at a time. I'm talking about recursion as in calling the same >handler/function from within itself. I'm guessing there could be >issues with this if the folder to back up has a large directory >structure, as in many sub folders and files. From userev at canelasoftware.com Wed Aug 3 18:05:08 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 3 Aug 2005 15:05:08 -0700 Subject: how to print image in the field In-Reply-To: References: Message-ID: <8F16EBAA-C6F4-457C-A533-E15EAD8AF6D4@canelasoftware.com> On Aug 3, 2005, at 2:43 PM, Ban Nguyen wrote: > Hello, > > > I have an image. I grouped this image and set a vertical scroll bar. > How to print this image? Could anyone know please help? > > I used revPrintField but it did not work. revPrintField only prints > text in the field. > You have a few options. If what you want to print is on the card you can just print the card with: print this card If there are other things on the card that you do not want to show up on the printout, then you can make another stack and copy the controls to be printed onto the new blank stack. Then print the card from the new stack. You can then delete this new stack when you are done. The whole thing can be done without the user seeing any of these actions. Let me know if you need more details. Mark Talluto -- CANELA Software http://www.canelasoftware.com From tkuypers at pandora.be Wed Aug 3 18:42:10 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Thu, 4 Aug 2005 00:42:10 +0200 Subject: Drag & Drop of lines within fields Message-ID: I seem to recall that someone created a very nice example of drag & drop of lines in listfields, but I cans seem to find it anymore... I just need to rearrange lines in a field by drag & drop... Could anyone please point me in the right direction or to an example script? Many thanks in advance. Warm regards, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com From scott at tactilemedia.com Wed Aug 3 18:48:51 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 03 Aug 2005 15:48:51 -0700 Subject: Drag & Drop of lines within fields In-Reply-To: Message-ID: Recently, Ton Kuypers wrote: > I seem to recall that someone created a very nice example of drag & > drop of lines in listfields, but I cans seem to find it anymore... I > just need to rearrange lines in a field by drag & drop... > > Could anyone please point me in the right direction or to an example > script? This might work for you (in your message box): go url "http://www.tactilemedia.com/download/getinline.rev" Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From howard.bornstein at gmail.com Wed Aug 3 19:31:22 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Wed, 3 Aug 2005 19:31:22 -0400 Subject: Drag & Drop of lines within fields In-Reply-To: <200508032253.j73MrG1g013729@ms-smtp-01.rdc-nyc.rr.com> References: <200508032253.j73MrG1g013729@ms-smtp-01.rdc-nyc.rr.com> Message-ID: <3f07cc26050803163122fb2803@mail.gmail.com> On 8/3/05, Scott Rossi wrote: > Recently, Ton Kuypers wrote: > > > I seem to recall that someone created a very nice example of drag & > > drop of lines in listfields, but I cans seem to find it anymore... I > > just need to rearrange lines in a field by drag & drop... > > > > Could anyone please point me in the right direction or to an example > > script? > Scott's solution is very elegant. Wilhelm Sanke also came up with a fairly simple solution that I find I use frequently for this purpose. His script is below. on mouseDown put word 2 of the clickLine into cl set the textstyle of line cl of me to bold put item 2 of the mouseLoc into starty put the effective textHeight of me into th repeat while the mouse is down if item 2 of the mouseLoc - starty > (th/2) then lock screen put cr & line cl of me after line cl + 1 of me delete line cl of me add 1 to cl set the textstyle of line cl of me to bold add th to starty unlock screen else if starty - item 2 of the mouseLoc > (th/2) then lock screen put line cl of me & cr before line cl - 1 of me delete line cl + 1 of me subtract 1 from cl set the textstyle of line cl of me to bold subtract th from starty unlock screen end if end repeat set the textstyle of line cl of me to plain end mouseDown -- Regards, Howard Bornstein ----------------------- www.designeq.com From davis.phil at comcast.net Wed Aug 3 19:47:32 2005 From: davis.phil at comcast.net (Phil Davis) Date: Wed, 03 Aug 2005 16:47:32 -0700 Subject: recursion limits In-Reply-To: <2AF00EE6-298A-42B9-8F81-CED2161B3AF0@cableone.net> References: <2AF00EE6-298A-42B9-8F81-CED2161B3AF0@cableone.net> Message-ID: <42F15794.4020806@comcast.net> Hi Chris, I've had apps quit due to recursion, but it's been a while ago. Unless there's a compelling reason to use true (nested) recursion, I always avoid it. You can accomplish the same effect by scheduling the next iteration of a handler from within itself in 0 seconds. It just means you can't have nested iterations of a handler, so you have to design your logic to accommodate that fact. So instead of this: on runMe -- do stuff runMe end runMe You have this: on runMe -- do stuff send "runMe" to me in zero seconds end runMe Side benefit: Because your processing isn't nested but effectively has idle time between handler runs, you can interrupt it with UI activity. That can't be said of nested iterative execution. HTH - Phil Davis Chris Sheffield wrote: > I know recursion has been discussed in the past, and I'm wondering if > anyone has ever run into any limits (i.e. memory problems) with > recursion in Rev. I am working on a little backup utility for my own > use, and I'm wondering what would happen if I decided to back up my > entire hard drive? Would Rev choke on that? I realize it could > potentially take hours. Would I start getting out of memory errors? > The utility uses a directory walking function to create a list of all > sub folders and files to be backed up. > > Anyone have some detailed results with this type of thing? > > Thanks, > Chris > > > ------------------------------------------ > Chris Sheffield > Read Naturally > The Fluency Company > http://www.readnaturally.com > ------------------------------------------ From JimAultWins at yahoo.com Wed Aug 3 19:59:08 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 03 Aug 2005 16:59:08 -0700 Subject: a peeve regarding saving scripts In-Reply-To: Message-ID: Can't you just move it to one corner and it will stay there/reappear there from then on? I am on a Mac OSX with 2.5.1 Jim Ault Las Vegas On 8/3/05 12:52 PM, "Timothy Miller" wrote: > If I click on the "apply changes" button when I'm ready to save a script then > if the script won't compile because it contains an error then > Answer "It is so irritating because I have to drag the script window/ > down and hunt for the error window that lies somewhere behind it/ > so I can find out what I did wrong and possibly identify the/ > offending line" with "Yer so right, dude!" > end if > end if > > > Wouldn't it be more user friendly for Rev to give me a different > dialog box at these times? > > The different dialog box would, among other things, give me access to > the error window, or the information in it, with a simple mouseclick > on a button in the dialog box. Maybe it would provide another button > that would identify the offending line, if it could be identified. > > Of course, that dialog box would also give me the usual options of > "Don't Apply" and "Cancel" and such. > > Just a thought. > > > Cheers, > > > Tim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Wed Aug 3 21:02:36 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 3 Aug 2005 18:02:36 -0700 Subject: a peeve regarding saving scripts In-Reply-To: References: Message-ID: <1132031018.20050803180236@ahsoftware.net> Tim- Wednesday, August 3, 2005, 12:52:39 PM, you wrote: It's been Bugzilla'd and already fixed for the next release. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Aug 3 21:09:48 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 3 Aug 2005 18:09:48 -0700 Subject: ANN: Full text justification plug-in In-Reply-To: References: <20050803170005.86EE08250C8@mail.runrev.com> Message-ID: <9532463269.20050803180948@ahsoftware.net> Yves- Wednesday, August 3, 2005, 1:44:41 PM, you wrote: > that's my problem, I cannot save, the "save" menuItem is dimmed ! In the messagebox, type set the style of stack "JustifyTextPlugin" to normal then save it in your plugins folder. -- -Mark Wieder mwieder at ahsoftware.net From soapdog at mac.com Wed Aug 3 21:19:39 2005 From: soapdog at mac.com (Andre Garzia) Date: Wed, 3 Aug 2005 22:19:39 -0300 Subject: ANN: Datastructures Article. Message-ID: <94173643-AC03-44B2-BE36-D59E51A47D87@mac.com> Hi Folks, continuing the job of presenting the community with cool articles, I just build an article entitled: "CS Demo #1: Lists and its uses." where I delve on the topic of lists, queues, stacks. The article is full of shots, movies, code and all the bells and whistles. There's a stack available with all the code and in the end we build a RPN calculator. Hope everyone likes it. http://www.andregarzia.com/articles/csdemo1 Cheers andre From JimAultWins at yahoo.com Wed Aug 3 21:43:55 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 03 Aug 2005 18:43:55 -0700 Subject: Mystery about file share on Mac OSX to Win client out there In-Reply-To: Message-ID: I am running the following: Mac G5, OSX 10.3.9 with a static IP on Cox Cable system in Las Vegas, NV static IP 24.234.124.99 (.99 is not the correct ending) After setting Windows Sharing ON the Apple dialog box says "Windows users can access your computer at \\wsip-24-234-124-99.lv.lv.cox.net\shareName" but while using WinXP, network wizard immediately complains about this address... Alternately, using \\24.234.124.99\shareName results in a timeout, "the folder you entered does not seem to be valid. Try another" I can get to this volume by IE ftp://24.234.124.99/ , then login, password, and move files + create folders The goal is to be able to mount the Mac folder on the XP desktop. How can I do the share? This has been rather confusing with little info out there to help me, but lots of mis-direction. Thanks in advance. Jim Ault Las Vegas From stephenREVOLUTION at barncard.com Wed Aug 3 21:44:53 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 3 Aug 2005 18:44:53 -0700 Subject: ANN: Datastructures Article. In-Reply-To: <94173643-AC03-44B2-BE36-D59E51A47D87@mac.com> References: <94173643-AC03-44B2-BE36-D59E51A47D87@mac.com> Message-ID: Beautiful work, Andre. I've bookmarked it. Thanks. sqb >Hi Folks, > >continuing the job of presenting the community with cool articles, I >just build an article entitled: "CS Demo #1: Lists and its uses." >where I delve on the topic of lists, queues, stacks. The article is >full of shots, movies, code and all the bells and whistles. There's >a stack available with all the code and in the end we build a RPN >calculator. > >Hope everyone likes it. > >http://www.andregarzia.com/articles/csdemo1 > >Cheers >andre From martinblackman at gmail.com Wed Aug 3 22:11:03 2005 From: martinblackman at gmail.com (Martin BLACKMAN) Date: Thu, 4 Aug 2005 10:11:03 +0800 Subject: use-revolution Digest, Vol 23, Issue 13 In-Reply-To: <20050803170005.86EE08250C8@mail.runrev.com> References: <20050803170005.86EE08250C8@mail.runrev.com> Message-ID: <79d1bee70508031911c11f19a@mail.gmail.com> > Date: Wed, 3 Aug 2005 12:00:14 -0400 > From: subzero569 > Subject: Re: Tabbed button colour, Win XP > To: How to use Revolution > Message-ID: <8f8651c105080309002ac11e12 at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Maybe try: > > set the lookandfeel to "Windows 95" > > I have used this successfully before with tabs. > > Josh > > On 8/3/05, Martin BLACKMAN wrote: > > I have a tabbed button in Rev 2.6 whose background color is set to dark grey. > > In XP with the theme set to 'windows classic' it appears as dark grey. > > With the theme set to 'Windows XP' the background of the button > > becomes off-white, and setting the background color of the button has > > no effect. > > > > I use this button effectively as the background for most of my card, > > and switch between cards using the tabs. > > > > Can someone suggest a way to force the colour to grey ? I could put a > > grey rectangle on top but that would still leave the tabs... > > > > thanks > > Martin Blackman Thanks Josh, that does the trick! From kray at sonsothunder.com Wed Aug 3 22:24:14 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 03 Aug 2005 21:24:14 -0500 Subject: ANN: Datastructures Article. In-Reply-To: <94173643-AC03-44B2-BE36-D59E51A47D87@mac.com> Message-ID: On 8/3/05 8:19 PM, "Andre Garzia" wrote: > Hi Folks, > > continuing the job of presenting the community with cool articles, I > just build an article entitled: "CS Demo #1: Lists and its uses." > where I delve on the topic of lists, queues, stacks. The article is > full of shots, movies, code and all the bells and whistles. There's a > stack available with all the code and in the end we build a RPN > calculator. > > Hope everyone likes it. > > http://www.andregarzia.com/articles/csdemo1 Awesome! Great work, Andre! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From sarahr at genesearch.com.au Wed Aug 3 22:42:43 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 4 Aug 2005 12:42:43 +1000 Subject: Mystery about file share on Mac OSX to Win client out there In-Reply-To: References: Message-ID: > I am running the following: > Mac G5, OSX 10.3.9 with a static IP on Cox Cable system in Las > Vegas, NV > static IP 24.234.124.99 (.99 is not the correct ending) > > After setting Windows Sharing ON > the Apple dialog box says > "Windows users can access your computer at > \\wsip-24-234-124-99.lv.lv.cox.net\shareName" > > but while using WinXP, network wizard immediately complains about > this > address... > Alternately, using \\24.234.124.99\shareName results in a timeout, > "the > folder you entered does not seem to be valid. Try another" shareName has to be the name of the user folder you want to connect to and you have to login in using that user's name & password. The way I do it is in the Network places, I go to "Make new network connection". Windows looks for any available share points and then gives up and allows me to configure directly. You then get to a field where you can enter the address - forget browsing for it. Click in the link below the field to get some examples, so that you can make sure you get the correct back-slashes or forward-slashes. Enter the name as given to you by the OS X System Prefs, but making sure it is in the correct format, and see if that works. I don't have access to a Windows machine at the moment, so some of the terminology may be wrong, but that's the idea. HTH, Sarah From alex at tweedly.net Wed Aug 3 22:58:45 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 04 Aug 2005 03:58:45 +0100 Subject: Mystery about file share on Mac OSX to Win client out there In-Reply-To: References: Message-ID: <42F18465.3000909@tweedly.net> Jim Ault wrote: >I am running the following: >Mac G5, OSX 10.3.9 with a static IP on Cox Cable system in Las Vegas, NV >static IP 24.234.124.99 (.99 is not the correct ending) > >After setting Windows Sharing ON >the Apple dialog box says >"Windows users can access your computer at >\\wsip-24-234-124-99.lv.lv.cox.net\shareName" > >but while using WinXP, network wizard immediately complains about this >address... >Alternately, using \\24.234.124.99\shareName results in a timeout, "the >folder you entered does not seem to be valid. Try another" > >I can get to this volume by IE ftp://24.234.124.99/ , then login, >password, and move files + create folders > >The goal is to be able to mount the Mac folder on the XP desktop. How can I >do the share? > >This has been rather confusing with little info out there to help me, but >lots of mis-direction. > > Jim - some guesswork here ..... (I touched a Mac a few years ago :-) The static IP (24.234.124.xx) is presumably the address allocated to you by your ISP. Are the Windows machines on the same network segment ? Or are they on an internal network ? (i.e. does the Mac connect to cable, and the other machines reside behind it on an internal network). If they are on an internal network, you'd need to use the internal-side IP address on your Mac to do the share. You won't be able to do file-sharing over the public net (firewalls), but you will be able to ftp (which would explain why one works, not the other). If that isn't clear - or doesn't help - give us a network picture (Win machine addresses, etc.) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.9/62 - Release Date: 02/08/2005 From stephenREVOLUTION at barncard.com Thu Aug 4 00:02:49 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 3 Aug 2005 21:02:49 -0700 Subject: Single Point Property Creation/Assignment Message-ID: Hi gang, I'm creating a central management system for settings using user properties. I want to use one central routine to access the preferences stack. To do that, I am working with a handler that creates and sets a custom property INSIDE a custom property set - all set at once. I got the below code to work. My question is -- is the use of 'do' the only or best way to accomplish the use of variables for assigning property names and data? Or am I missing the obvious? Would SetProp be better for this? any suggestions welcome... thanks on test -- beep 5 put "cats" into pPropSet put "kadiska" INTO pProp put "kitten" into pData put returnTheDefaultPrefsFileName() into pPath dataToProp pPropSet,pProp,pData,pPath end test on dataToProp pPropSet,pProp,pData,pPath if pPath is empty then put returnTheDefaultPrefsFileName() into pPath end if do "set the" && pPropSet & "[" & quote & pProp & quote & "] of stack " & quote & pPath & quote & " to " & pData end dataToProp function returnTheDefaultPrefsFileName put specialFolderPath("Preferences") into sfp put "/" & "preference.rev after sfp return sfp end returnTheDefaultPrefsFileName From jperryl at ecs.fullerton.edu Thu Aug 4 00:06:49 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 3 Aug 2005 21:06:49 -0700 (PDT) Subject: ANN: Datastructures Article. In-Reply-To: <94173643-AC03-44B2-BE36-D59E51A47D87@mac.com> Message-ID: Cool, Andre! I can't wait to read it!! Judy On Wed, 3 Aug 2005, Andre Garzia wrote: > Hi Folks, > > continuing the job of presenting the community with cool articles, I > just build an article entitled: "CS Demo #1: Lists and its uses." > where I delve on the topic of lists, queues, stacks. The article is > full of shots, movies, code and all the bells and whistles. There's a > stack available with all the code and in the end we build a RPN > calculator. From kray at sonsothunder.com Thu Aug 4 01:03:06 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 04 Aug 2005 00:03:06 -0500 Subject: Single Point Property Creation/Assignment In-Reply-To: Message-ID: On 8/3/05 11:02 PM, "Stephen Barncard" wrote: > Hi gang, > I'm creating a central management system for settings using user properties. > I want to use one central routine to access the preferences stack. > > To do that, I am working with a handler that creates and sets a > custom property INSIDE a custom property set - all set at once. I got > the below code to work. > > My question is -- is the use of 'do' the only or best way to > accomplish the use of variables for assigning property names and > data? Or am I missing the obvious? Well, as long as the variable holds a value, you don't need to use "do" for the *variable* part of it, i.e. this: put "Test" into tProp set the uPropSet[tProp] of this stack to "Hello" is the same as: put "Test" into tProp do "set the uPropSet[" & quote & tProp & quote & "] of this stack to" && quote & "Hello" & quote However you can't get away with it for property sets or values... so the only way to do this is with "do", as you've put in your email. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From lists at mangomultimedia.com Thu Aug 4 01:44:11 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 3 Aug 2005 22:44:11 -0700 Subject: Single Point Property Creation/Assignment In-Reply-To: References: Message-ID: <39C91B92-E63C-4004-88B6-A14F9F34E7B3@mangomultimedia.com> On Aug 3, 2005, at 10:03 PM, Ken Ray wrote: > Well, as long as the variable holds a value, you don't need to use > "do" for > the *variable* part of it, i.e. this: > > put "Test" into tProp > set the uPropSet[tProp] of this stack to "Hello" > > is the same as: > > put "Test" into tProp > do "set the uPropSet[" & quote & tProp & quote & "] of this stack > to" && > quote & "Hello" & quote > > However you can't get away with it for property sets or values... > so the > only way to do this is with "do", as you've put in your email. Though you can't do something like this: put "uSet" into tSet put "uProp" into tProp set the tSet[tProp] of me to "test" You can do this: set the customPropertySet of me to tSet set the tProp of me to "test" -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From tkuypers at pandora.be Thu Aug 4 03:55:03 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Thu, 4 Aug 2005 09:55:03 +0200 Subject: Drag & Drop of lines within fields In-Reply-To: References: Message-ID: :-)) Tnx, that was the one I was looking for! Works beautifull On 4-aug-05, at 00:48, Scott Rossi wrote: > Recently, Ton Kuypers wrote: > > >> I seem to recall that someone created a very nice example of drag & >> drop of lines in listfields, but I cans seem to find it anymore... I >> just need to rearrange lines in a field by drag & drop... >> >> Could anyone please point me in the right direction or to an example >> script? >> > > This might work for you (in your message box): > > go url "http://www.tactilemedia.com/download/getinline.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 > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From tkuypers at pandora.be Thu Aug 4 04:29:41 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Thu, 4 Aug 2005 10:29:41 +0200 Subject: "Decompile" Windows RR application In-Reply-To: <004301c59873$efd805a0$0100000a@super> References: <4D5B7112-4EA8-4AC3-AE00-9AAF70D186E2@pandora.be> <004301c59873$efd805a0$0100000a@super> Message-ID: GREAT!!!!!! This one worked, saved me a lot of work! Tnx Ton On 3-aug-05, at 23:38, Pat Trendler wrote: > Ton, > > This was on the list some time ago, can't remember who, I think it > was Monte. > > I've used this myself a couple of times. > > on mouseUp > answer file "Standalone" > if it is "cancel" then exit to top > put url ("binfile:"&it) into tStack > repeat forever > -- there's more than one stackfile in there which isinteresting ;-) > put offset("#!/bin/sh",char 10 to -1 of tStack) into tOff > if tOff = 0 then exit repeat > put char tOff+9 to -1 of tStack into tStack > end repeat > ask file "Stack" > if it is "cancel" then exit to top > set the fileType to "RevoRSTK" > put tStack into url ("binfile:"&it) > answer "conversion finished" with "OK" > end mouseUp > > When finished rename the stack with a rev extension. > > Pat > patrend at bigpond.com > > > ----- Original Message ----- From: "Ton Kuypers" > To: "How to use Revolution" > Sent: Thursday, August 04, 2005 2:29 AM > Subject: "Decompile" Windows RR application > > > >> Hi gang, >> >> I've had a disk-crash a couple of months ago and lost almost all >> files on that disk. >> Among the lost files is also the RR source of a program I've >> created. The only thing I have is the windows exe file. >> >> Is there a way to "decompile" this back to a working RR project >> (or even just parts of it) or do I just start all over again? >> >> Ton Kuypers >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG Anti-Virus. >> Version: 7.0.338 / Virus Database: 267.9.9/62 - Release Date: >> 2/08/2005 >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From alex at tweedly.net Thu Aug 4 05:59:12 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 04 Aug 2005 10:59:12 +0100 Subject: recursion limits In-Reply-To: <2AF00EE6-298A-42B9-8F81-CED2161B3AF0@cableone.net> References: <2AF00EE6-298A-42B9-8F81-CED2161B3AF0@cableone.net> Message-ID: <42F1E6F0.1020903@tweedly.net> Chris Sheffield wrote: > I know recursion has been discussed in the past, and I'm wondering if > anyone has ever run into any limits (i.e. memory problems) with > recursion in Rev. I am working on a little backup utility for my own > use, and I'm wondering what would happen if I decided to back up my > entire hard drive? Would Rev choke on that? I realize it could > potentially take hours. Would I start getting out of memory errors? > The utility uses a directory walking function to create a list of all > sub folders and files to be backed up. > > Anyone have some detailed results with this type of thing? I doubt that you'd run into recursion limits walking a disk (unless you have exceptionally large disks, or deeply nested directories) - but it's better to to avoid the possibility than to get a nasty surprise 3 hours into a backup .... Two suggestions. 1. Two phases. Generate a complete list of files *first*, then operate on them. This has two advantages; the resources for recursion aren't needed at the same time as the resources for the real work, and more importantly - if there are problems with limits, you find out in the first few minutes, before you have wasted much time. A directory walk simply storing file names runs at about 2000 files per second (on my slow laptop) up to about 7000 per second on a moderate desktop. (Obviously very dependent on the directory structure). 2. Iterate instead of recurse. Change your recursive call to a "send ... to me in 0 secs", and check the pendingmessages to tell when to exit (by "send .... to another"). Watch out for the need to quote directory names (I have directory names containing "comma" that confused my first attempt to do this). This has no worries about limits on recursion. (Are there limits on the number of pending messages ? Or performance issues with (tens of) thousands of pending messages ? Hmmmmm). This ran slower half the speed of the simple recursive method for me. Could probably be optimized if needed. Personally I'd just do the first of these - but the second one was an interesting exercise ..... -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 03/08/2005 From wouter.abraham at scarlet.be Thu Aug 4 07:39:53 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Thu, 4 Aug 2005 13:39:53 +0200 Subject: use-revolution Digest, Vol 23, Issue 10 former Re: OS X 10.4 vs. 10.3 incompatibility In-Reply-To: <5BE31E0B-D96D-4547-BAE0-696AF386631C@uleth.ca> References: <20050803003215.5351782549A@mail.runrev.com> <5BE31E0B-D96D-4547-BAE0-696AF386631C@uleth.ca> Message-ID: <9502C39D-B913-4C89-9532-DE3D1E384F97@scarlet.be> The grey bar occurs if the number of "ticks" (divisions) is so high they cannot be drawn separately. One of the possibilities to cause this is the thumbsize = 0. But there are other possibilities, look for extreme settings, like in the end value in relation with a small thumbsize. Greetings, Wouter On 03 Aug 2005, at 03:32, John Vokey wrote: > Nope. Thumbsize is 11. One other strange change: a grey bar > occurs a few pixels below the slider that doesn't appear with any > previous version of OS X. > > On 2-Aug-05, at 6:32 PM, use-revolution-request at lists.runrev.com > wrote: From david at openpartnership.net Thu Aug 4 08:44:02 2005 From: david at openpartnership.net (david bovill) Date: Thu, 4 Aug 2005 14:44:02 +0200 Subject: Drag & Drop of lines within fields In-Reply-To: References: Message-ID: > This might work for you (in your message box): > > go url "http://www.tactilemedia.com/download/getinline.rev" Links not working for me? Can you add it to your nice download machine thingy? From charles.hartman at conncoll.edu Thu Aug 4 09:53:40 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 4 Aug 2005 09:53:40 -0400 Subject: copy group to substack? Message-ID: I'm really baffled. Following suggestions on list, I'm handling the transfer of data to a "dialog" substack by copying a group. The group contains an image and a lot of little fields. The substack has two cards. I do the copy command in a button handler in a card in the main stack. The groups are kept (invisibly) on the same card, and each button press selects one for copying to the substack. The copied group needs to show up in both cards (each card) in the substack. I'm getting every kind of confusion. I've tried copying to the substack itself. But its accessibility within each of the two cards in the stack seems haphazard (sometimes different groups show up on the two cards! so I'm doing _something_ wrong in the copy). I've tried copying the group to the first card in the substack, but I'm having trouble getting a copy to the second card that I then need to do can't find it. In other words, I'm not understanding how this works. Is it groups I don't understand (their relation to a _stack_ or a _card in the stack_ -- these groups are _not_ marked with a background property, by the way, either in the main stack or in the substack)? Or is it copy? I rename "it" right after copying the group to the substack (this is how I keep from needing to specify which main-stack group I'm working with while I'm in the substack); is that getting me in trouble? I've been over the docs several (many) times, and can't find out where the gap in my conception is. I hope this makes enough sense to be answerable -- it doesn't make much sense to me any more. Charles Hartman From eric.chatonet at sosmartsoftware.com Thu Aug 4 09:59:56 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 4 Aug 2005 15:59:56 +0200 Subject: copy group to substack? In-Reply-To: References: Message-ID: <5D14ACDC-9CD4-4E41-B70D-402C35925919@sosmartsoftware.com> Hi Charles, To be frank, I don't understand very well the problem. But just a thought: You could try to copy your group on the first card (or not) of your substack, and then place it (see the place command) onto the other cards where you need it. Hope this can help... Le 4 ao?t 05 ? 15:53, Charles Hartman a ?crit : > I'm really baffled. Following suggestions on list, I'm handling the > transfer of data to a "dialog" substack by copying a group. The > group contains an image and a lot of little fields. The substack > has two cards. I do the copy command in a button handler in a card > in the main stack. The groups are kept (invisibly) on the same > card, and each button press selects one for copying to the > substack. The copied group needs to show up in both cards (each > card) in the substack. > > I'm getting every kind of confusion. I've tried copying to the > substack itself. But its accessibility within each of the two cards > in the stack seems haphazard (sometimes different groups show up on > the two cards! so I'm doing _something_ wrong in the copy). I've > tried copying the group to the first card in the substack, but I'm > having trouble getting a copy to the second card that I then need > to do can't find it. > > In other words, I'm not understanding how this works. Is it groups > I don't understand (their relation to a _stack_ or a _card in the > stack_ -- these groups are _not_ marked with a background property, > by the way, either in the main stack or in the substack)? Or is it > copy? I rename "it" right after copying the group to the substack > (this is how I keep from needing to specify which main-stack group > I'm working with while I'm in the substack); is that getting me in > trouble? I've been over the docs several (many) times, and can't > find out where the gap in my conception is. > > I hope this makes enough sense to be answerable -- it doesn't make > much sense to me any more. > > Charles Hartman Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jhurley at infostations.com Thu Aug 4 10:08:16 2005 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 4 Aug 2005 07:08:16 -0700 Subject: ANN: Full text justification plug-in In-Reply-To: <20050803203126.8F643825096@mail.runrev.com> References: <20050803203126.8F643825096@mail.runrev.com> Message-ID: > >Message: 18 >Date: Wed, 3 Aug 2005 22:44:41 +0200 >From: Yves COPPE >Subject: Re: ANN: Full text justification plug-in >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset=US-ASCII; delsp=yes; > format=flowed > > >> >> That's easy. First save the file to your drive. Then drag the file >> to the Plug-in folder inside the folder with your current version >> of Run Rev. From this point on it will appear among your plug-ins >> under the Development menu when you start up. >> >> Jim > >Hi Jim > >that's my problem, I cannot save, the "save" menuItem is dimmed ! > Yves, I forgot about that issue. Two solutions 1) Convert it to a top level stack and save. 2) But easier: click on the palette with command/control/shift keys held down. A contextual menu will appear and one of the options is "Save." Tip: This is a very valuable way to access a lot of useful utilities for any control (cards, fields, buttons, graphics, etc.) It works whether the pointer of browse tool is selected. When I open Rev the three finger of my left hand configure themselves automatically to permit this keyboard action. Jim From see3d at writeme.com Thu Aug 4 10:13:38 2005 From: see3d at writeme.com (Dennis Brown) Date: Thu, 04 Aug 2005 10:13:38 -0400 Subject: Single Point Property Creation/Assignment In-Reply-To: References: Message-ID: <276C058A-F446-4A9A-AECE-FEDD5AD3FCE7@writeme.com> Stephen, I took a little different approach to using custom properties and sets to avoid the use of the Do. I leave the default set as the normal operating mode and access a few "global" parameters in the normal way: get myParam of object I create sets to hold other sets of parameters, but I access them all using array notation: get the custSetArray[myParam] of object That way I can construct the name "myParam" directly without using a do command: get the custSetArray[varWithNameOfParam] of object Dennis On Aug 4, 2005, at 12:02 AM, Stephen Barncard wrote: > > Hi gang, > I'm creating a central management system for settings using user > properties. > I want to use one central routine to access the preferences stack. > > To do that, I am working with a handler that creates and sets a > custom property INSIDE a custom property set - all set at once. I > got the below code to work. > > My question is -- is the use of 'do' the only or best way to > accomplish the use of variables for assigning property names and > data? Or am I missing the obvious? From douggilliland at gmail.com Thu Aug 4 10:17:22 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Thu, 4 Aug 2005 10:17:22 -0400 Subject: Hide menubar problem Message-ID: <890e3d260508040717314fb907@mail.gmail.com> Is there a way to have my stack move up and occupy the area of the menubar when I hide it with the hide menubar command (using MacOSX)? I assumed (my first problem) that when I hid the menubar my 800x600 stack would fill the screen. Instead the menubar is replaced with the desktop and the bottom of my stack is cut off. Doug Gilliland Sarasota, FL From eric.chatonet at sosmartsoftware.com Thu Aug 4 10:21:01 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 4 Aug 2005 16:21:01 +0200 Subject: Hide menubar problem In-Reply-To: <890e3d260508040717314fb907@mail.gmail.com> References: <890e3d260508040717314fb907@mail.gmail.com> Message-ID: Hi Doug, Try to set the windowboundingRect to the screenRect and the loc of your stack to the screenLoc :-) Le 4 ao?t 05 ? 16:17, Douglas Gilliland a ?crit : > Is there a way to have my stack move up and occupy the area of the > menubar when I hide it with the hide menubar command (using MacOSX)? > I assumed (my first problem) that when I hid the menubar my 800x600 > stack would fill the screen. Instead the menubar is replaced with the > desktop and the bottom of my stack is cut off. > Doug Gilliland Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From charles.hartman at conncoll.edu Thu Aug 4 10:29:59 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 4 Aug 2005 10:29:59 -0400 Subject: copy group to substack? In-Reply-To: <5D14ACDC-9CD4-4E41-B70D-402C35925919@sosmartsoftware.com> References: <5D14ACDC-9CD4-4E41-B70D-402C35925919@sosmartsoftware.com> Message-ID: <4840CC70-1E1C-4FAE-926A-7F301CCE2C87@conncoll.edu> I know my explanation was a mess; sorry. Following your Place suggestion (thanks, I'd forgotten that command), I've tried this: 1. in a handler in the main stack, copy the correct group to the substack (NOT a card in a substack); rename it (from "lineimagegroup7" or "lineimagegroup3" or whatever to "lineImage") 2. in the openCard handler in the substack, issue a command "place group 'lineImage' of this stack onto this card" When I do that, I get an error message: "group is not in this stack or is already on this card". Charles On Aug 4, 2005, at 9:59 AM, Eric Chatonet wrote: > Hi Charles, > > To be frank, I don't understand very well the problem. > But just a thought: > You could try to copy your group on the first card (or not) of your > substack, and then place it (see the place command) onto the other > cards where you need it. > Hope this can help... > > Le 4 ao?t 05 ? 15:53, Charles Hartman a ?crit : > > >> I'm really baffled. Following suggestions on list, I'm handling >> the transfer of data to a "dialog" substack by copying a group. >> The group contains an image and a lot of little fields. The >> substack has two cards. I do the copy command in a button handler >> in a card in the main stack. The groups are kept (invisibly) on >> the same card, and each button press selects one for copying to >> the substack. The copied group needs to show up in both cards >> (each card) in the substack. >> >> I'm getting every kind of confusion. I've tried copying to the >> substack itself. But its accessibility within each of the two >> cards in the stack seems haphazard (sometimes different groups >> show up on the two cards! so I'm doing _something_ wrong in the >> copy). I've tried copying the group to the first card in the >> substack, but I'm having trouble getting a copy to the second card >> that I then need to do can't find it. >> >> In other words, I'm not understanding how this works. Is it groups >> I don't understand (their relation to a _stack_ or a _card in the >> stack_ -- these groups are _not_ marked with a background >> property, by the way, either in the main stack or in the >> substack)? Or is it copy? I rename "it" right after copying the >> group to the substack (this is how I keep from needing to specify >> which main-stack group I'm working with while I'm in the >> substack); is that getting me in trouble? I've been over the docs >> several (many) times, and can't find out where the gap in my >> conception is. >> >> I hope this makes enough sense to be answerable -- it doesn't make >> much sense to me any more. >> >> Charles Hartman >> > > > Best Regards from Paris, > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > > Free plugins and tutorials on my website > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Thu Aug 4 10:34:35 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 04 Aug 2005 09:34:35 -0500 Subject: copy group to substack? In-Reply-To: Message-ID: On 8/4/05 8:53 AM, "Charles Hartman" wrote: > I'm really baffled. Following suggestions on list, I'm handling the > transfer of data to a "dialog" substack by copying a group. The group > contains an image and a lot of little fields. The substack has two > cards. I do the copy command in a button handler in a card in the > main stack. The groups are kept (invisibly) on the same card, and > each button press selects one for copying to the substack. The copied > group needs to show up in both cards (each card) in the substack. > > I'm getting every kind of confusion. I've tried copying to the > substack itself. I think that might be the problem... if you're currently doing this: copy group "MyGroup" to stack "MySubStack" then you need to copy to the *cards* of the substack, as in: copy group "MyGroup" to card 1 of stack "MySubStack" copy group "MyGroup" to card 2 of stack "MySubStack" This assumes that the current defaultStack is the main stack. HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From eric.chatonet at sosmartsoftware.com Thu Aug 4 10:36:18 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 4 Aug 2005 16:36:18 +0200 Subject: copy group to substack? In-Reply-To: <4840CC70-1E1C-4FAE-926A-7F301CCE2C87@conncoll.edu> References: <5D14ACDC-9CD4-4E41-B70D-402C35925919@sosmartsoftware.com> <4840CC70-1E1C-4FAE-926A-7F301CCE2C87@conncoll.edu> Message-ID: <82FE876E-83BA-4C21-A61C-7E2134F6E238@sosmartsoftware.com> Hi Charles, Try to copy your group to cd ID 1002 of stack ID 1002 should be the first card (check this before) In a preOpenstack handler in this substack: place group "lineImage" onto cd 2 For sure, your copy was placed on the first card and you can't place this group onto this card since it's already there :-) You should understand the second option in the error message. Don't forget that you can check all this in the application browser. Le 4 ao?t 05 ? 16:29, Charles Hartman a ?crit : > I know my explanation was a mess; sorry. > > Following your Place suggestion (thanks, I'd forgotten that > command), I've tried this: > 1. in a handler in the main stack, copy the correct group to the > substack (NOT a card > in a substack); rename it (from "lineimagegroup7" or > "lineimagegroup3" or whatever > to "lineImage") > 2. in the openCard handler in the substack, issue a command "place > group 'lineImage' > of this stack onto this card" > When I do that, I get an error message: "group is not in this stack > or is already on this card". Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From klaus at major-k.de Thu Aug 4 10:42:48 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 4 Aug 2005 16:42:48 +0200 Subject: ANN: Full text justification plug-in In-Reply-To: References: <20050803203126.8F643825096@mail.runrev.com> Message-ID: <4EAFE594-6465-4E89-9891-02764E873A8C@major-k.de> Hi Jim and Yves and all, >> ... >>> That's easy. First save the file to your drive. Then drag the >>> file to the Plug-in folder inside the folder with your current >>> version of Run Rev. From this point on it will appear among your >>> plug-ins under the Development menu when you start up. >>> Jim >> >> Hi Jim >> that's my problem, I cannot save, the "save" menuItem is dimmed ! >> > Yves, > > I forgot about that issue. Two solutions > 1) Convert it to a top level stack and save. > 2) But easier: click on the palette with command/control/shift keys > held down. A contextual menu will appear and one of the options is > "Save." > > Tip: > This is a very valuable way to access a lot of useful utilities for > any control (cards, fields, buttons, graphics, etc.) It works > whether the pointer of browse tool is selected. When I open Rev the > three finger of my left hand configure themselves automatically to > permit this keyboard action. > > Jim did i already mention that my wonderful "2lz2" plugin has an extra menu for these kind of things? Not? OK, my wonderful "2lz2" plugin has an extra menu for these kind of things :-) Get it from my website or here the direct link: http://www.major-k.de/staxx/2lz2.mc.zip Best Klaus Major klaus at major-k.de http://www.major-k.de From dburgun at dsl.pipex.com Thu Aug 4 11:00:53 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 4 Aug 2005 16:00:53 +0100 Subject: Image and Player Image Problems In-Reply-To: References: Message-ID: Hi, I have a Player object which I use to display a TIFF file, I use the following code to do this and all works fine: set the fileName of player 1 to "A-TIFF-File.tif" Which works fine. However I want to be able to get the imageData of the image that is being displayed. On an image object the following works: put the imageData of image 1 into myImageData However the same does not work for a player object. How do I get the Image Data for a Player Object? Thanks in Advance Dave From eric.chatonet at sosmartsoftware.com Thu Aug 4 11:07:05 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 4 Aug 2005 17:07:05 +0200 Subject: [ANN] Cookbook for All thanks to Resources Picker 1.1 and Runrev Message-ID: Paris, Thu, Aug 4, 2005 ---------------------- English version ------------------------- Hello, So Smart Software has the pleasure of announcing the availability of Resources Picker 1.1: The main new features are the following: ? By courtesy of Runrev, the Cookbook from Rev 2.2 and all its recipes is now included in the Resources Picker package* This means that from now on the Cookbook can be accessed from Resources Picker with any version of DreamCard/Revolution. ? An additional automated procedure informs you if a new version is available when Resources Picker opens. To download this new free version, please visit http:// www.sosmartsoftware.com Best regards, Eric Chatonet. * Note that the cookbook is provided as a data file and not as a stack. --------------------- Version fran?aise ------------------------ Bonjour, So Smart Software a le plaisir d'annoncer la disponibilit? de Resources Picker 1.1 : Les principales nouveaut?s sont les suivantes : ? Avec la gracieuse permission de Runrev, le livre de recettes de Rev 2.2 et toutes ses recettes est maintenant inclus dans le package de Resources Picker* Ceci signifie que d?sormais, le livre de recettes peut ?tre exploit? depuis Resources Picker quelque soit votre version de DreamCard/ Revolution. ? Une proc?dure automatique ? l'ouverture permet de vous informer si une nouvelle version de Resources Picker est disponible. Pour t?l?charger cette nouvelle version gratuite, merci de vous rendre sur http://www.sosmartsoftware.com Cordialement, Eric Chatonet. * Merci de bien vouloir noter que le livre de recettes est fourni sous la forme d'un fichier data et non comme une pile. ------------------------------------------------------------------- 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 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" ------------------------------------------------------------------- Web site http://www.sosmartsoftware.com Email eric.chatonet at sosmartsoftware.com Phone 33 (0) 143 317 762 Mobile 33 (0) 620 745 086 ------------------------------------------------------------------- From klaus at major-k.de Thu Aug 4 11:16:55 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 4 Aug 2005 17:16:55 +0200 Subject: Image and Player Image Problems In-Reply-To: References: Message-ID: Hi David, > Hi, > > I have a Player object which I use to display a TIFF file, I use > the following code to do this and all works fine: > set the fileName of player 1 to "A-TIFF-File.tif" > Which works fine. > However I want to be able to get the imageData of the image that is > being displayed. > On an image object the following works: > put the imageData of image 1 into myImageData > However the same does not work for a player object. > How do I get the Image Data for a Player Object? well, technically this is a video for Rev and no image ;-) You could: 1. Import a snapshot into your image, if possible... 2. Create a temporary** JPG or PNG image with "AppleScript" and "Image Events", if you are on Mac OS X, and import that one into your image. **Use a something with "the tempname" for this purpose Little example script, just change the paths: ############ tell application "Image events" launch set myimage to open "/Users/klaus/Pictures/PHTO0011.tif" save myimage as JPEG in "/Users/klaus/Desktop/testbild.jpg" close myimage end tell ########### You can save as: BMP JPEG JPEG2 PICT PNG PSD QuickTime Image TIFF I am not sure if this will work with OS X < 10.4! 3. Like Nr. 2 but with Trevor's wonderful Enhanced Quicktime External. Hope that helps. > Thanks in Advance > Dave Regards Klaus Major klaus at major-k.de http://www.major-k.de From webmaster at dreamscapesoftware.com Thu Aug 4 11:21:18 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 04 Aug 2005 10:21:18 -0500 Subject: Image and Player Image Problems In-Reply-To: References: Message-ID: <42F2326E.2070902@dreamscapesoftware.com> David Burgun wrote: > How do I get the Image Data for a Player Object? Well, looking at the documentation you will see that you can't get the imageData directly. You can, however, download the EnhancedQT external. Use it to convert the TIFF to a format that Revolution supports...like PNG. Set the filename of an image to the PNG and then pull the imageData. Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From yvescoppe at skynet.be Thu Aug 4 11:34:42 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Thu, 4 Aug 2005 17:34:42 +0200 Subject: ANN: Full text justification plug-in In-Reply-To: References: <20050803203126.8F643825096@mail.runrev.com> Message-ID: <751FD81A-5C07-4A7C-9C7E-5E406BCF1070@skynet.be> > I forgot about that issue. Two solutions > > 1) Convert it to a top level stack and save. > > 2) But easier: click on the palette with command/control/shift keys > held down. A contextual menu will appear and one of the options is > "Save." > > Tip: > > This is a very valuable way to access a lot of useful utilities for > any control (cards, fields, buttons, graphics, etc.) It works > whether the pointer of browse tool is selected. When I open Rev the > three finger of my left hand configure themselves automatically to > permit this keyboard action. > > Jim > _______________________________________________ thanks. I've done it. it works perfect. Greetings. Yves COPPE yvescoppe at skynet.be From soapdog at mac.com Thu Aug 4 11:38:32 2005 From: soapdog at mac.com (Andre Garzia) Date: Thu, 4 Aug 2005 12:38:32 -0300 Subject: ANN: Datastructures Article. In-Reply-To: References: <94173643-AC03-44B2-BE36-D59E51A47D87@mac.com> Message-ID: On Aug 3, 2005, at 10:44 PM, Stephen Barncard wrote: > Beautiful work, Andre. I've bookmarked it. Thanks. > > sqb > thanks!!! did you liked the content and the way it's presented? I am creating guidelines for writting future articles... Andre >> Hi Folks, >> >> continuing the job of presenting the community with cool articles, I >> just build an article entitled: "CS Demo #1: Lists and its uses." >> where I delve on the topic of lists, queues, stacks. The article is >> full of shots, movies, code and all the bells and whistles. There's a >> stack available with all the code and in the end we build a RPN >> calculator. >> >> Hope everyone likes it. >> >> http://www.andregarzia.com/articles/csdemo1 >> >> Cheers >> andre > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From soapdog at mac.com Thu Aug 4 11:39:24 2005 From: soapdog at mac.com (Andre Garzia) Date: Thu, 4 Aug 2005 12:39:24 -0300 Subject: ANN: Datastructures Article. In-Reply-To: References: Message-ID: <258e6b09d69a012a88c64c21f113f4b7@mac.com> On Aug 3, 2005, at 11:24 PM, Ken Ray wrote: > On 8/3/05 8:19 PM, "Andre Garzia" wrote: > >> Hi Folks, >> >> continuing the job of presenting the community with cool articles, I >> just build an article entitled: "CS Demo #1: Lists and its uses." >> where I delve on the topic of lists, queues, stacks. The article is >> full of shots, movies, code and all the bells and whistles. There's a >> stack available with all the code and in the end we build a RPN >> calculator. >> >> Hope everyone likes it. >> >> http://www.andregarzia.com/articles/csdemo1 > > Awesome! Great work, Andre! > I am also making one to show cool uses of XML, guess whos library is also used? :D Cheers andre > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From soapdog at mac.com Thu Aug 4 11:58:41 2005 From: soapdog at mac.com (Andre Garzia) Date: Thu, 4 Aug 2005 12:58:41 -0300 Subject: article on osnews about RB... Message-ID: <54af33cfc8ef3b21670df973e2f45c9b@mac.com> Hi Folks, just read a review of RB 2005 in OSNews.com. At the end of the review I felt like, hey, I can do all of this in Rev and more. then I thought, why I don't see more Rev reviews out there... anyone got a clue? It would be nice if we could post a review of Rev as a cross platform development tool in OSNews. Andre -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org From sanke at hrz.uni-kassel.de Thu Aug 4 12:00:39 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 04 Aug 2005 18:00:39 +0200 Subject: Drag & Drop of lines within fields Message-ID: <42F23BA7.9000505@hrz.uni-kassel.de> On Wed, 3 Aug 2005, Howard Bornstein wrote: > (snip) > Scott's solution is very elegant. Wilhelm Sanke also came up with a > fairly simple solution that I find I use frequently for this purpose. > His script is below. > (snip) Thanks for the reference, Howard. The first version of this script Howard refers to was produced with help from Scott Raney (the creator of Metacard). Following a similar discussion in February (subject. "Drag from-within-to fields") I had added a sample stack to my website containing 6 different solutions of the drag-drop-lines question, including one example that presents a slightly modified version of Scott Rossi's stack (hope he has agreed to my modification as an alternative to his excellent solution). The sample stack can be directly downloaded from here or from page "Tools and Samples for Development" of The scripts can most certainly - as usual - be improved, refined, and extended, but they may at least show directions how to tackle some problems coming up when you wish to visibly (not just with a drag cursor) drag between or inside controls whose locktext is set to true. -- Wilhelm Sanke From bnz2 at cdc.gov Thu Aug 4 12:38:24 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 4 Aug 2005 12:38:24 -0400 Subject: article on osnews about RB... Message-ID: <64878EF567131D4596246171F75FD4A9968153@m-epo-1.epo.cdc.gov> My guess is that Rev has like a tenth of the number of users as RB. I really don't know, and the size of Rev's user base is apparently a secret, but I bet we have less users and thus less exposure. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Andre Garzia Sent: Thursday, August 04, 2005 11:59 AM To: How to use Revolution Subject: article on osnews about RB... Hi Folks, just read a review of RB 2005 in OSNews.com. At the end of the review I felt like, hey, I can do all of this in Rev and more. then I thought, why I don't see more Rev reviews out there... anyone got a clue? It would be nice if we could post a review of Rev as a cross platform development tool in OSNews. Andre -- Andre Alves Garzia ? 2004 ? BRAZIL http://studio.soapdog.org _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From capellan2000 at yahoo.com Thu Aug 4 12:42:01 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 4 Aug 2005 09:42:01 -0700 (PDT) Subject: ANN: Full text justification plug-in In-Reply-To: <20050804143150.BC87D825112@mail.runrev.com> Message-ID: <20050804164201.68967.qmail@web40514.mail.yahoo.com> on Thu, 4 Aug 2005 Klaus Major wrote: > Jim > did i already mention that my wonderful "2lz2" > plugin has an extra menu > for these kind of things? > Not? > OK, my wonderful "2lz2" plugin has an extra menu > for these kind of > things :-) > Get it from my website or here the direct link: > http://www.major-k.de/staxx/2lz2.mc.zip Did you know what is needed in this platform? A website that review every stack that every developer publish in the web, with screenshots, movies and explanations about their uses and functions. Maybe if Richard Gaskin could organize a two person team for doing this work in RevJournal... ;-) al Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From bann at sunncomm.com Thu Aug 4 12:42:08 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Thu, 4 Aug 2005 09:42:08 -0700 Subject: append a string to a string Message-ID: Hello, How to append a string to a string? From revdan at danshafer.com Thu Aug 4 12:45:45 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 4 Aug 2005 09:45:45 -0700 Subject: article on osnews about RB... In-Reply-To: <54af33cfc8ef3b21670df973e2f45c9b@mac.com> References: <54af33cfc8ef3b21670df973e2f45c9b@mac.com> Message-ID: "Coincidentally" (I don't believe in coincidence), a client of mine hired me a few days ago to do an analysis of the new RB with an eye to helping him figure out if he should either switch from Rev (which he's using at my behest for over a year and loving) to RB for a new set of projects for HIS clients, add it to his arsenal, or pass on it. My study will, of course, be his property since he's paying for it. But he's given me permission to extract from it a white paper for the communities (RB and RR) that eliminates all mention of his company, its product plans, and anything else he considers confidential. I hope to post that in the next week or so on my Revolution site and perhaps elsewhere. I *can* say at this point that the IDE in RB2005 is very, very nice. Polished, smooth, fluid, intuitive, and all in one window (a la Jerry Daniels' new Constellation IDE for Rev, which I think is nearing release). No screen clutter. MTK On Aug 4, 2005, at 8:58 AM, Andre Garzia wrote: > Hi Folks, > > just read a review of RB 2005 in OSNews.com. At the end of the > review I felt like, hey, I can do all of this in Rev and more. then > I thought, why I don't see more Rev reviews out there... anyone got > a clue? It would be nice if we could post a review of Rev as a > cross platform development tool in OSNews. > > Andre > -- > Andre Alves Garzia ? 2004 ? BRAZIL > http://studio.soapdog.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From eric.chatonet at sosmartsoftware.com Thu Aug 4 12:50:07 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 4 Aug 2005 18:50:07 +0200 Subject: append a string to a string In-Reply-To: References: Message-ID: Hi Ban, put "B" & "an" into tFirstName put tFirstName && "Nguyen" into tDocs ;-) Le 4 ao?t 05 ? 18:42, Ban Nguyen a ?crit : > How to append a string to a string? PS. As I told you lately, check the docs! Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From klaus at major-k.de Thu Aug 4 12:51:26 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 4 Aug 2005 18:51:26 +0200 Subject: ANN: Full text justification plug-in In-Reply-To: <20050804164201.68967.qmail@web40514.mail.yahoo.com> References: <20050804164201.68967.qmail@web40514.mail.yahoo.com> Message-ID: <40083F5A-3916-45B8-B121-C008E6AA90EC@major-k.de> Hi Alejandro, > on Thu, 4 Aug 2005 > Klaus Major wrote: > >> Jim >> did i already mention that my wonderful "2lz2" >> plugin has an extra menu for these kind of things? >> Not? >> OK, my wonderful "2lz2" plugin has an extra menu >> for these kind of things :-) >> Get it from my website or here the direct link: >> http://www.major-k.de/staxx/2lz2.mc.zip >> > Did you know what is needed in this platform? > > A website that review every stack that every > developer publish in the web, with screenshots, > movies and explanations about their uses and > functions. > > Maybe if Richard Gaskin could organize a two person > team for doing this work in RevJournal... ;-) LOL :-) "Sissiphus" is what comes to my mind immediately :-D > al > > Visit my site: > http://www.geocities.com/capellan2000/ Best Klaus Major klaus at major-k.de http://www.major-k.de From bann at sunncomm.com Thu Aug 4 12:55:58 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Thu, 4 Aug 2005 09:55:58 -0700 Subject: append a string to a string Message-ID: I use this: put "nameOfMovie" into myMovie put ".mov" after myMovie This works too Thanks Eric ----------------------------------------- Hi Ban, put "B" & "an" into tFirstName put tFirstName && "Nguyen" into tDocs ;-) Le 4 ao?t 05 ? 18:42, Ban Nguyen a ?crit : > How to append a string to a string? PS. As I told you lately, check the docs! Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From darkroll0x001 at yahoo.es Thu Aug 4 12:56:20 2005 From: darkroll0x001 at yahoo.es (=?iso-8859-1?q?Luis=20L.=20Rodr=EDguez=20Oro?=) Date: Thu, 4 Aug 2005 18:56:20 +0200 (CEST) Subject: Err in Sort Command Message-ID: <20050804165620.58322.qmail@web25103.mail.ukl.yahoo.com> The problem is(in my opinion): in transcript: "?rbol" > "boca" -- mistake in other languages: "?rbol" < "boca" the problem have repercussions on(Example): Sort lines of field "Glosario" if the text of field "Diccionario" is: cuando caminemos te dar? un beso bajo ?l ?rbol hasta_sacarte_un ?vulo the command sort return: bajo beso caminemos cuando dar? hasta_sacarte_un te un ?rbol ?l ￳?vulo When really should return: ?rbol bajo beso caminemos cuando dar? ?l hasta_sacarte_un ?vulo te un I hope that your understand my limited English. If the mistake is my, please say me!! ------------------------- Lic. Luis Rodr?guez Oro Programador I N S T E D ------------------------- ______________________________________________ Renovamos el Correo Yahoo! Nuevos servicios, m?s seguridad http://correo.yahoo.es From darkroll0x001 at yahoo.es Thu Aug 4 12:59:11 2005 From: darkroll0x001 at yahoo.es (=?iso-8859-1?q?Luis=20L.=20Rodr=EDguez=20Oro?=) Date: Thu, 4 Aug 2005 18:59:11 +0200 (CEST) Subject: Other Err Message-ID: <20050804165911.18808.qmail@web25102.mail.ukl.yahoo.com> The Handle KeyUP do not Sent when the user releases a pressed this key: "?,?,?,?,?,?" ------------------------- Lic. Luis Rodr?guez Oro Programador I N S T E D ------------------------- ______________________________________________ Renovamos el Correo Yahoo! Nuevos servicios, m?s seguridad http://correo.yahoo.es From eric.chatonet at sosmartsoftware.com Thu Aug 4 13:03:00 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 4 Aug 2005 19:03:00 +0200 Subject: ANN: Full text justification plug-in In-Reply-To: <20050804164201.68967.qmail@web40514.mail.yahoo.com> References: <20050804164201.68967.qmail@web40514.mail.yahoo.com> Message-ID: <7FC7A962-2102-4558-A9EC-12FB98F9FB9C@sosmartsoftware.com> Hi Alejandro, A few thoughts: 1. If you specify "A very helpful thingie" or "2lz2" or "Klaus" or "Major" in my Resources Picker, you will go to the right page on the web :-) (I freely admit that Klaus descriptions of his own work could be more precise ;-) 2. All my plugins come with a bilingual help stack... But, seriously, it would be a big lot of work ... Even if RevJournal would be the right place for such a challenge... PS. Bravo for your article: I feel good when form and content are well designed. It's so rare! Le 4 ao?t 05 ? 18:42, Alejandro Tejada a ?crit : > on Thu, 4 Aug 2005 > Klaus Major wrote: > > >> Jim >> did i already mention that my wonderful "2lz2" >> plugin has an extra menu >> for these kind of things? >> Not? >> OK, my wonderful "2lz2" plugin has an extra menu >> for these kind of >> things :-) >> Get it from my website or here the direct link: >> http://www.major-k.de/staxx/2lz2.mc.zip >> > > Did you know what is needed in this platform? > > A website that review every stack that every > developer publish in the web, with screenshots, > movies and explanations about their uses and > functions. > > Maybe if Richard Gaskin could organize a two person > team for doing this work in RevJournal... ;-) Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jhurley at infostations.com Thu Aug 4 13:08:00 2005 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 4 Aug 2005 10:08:00 -0700 Subject: ANN: Full text justification plug-in & 2lz2 In-Reply-To: <20050804143150.BC87D825112@mail.runrev.com> References: <20050804143150.BC87D825112@mail.runrev.com> Message-ID: > >------------------------------ > >Message: 19 >Date: Thu, 4 Aug 2005 16:42:48 +0200 >From: Klaus Major >Subject: Re: ANN: Full text justification plug-in >To: How to use Revolution >Message-ID: <4EAFE594-6465-4E89-9891-02764E873A8C at major-k.de> >Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > >Hi Jim and Yves and all, > >(snip) > > >> Tip: >> This is a very valuable way to access a lot of useful utilities for >> any control (cards, fields, buttons, graphics, etc.) It works >> whether the pointer of browse tool is selected. When I open Rev the >> three finger of my left hand configure themselves automatically to >> permit this keyboard action. >> >> Jim > >did i already mention that my wonderful "2lz2" plugin has an extra menu >for these kind of things? > >Not? > >OK, my wonderful "2lz2" plugin has an extra menu for these kind of >things :-) > >Get it from my website or here the direct link: > >http://www.major-k.de/staxx/2lz2.mc.zip > > >Best > >Klaus Major >klaus at major-k.de >http://www.major-k.de Klaus, Sorry, Klaus. I missed this. Sooooo much on the list. Very nice. Lots of useful functions. I was confused at first. It doesn't open as a palette. And in the Actions, what is the mouse stack? Think I'm missing something here. Jim From revdan at danshafer.com Thu Aug 4 13:42:31 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 4 Aug 2005 10:42:31 -0700 Subject: article on osnews about RB... In-Reply-To: <64878EF567131D4596246171F75FD4A9968153@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9968153@m-epo-1.epo.cdc.gov> Message-ID: My guess is that it's greater than a 10:1 ratio. More like 20 or 30 times. But RB's been at it a lot longer and has the advantage of promoting a language seen as mainstream. The size of installed base affects book publishers but magazines typically publish reviews and articles about even sort of backwater products. Rev has actually had several published; I know because I've written a few for them. On Aug 4, 2005, at 9:38 AM, Lynch, Jonathan wrote: > My guess is that Rev has like a tenth of the number of users as RB. > > I really don't know, and the size of Rev's user base is apparently > a secret, but I bet we have less users and thus less exposure. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From klaus at major-k.de Thu Aug 4 13:44:13 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 4 Aug 2005 19:44:13 +0200 Subject: ANN: Full text justification plug-in & 2lz2 In-Reply-To: References: <20050804143150.BC87D825112@mail.runrev.com> Message-ID: Hi Jim, >> ... >> did i already mention that my wonderful "2lz2" plugin has an extra >> menu >> for these kind of things? >> Not? >> OK, my wonderful "2lz2" plugin has an extra menu for these kind >> of things :-) >> Get it from my website or here the direct link: >> http://www.major-k.de/staxx/2lz2.mc.zip >> >> >> Best >> >> Klaus Major >> klaus at major-k.de >> http://www.major-k.de >> > Klaus, > > Sorry, Klaus. I missed this. Sooooo much on the list. really no need to excuse :-) > Very nice. Lots of useful functions. > I was confused at first. It doesn't open as a palette. Oh, sorry, i thought i put this into the stackscript. But you can use the plug-in manager to open it as a palette. > And in the Actions, what is the mouse stack? Think I'm missing > something here. This is a wonderful thing actually ;-) the mousestack = the stack that is currently "under" the cursor the mousecontrol = the control that is currently "under" the cursor Check the docs for more info about these very helpful items. > Jim Best Klaus Major klaus at major-k.de http://www.major-k.de From revdan at danshafer.com Thu Aug 4 13:44:30 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 4 Aug 2005 10:44:30 -0700 Subject: "Decompile" Windows RR application In-Reply-To: References: <4D5B7112-4EA8-4AC3-AE00-9AAF70D186E2@pandora.be> <004301c59873$efd805a0$0100000a@super> Message-ID: <00F9B44C-D7A7-4505-96B2-5DF40A96DE02@danshafer.com> Hmmmm. I'm glad this worked but does the fact that it is so (relatively) easy and straightforward to decompile a compiled application bother anyone in terms of marketability issues for Rev? Or am I just overly paranoid? On Aug 4, 2005, at 1:29 AM, Ton Kuypers wrote: > GREAT!!!!!! > This one worked, saved me a lot of work! > > Tnx > > Ton > > On 3-aug-05, at 23:38, Pat Trendler wrote: > > >> Ton, >> >> This was on the list some time ago, can't remember who, I think it >> was Monte. >> >> I've used this myself a couple of times. >> >> on mouseUp >> answer file "Standalone" >> if it is "cancel" then exit to top >> put url ("binfile:"&it) into tStack >> repeat forever >> -- there's more than one stackfile in there which isinteresting ;-) >> put offset("#!/bin/sh",char 10 to -1 of tStack) into tOff >> if tOff = 0 then exit repeat >> put char tOff+9 to -1 of tStack into tStack >> end repeat >> ask file "Stack" >> if it is "cancel" then exit to top >> set the fileType to "RevoRSTK" >> put tStack into url ("binfile:"&it) >> answer "conversion finished" with "OK" >> end mouseUp >> >> When finished rename the stack with a rev extension. >> >> Pat >> patrend at bigpond.com >> >> >> ----- Original Message ----- From: "Ton Kuypers" >> >> To: "How to use Revolution" >> Sent: Thursday, August 04, 2005 2:29 AM >> Subject: "Decompile" Windows RR application >> >> >> >> >>> Hi gang, >>> >>> I've had a disk-crash a couple of months ago and lost almost all >>> files on that disk. >>> Among the lost files is also the RR source of a program I've >>> created. The only thing I have is the windows exe file. >>> >>> Is there a way to "decompile" this back to a working RR project >>> (or even just parts of it) or do I just start all over again? >>> >>> Ton Kuypers >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Anti-Virus. >>> Version: 7.0.338 / Virus Database: 267.9.9/62 - Release Date: >>> 2/08/2005 >>> >>> >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From klaus at major-k.de Thu Aug 4 13:46:21 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 4 Aug 2005 19:46:21 +0200 Subject: "Decompile" Windows RR application In-Reply-To: <00F9B44C-D7A7-4505-96B2-5DF40A96DE02@danshafer.com> References: <4D5B7112-4EA8-4AC3-AE00-9AAF70D186E2@pandora.be> <004301c59873$efd805a0$0100000a@super> <00F9B44C-D7A7-4505-96B2-5DF40A96DE02@danshafer.com> Message-ID: <1C8D4D2B-868F-4D18-B9FA-B5E989ABF0E3@major-k.de> Hi Dan, > Hmmmm. > > I'm glad this worked but does the fact that it is so (relatively) > easy and straightforward to > decompile a compiled application bother anyone in terms of > marketability issues for Rev? > > Or am I just overly paranoid? I don't think so IF this does work with password protected stacks ;-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From capellan2000 at yahoo.com Thu Aug 4 13:51:50 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 4 Aug 2005 10:51:50 -0700 (PDT) Subject: ANN: Full text justification plug-in In-Reply-To: <20050804170003.A21A7825170@mail.runrev.com> Message-ID: <20050804175150.47544.qmail@web40525.mail.yahoo.com> Hi Klaus and Eric, :-) Klaus Major wrote answering to alejandro: AT> > Did you know what is needed in this platform? AT> > A website that review every stack that every AT> > developer publish in the web, with screenshots, AT> > movies and explanations about their uses and AT> > functions. AT> > Maybe if Richard Gaskin could organize a two AT> > person team for doing this work in RevJournal... > LOL :-) > "Sissiphus" is what comes to my mind immediately :-D Did you think that it's really impossible? :-( or It's impossible counting with the time of the good people from this mail list? :-0 on Thu, 4 Aug 2005 Eric Chatonet wrote: > Hi Alejandro, [snip] > But, seriously, it would be a big lot of work ... > Even if RevJournal would be the right place for such > a challenge... i agree, but it's badly needed. it's odd that we could not agree to cover such obvious void. > PS. Bravo for your article: I feel good when form > and content are > well designed. It's so rare! Ah thanks!... but surely you are greeting Andre Garzia who actually wrote the article you are referring to. ;-) Have a nice day! al Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From klaus at major-k.de Thu Aug 4 13:57:55 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 4 Aug 2005 19:57:55 +0200 Subject: ANN: Full text justification plug-in In-Reply-To: <20050804175150.47544.qmail@web40525.mail.yahoo.com> References: <20050804175150.47544.qmail@web40525.mail.yahoo.com> Message-ID: Hi Alejandro, > Hi Klaus and Eric, :-) > > Klaus Major wrote answering to alejandro: > > AT> > Did you know what is needed in this platform? > AT> > A website that review every stack that every > AT> > developer publish in the web, with screenshots, > AT> > movies and explanations about their uses and > AT> > functions. > AT> > Maybe if Richard Gaskin could organize a two > AT> > person team for doing this work in RevJournal... > >> LOL :-) >> "Sissiphus" is what comes to my mind immediately :-D > > Did you think that it's really impossible? :-( no, don't think so, that was simply my first thought after reading your proposal :-) But that would be a heavy task! And imagine one day it seems to be finished but then on the very same day Eric has published another 1000 cool plugins etc... :-D > or > It's impossible counting with the time of the > good people from this mail list? :-0 Not impossible, but probably very optimistic ;-) > ... > Have a nice day! > > al > > > Visit my site: > http://www.geocities.com/capellan2000/ Best Klaus Major klaus at major-k.de http://www.major-k.de From scott at tactilemedia.com Thu Aug 4 14:02:23 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 04 Aug 2005 11:02:23 -0700 Subject: Drag & Drop of lines within fields In-Reply-To: Message-ID: Recently, david bovill wrote: >> This might work for you (in your message box): >> >> go url "http://www.tactilemedia.com/download/getinline.rev" > > Links not working for me? Can you add it to your nice download > machine thingy? Well, there's nothing special about the above link, but GetInLine is now accessible via our player stack (via message box): go url "http://www.tactilemedia.com/tmpanel.rev" Hopefully this works for you. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From eric.chatonet at sosmartsoftware.com Thu Aug 4 14:15:51 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 4 Aug 2005 20:15:51 +0200 Subject: ANN: Full text justification plug-in In-Reply-To: <20050804175150.47544.qmail@web40525.mail.yahoo.com> References: <20050804175150.47544.qmail@web40525.mail.yahoo.com> Message-ID: Hi Alejandro and Andre, I have to render unto Caesar that which is Caesar's. So goo idea from Alejandro and good article from Andre! Cheers to both. Le 4 ao?t 05 ? 19:51, Alejandro Tejada a ?crit : >> PS. Bravo for your article: I feel good when form >> and content are >> well designed. It's so rare! >> > > Ah thanks!... but surely you are greeting > Andre Garzia who actually wrote the > article you are referring to. ;-) Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From bann at sunncomm.com Thu Aug 4 14:26:26 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Thu, 4 Aug 2005 11:26:26 -0700 Subject: Browser question??? Message-ID: Hello, I have question about how to hide the address bar, standard buttons and menu bar of the user's browser. I have a button link to an URL. I don't want to show the address bar, standard buttons and menu bars Thank for your help From eric.chatonet at sosmartsoftware.com Thu Aug 4 14:28:19 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 4 Aug 2005 20:28:19 +0200 Subject: ANN: Full text justification plug-in In-Reply-To: <20050804175150.47544.qmail@web40525.mail.yahoo.com> References: <20050804175150.47544.qmail@web40525.mail.yahoo.com> Message-ID: <2018ED9A-A5DD-44FE-B65D-5CD6FA100E03@sosmartsoftware.com> Hi Alejandro, Another thought: First you should ask Richard (revJournal) in order to add a "plugins/ tutorials and so on" page to RevJournal. You could ask him (if he agrees) to let you edit this page and modify it from your place. You could ask this list to send you the list of the material people have written with a short description and an url. You could put it on the revJournal. That's less imposing but seems doable and would be a great help for many :-) Le 4 ao?t 05 ? 19:51, Alejandro Tejada a ?crit : > Did you think that it's really impossible? :-( > or > It's impossible counting with the time of the > good people from this mail list? :-0 Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From revdan at danshafer.com Thu Aug 4 15:18:04 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 4 Aug 2005 12:18:04 -0700 Subject: Browser question??? In-Reply-To: References: Message-ID: <1EF1DD95-BABA-438D-AE2A-224B4030BEA6@danshafer.com> While there might be some very convoluted way to do this in Rev or with system-level scripting, you'll be far better served by buying Altuit's excellent altBrowser plugin for Revolution and launching the URL there so you have complete control over the user experience. You can buy altBrowser at the RunRev store, I believe. On Aug 4, 2005, at 11:26 AM, Ban Nguyen wrote: > Hello, > > I have question about how to hide the address bar, standard buttons > and > menu bar of the user's browser. > > I have a button link to an URL. I don't want to show the address bar, > standard buttons and menu bars > > Thank for your help > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From pevensen at siboneylg.com Thu Aug 4 15:31:48 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 04 Aug 2005 14:31:48 -0500 Subject: Is it just me or are profile buggy? Message-ID: <6.2.1.2.2.20050804143032.214764a8@exchange.slg.com> I am trying to switch between two profile, for two different levels of a program (for skins) and it am loosing the htmltext of my fields which are in a group. Has anyone else experienced oddities? Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From charles.hartman at conncoll.edu Thu Aug 4 15:38:01 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 4 Aug 2005 15:38:01 -0400 Subject: design of radio-button choice Message-ID: I've got a complicated dialog (too complicated! but it will look simple to the user I think), and I can't figure out how best to design it to deal with the messaging system. This card in the dialog has a column of half a dozen check-boxes, and a column of a dozen or so radio buttons in a group. The user will click a check box (probably all of them all in turn, but in any order). Each time one is checked, I clear the hilite from the grouop of radio buttons, and the user picks one of them. (There's a right radio-button answer for each check-box; it's a tutorial.) So I want is that when the user clicks a check-box, I wait until the user picks one of the radio buttons (or maybe until the user picks the correct one -- that's a detail I can decide later on UI grounds). What's the best way to do this? The "wait" command? If so, I assume I'd put it in the handler for each check-box, and I guess I'd have to make the radio-button group emit a custom message when a button (or the right button) is pressed. Is that right, or even close to right? Thanks as always for any help. Charles Hartman From bann at sunncomm.com Thu Aug 4 15:42:02 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Thu, 4 Aug 2005 12:42:02 -0700 Subject: minimize the window Message-ID: Hello, I am working on a customize application. The control is set empty. How do you insert a customized minimize button into stack. The close is easy just put the code "close this stack" but I don't know how to do for the minimize button. I've looked in the dictionary and could not find it. Thank you for your help From revdan at danshafer.com Thu Aug 4 15:42:45 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 4 Aug 2005 12:42:45 -0700 Subject: cannot import a MS word file into field In-Reply-To: References: Message-ID: YOu can't do this directly into a field. For one thing, Revolution knows very little of styled text fields, so it is essentially impossible simply to put Word content into a Rev field. And it is impossible without a huge amount of work to mix images and text in a field in Rev. That's what cards are for. You put text in fields, images in their own object spaces. On Jul 25, 2005, at 1:42 PM, Ban Nguyen wrote: > Hello everyone, > > I have a document MS word > > The document has text and several images. How can I import this doc > into the field? > > I used the property inspector but it did not work > > Thank you > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From bann at sunncomm.com Thu Aug 4 15:44:36 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Thu, 4 Aug 2005 12:44:36 -0700 Subject: cannot import a MS word file into field Message-ID: How about if I have a big image that need to scroll up and down to see it? -------------------- YOu can't do this directly into a field. For one thing, Revolution knows very little of styled text fields, so it is essentially impossible simply to put Word content into a Rev field. And it is impossible without a huge amount of work to mix images and text in a field in Rev. That's what cards are for. You put text in fields, images in their own object spaces. On Jul 25, 2005, at 1:42 PM, Ban Nguyen wrote: > Hello everyone, > > I have a document MS word > > The document has text and several images. How can I import this doc > into the field? > > I used the property inspector but it did not work > > Thank you > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From revdan at danshafer.com Thu Aug 4 15:46:05 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 4 Aug 2005 12:46:05 -0700 Subject: design of radio-button choice In-Reply-To: References: Message-ID: <19695908-CE40-4376-8DF0-1FA0A6DA4D37@danshafer.com> When you say "wait", what do you really mean? Do you mean you want to force the user to click on a radio button before doing anything else? Or do you literally mean you want to force a delay of some sort? Assuming the former, one easy way to do this would be to put the checkboxes in a group and the radio buttons in a group and then when the user checks a checkbox, disable the checkbox group until he clicks a radio button. Then in the radio button group, re-enable the checkbox group. Close? On Aug 4, 2005, at 12:38 PM, Charles Hartman wrote: > So I want is that when the user clicks a check-box, I wait until > the user picks one of the radio buttons ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From ambassador at fourthworld.com Thu Aug 4 15:50:00 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 04 Aug 2005 12:50:00 -0700 Subject: cannot import a MS word file into field In-Reply-To: References: Message-ID: <42F27168.2060506@fourthworld.com> Dan Shafer wrote: > For one thing, Revolution knows very little of styled text fields, so > it is essentially impossible simply to put Word content into a Rev field. Rev supports a wide variety of the most popular text style attributes. While Rev doesn't read the proprietary Word format directly, it can import styled text as RTF. > And it is impossible without a huge amount of work to mix images and > text in a field in Rev. That's what cards are for. You put text in > fields, images in their own object spaces. The imageSrc property allows images to be displayed in fields. There are merits to both a card-based and field-based presentation, depending on the needs of the app in question, but both are quite doable. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From bann at sunncomm.com Thu Aug 4 15:53:23 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Thu, 4 Aug 2005 12:53:23 -0700 Subject: cannot import a MS word file into field Message-ID: Dan Shafer wrote: > For one thing, Revolution knows very little of styled text fields, so > it is essentially impossible simply to put Word content into a Rev field. Rev supports a wide variety of the most popular text style attributes. While Rev doesn't read the proprietary Word format directly, it can import styled text as RTF. > And it is impossible without a huge amount of work to mix images and > text in a field in Rev. That's what cards are for. You put text in > fields, images in their own object spaces. The imageSrc property allows images to be displayed in fields. There are merits to both a card-based and field-based presentation, depending on the needs of the app in question, but both are quite doable. If you use the imageSrc or group, How to print the content of that field?I tried to use revPrintField and print command, but it did not work. From alex at tweedly.net Thu Aug 4 15:59:24 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 04 Aug 2005 20:59:24 +0100 Subject: design of radio-button choice In-Reply-To: References: Message-ID: <42F2739C.60908@tweedly.net> Charles Hartman wrote: > I've got a complicated dialog (too complicated! but it will look > simple to the user I think), and I can't figure out how best to > design it to deal with the messaging system. > > This card in the dialog has a column of half a dozen check-boxes, and > a column of a dozen or so radio buttons in a group. The user will > click a check box (probably all of them all in turn, but in any > order). Each time one is checked, I clear the hilite from the grouop > of radio buttons, and the user picks one of them. (There's a right > radio-button answer for each check-box; it's a tutorial.) > > So I want is that when the user clicks a check-box, I wait until the > user picks one of the radio buttons (or maybe until the user picks > the correct one -- that's a detail I can decide later on UI grounds). > What's the best way to do this? The "wait" command? If so, I assume > I'd put it in the handler for each check-box, and I guess I'd have to > make the radio-button group emit a custom message when a button (or > the right button) is pressed. Is that right, or even close to right? I think when you say "I wait until the user picks ..." what you mean is "I don't respond to any further clicks on the check boxes until ...". If so, then you don't need to do a "wait" command in a script - simply keep track of what your status is (maybe in a global, maybe in a custom property, maybe....lots of other ways). Also, consider putting the check-boxes into a group, and having a single handler for the group .... -- group handler for all the check-boxes on mouseUp if gWaitingForRadioButtonChoice then pass mouseUp end if -- no longer waiting - so we should respond to any clicks put the target into lBoxClicked switch lBoxClicked case "Box1" .... -- set up the radio button labels, etc. put true into gWaitingForRadioButtonChoice case "Box2" .... end switch endmouseUp and then in the radio button script, -- handler for radio buttons on mouseUp -- if this is an answer (or if correct ??) put false into gWaitingForRadioButtonChoice etc. end mouseUp (where gWaitingForRadioButtonChoice is, obviously, a global) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 03/08/2005 From jacque at hyperactivesw.com Thu Aug 4 16:00:39 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Aug 2005 15:00:39 -0500 Subject: "Decompile" Windows RR application In-Reply-To: <00F9B44C-D7A7-4505-96B2-5DF40A96DE02@danshafer.com> References: <4D5B7112-4EA8-4AC3-AE00-9AAF70D186E2@pandora.be> <004301c59873$efd805a0$0100000a@super> <00F9B44C-D7A7-4505-96B2-5DF40A96DE02@danshafer.com> Message-ID: <42F273E7.10506@hyperactivesw.com> On 8/4/05 12:44 PM, Dan Shafer wrote: > Hmmmm. > > I'm glad this worked but does the fact that it is so (relatively) easy > and straightforward to decompile a compiled application bother anyone > in terms of marketability issues for Rev? > > Or am I just overly paranoid? I'll let a shrink decide that. ;) But this isn't really any different than anything else in Rev. If the app is not passworded, you can read all the scripts in a text editor. If it is, then you can't. If someone decompiles the app back to a stack and it is passworded, the scripts are still protected. That said, I wrote my own decompiler about 5 years ago. I kept the information strictly to myself. It was necessary because a client had 18 apps for me to work on, which they owned, but had lost the source stacks. I had to decompile. I suspect other people may have written their own too in the past, but we all kept the information private. When someone released the script to the public I was very disappointed. So if it is paranoia, I guess it is shared. Even though when I think about it rationally I don't see much to worry about, I think it was a mistake. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pevensen at siboneylg.com Thu Aug 4 16:24:31 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 04 Aug 2005 15:24:31 -0500 Subject: Profiles help Message-ID: <6.2.1.2.2.20050804151804.215d27a8@exchange.slg.com> I have this group consisting of 3 items: a round rect, a freehand poly (together they make a balloon), and a text label. I have 2 profiles: LevelA and LevelB On the group, the profiles change the rect of the group (i.e. move the bubble and enclosed caption). The label field also has 2 profiles, LevelA and LevelB. This changes the Content of the label (i.e., htmlText). When I switch between the two profiles, the profiles on the field all of a sudden gain a rect property and the text moves farther and father outside of the balloon with each switch. I delete the rect property from each profile of the field and from the master and it keeps appearing. The end result is (with the results simulate din text to the right: revSetStackProfile "LevelA" => ( tex)t revSetStackProfile "LevelB" => te(st ) revSetStackProfile "LevelA" => ( t)ext revSetStackProfile "LevelB" => tes(t ) revSetStackProfile "LevelA" => ( ) text I have another, identical group that doesn't behave this way. It is almost like the rectangle property is being cached someplace and being reattached to the profiles in the text field. Any thoughts? Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From pevensen at siboneylg.com Thu Aug 4 16:28:46 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 04 Aug 2005 15:28:46 -0500 Subject: Profiles help In-Reply-To: <6.2.1.2.2.20050804151804.215d27a8@exchange.slg.com> References: <6.2.1.2.2.20050804151804.215d27a8@exchange.slg.com> Message-ID: <6.2.1.2.2.20050804152714.215c1258@exchange.slg.com> One addendum, it appears that the group I thought was working actually wasn't changing the location of the group on the profile switch, so the text field didn't move. This appears to be a bug: if you have a group with a profile and an object in the group has the same profile, the rectangles get messed up. Has anyone else seen this? At 03:24 PM 8/4/2005, you wrote: >I have this group consisting of 3 items: > >a round rect, a freehand poly (together they make a balloon), and a text >label. > >I have 2 profiles: LevelA and LevelB > >On the group, the profiles change the rect of the group (i.e. move the >bubble and enclosed caption). > >The label field also has 2 profiles, LevelA and LevelB. This changes the >Content of the label (i.e., htmlText). > >When I switch between the two profiles, the profiles on the field all of a >sudden gain a rect property and the text moves farther and father outside >of the balloon with each switch. > >I delete the rect property from each profile of the field and from the >master and it keeps appearing. > >The end result is (with the results simulate din text to the right: > >revSetStackProfile "LevelA" => ( tex)t >revSetStackProfile "LevelB" => te(st ) >revSetStackProfile "LevelA" => ( t)ext >revSetStackProfile "LevelB" => tes(t ) >revSetStackProfile "LevelA" => ( ) text > >I have another, identical group that doesn't behave this way. It is >almost like the rectangle property is being cached someplace and being >reattached to the profiles in the text field. > >Any thoughts? > >Peter T. Evensen >http://www.PetersRoadToHealth.com >24-hour recorded info hotline: 1-800-624-7671 >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From chipp at chipp.com Thu Aug 4 16:32:09 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 04 Aug 2005 15:32:09 -0500 Subject: The GENIUS of stacks In-Reply-To: References: <64878EF567131D4596246171F75FD4A9968153@m-epo-1.epo.cdc.gov> Message-ID: <42F27B49.3040507@chipp.com> Dan contacted me a couple of days ago for my thoughts on Rev vs RB. Of course, I'm a big Rev fan and have only spent a bit of time with RB, but here are some observations. I talked with my partner, Chris Bohnert about this. He's a very strong C programmer (wrote both altBrowsers for Mac and PC) who also works with VB a lot-- and frequently peruses the RB list. I've dragged him kicking and screaming into Rev development, and while his interfaces are nothing Scott Rossi would be proud of, he's been able to build some very complicated Linux utilties for (now happy) clients. Here's one thing that differentiates Rev from other standard programming languages: 1) Rev has stacks. This often overlooked and misunderstood concept is pure genius from it's creators. 2) Building a self-updating application is trivial in Rev. Not so in other development tools. Because Rev can download and run a stack IN PROCESS, it makes it simple to check for an update and download it: pseudocode: launch splashscreen app check for version -> (ONE LINE OF CODE!) if URL "http://www.chipp.com/myversion.txt" is not equal to fld "version" of stack "C:/mainstack.rev" then go stack URL "http://www.chipp.com/mainstack.rev" to do the same in RB or others, you'd have to: pseudocode: launch checker app open sockets, setup data transfer, get data, parse data, check data against a stored registry setting or preferences setting then if different: download the new executable main application (because they can't load code IN PROCESS) launch the main application close the checker app This is much more difficult and has the added disadvantage of launching/ maintaing 2 applications and the associated download overhead of the 'engine' (which does not need to be downloaded in the Rev example). 3) Maintaining source is much easier as you only have a single binary stack to ever worry about. In the example above, the binary main stack is completely cross-platform (Mac/Win/Linux) and is the only source code necessary for the application. So, there's no need to save/compile different version for Windows and Macs. A huge time-saver! 3) Stacks are not only good for cross-platform application development, but they're also unsurpassed as a binary file structure. For instance, say you want to save an Image, Audio file, bunch of text, and a video (think Premiere project). How easy is this in Rev? Just create a new stack, put the files in it, and save it. That's it. create new stack "multimediaFiles" create new img "fred" put URL "binfile:C:/title.jpg" into img "fred" create new fld "theText" put URL "file:C:/test.txt" into fld "theText" import videoClip from file "C:/test/video.mov" import audioClip from file "C:/text/audio.wav" save stack "multimediaFiles" as "C:/test.rev" Try doing that in as few lines in ANY other authoring package! I find I regularly use stacks as GREAT cross-platform binary document storage. Not only are they great for storing data (as shown), they can also store any Rev object (including groups!) as well. Here's a great use of this feature (I'm using it now). I've got this rather complex image editor I'm working on. Think Photoshop. I want to support multiple undo's but it's a real pain. Here's how I do it. I have a group "Canvas" which has all the layers of images and text in it. Any time I make a change to grp "Canvas", I save a copy of the group into stack "undo." Now, I can easily 'undo' as many steps as I need by just copying the appropriate grp from the undo stack! Simple :-) Also, stacks are great for storing other things. For instance, say your application has a PDF help document associated with it. And say you want to deploy a single 'no installer' executable. If you're on Windows and want a single executable, it may be stored anywhere on a user's hard disk, how will the app know how to get and where to find the PDF doucment? Easy, just 'suck it up' into a custom property! Then 'spit it out' when the user needs it. So, during development you would: set the uMyHelpPDF of stack "myApp" to URL "binfile:C:/help.pdf" now, it's stored 'in the stack'. So, the next time the user presses the help button, it checks to see if the help.pdf file is in the same folder as the application: if there is a file "help.pdf" then --> LAUNCH IT else --> SPIT IT OUT put the uMyHelpPDF of this stack into URL "binfile:help.pdf" --> NOW LAUNCH IT end if Once again, just too easy! Well, there are quite a number of other differentiating features I could mention (especially string 'chunking') but hopefully the above helps some of you to think about stacks in a different way! Perhaps some others would like to chime in about the differences they see. :-) Chipp From martin at materiaprima.fsnet.co.uk Thu Aug 4 16:48:45 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Thu, 04 Aug 2005 21:48:45 +0100 Subject: minimize the window In-Reply-To: References: Message-ID: <42F27F2D.3030300@materiaprima.fsnet.co.uk> A lot of people have trouble figuring that out. It's: set the iconic of this stack to true | false The terminology comes from Unix I believe, where what Windows calls "minimised" is known as "iconified". Martin Baxter Ban Nguyen wrote: > Hello, > > I am working on a customize application. The control is set empty. How > do you insert a customized minimize button into stack. The close is > easy just put the code "close this stack" but I don't know how to do for > the minimize button. > > > I've looked in the dictionary and could not find it. > > > Thank you for your help > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From scott at tactilemedia.com Thu Aug 4 16:48:53 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 04 Aug 2005 13:48:53 -0700 Subject: minimize the window In-Reply-To: Message-ID: Recently, Ban Nguyen wrote: > I am working on a customize application. The control is set empty. How > do you insert a customized minimize button into stack. The close is > easy just put the code "close this stack" but I don't know how to do for > the minimize button. See the "iconic" property. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From gandalf at doctorTimothyMiller.com Thu Aug 4 17:05:34 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Thu, 4 Aug 2005 14:05:34 -0700 Subject: a peeve regarding saving scripts In-Reply-To: <1132031018.20050803180236@ahsoftware.net> References: <1132031018.20050803180236@ahsoftware.net> Message-ID: >Tim- > >Wednesday, August 3, 2005, 12:52:39 PM, you wrote: > >It's been Bugzilla'd and already fixed for the next release. > >-- >-Mark Wieder > mwieder at ahsoftware.net > Hi Mark, Hey! Good news, two ways. First, my concern wasn't as dumb as I had feared. Second, it's going to be implemented. I just downloaded Revzilla. I'll check it out before posting, next time. Cheers, Tim From revdan at danshafer.com Thu Aug 4 18:17:22 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 4 Aug 2005 15:17:22 -0700 Subject: cannot import a MS word file into field In-Reply-To: <42F27168.2060506@fourthworld.com> References: <42F27168.2060506@fourthworld.com> Message-ID: On Aug 4, 2005, at 12:50 PM, Richard Gaskin wrote: > Dan Shafer wrote: > >> For one thing, Revolution knows very little of styled text fields, >> so it is essentially impossible simply to put Word content into a >> Rev field. >> > > Rev supports a wide variety of the most popular text style > attributes. While Rev doesn't read the proprietary Word format > directly, it can import styled text as RTF. > True, but: (1) RTF support is far from complete; and (2) images in an RTF file are ignored by Rev. > >> And it is impossible without a huge amount of work to mix images >> and text in a field in Rev. That's what cards are for. You put >> text in fields, images in their own object spaces. >> > > The imageSrc property allows images to be displayed in fields. > There are merits to both a card-based and field-based presentation, > depending on the needs of the app in question, but both are quite > doable. > OK, good point. When I said "cards" what I really intended was to say don't use a text field. The imageSrc property is, in my mind, a kludge hardly worthy of the otherwise excellent quality of the Transcript language. Of course, it's also possible I just don't "get" it since I'm not a graphics guy. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revdan at danshafer.com Thu Aug 4 18:19:53 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 4 Aug 2005 15:19:53 -0700 Subject: cannot import a MS word file into field In-Reply-To: References: Message-ID: Ban.... Once again, I encourage you to invest some real time to learn Transcript and Revolution. It seems to me you have tried to jump into the middle of Revolution, expecting that every time you try to do something that doesn't quite work as you expect, someone on this list will help you sort it out. That may even happen but in the long run, you're not going to be very happy with the experience because you won't really *understand* Rev or Transcript very well. Transcript's very approachable syntax can give one the false impression that the tool and the language are so easy that it shouldn't be necessary to spend much time learning it. On Aug 4, 2005, at 12:53 PM, Ban Nguyen wrote: > > Dan Shafer wrote: > >> For one thing, Revolution knows very little of styled text fields, so >> > > >> it is essentially impossible simply to put Word content into a Rev >> > field. > > Rev supports a wide variety of the most popular text style attributes. > While Rev doesn't read the proprietary Word format directly, it can > import styled text as RTF. > > >> And it is impossible without a huge amount of work to mix images and >> text in a field in Rev. That's what cards are for. You put text in >> fields, images in their own object spaces. >> > > The imageSrc property allows images to be displayed in fields. There > are merits to both a card-based and field-based presentation, > depending > on the needs of the app in question, but both are quite doable. > > > > If you use the imageSrc or group, How to print the content of that > field?I tried to use revPrintField and print command, but it did not > work. > > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From dvk at dvkconsult.com.au Thu Aug 4 18:35:43 2005 From: dvk at dvkconsult.com.au (David Vaughan) Date: Fri, 5 Aug 2005 08:35:43 +1000 Subject: recursion limits In-Reply-To: <20050804024753.B3B1C8250C3@mail.runrev.com> References: <20050804024753.B3B1C8250C3@mail.runrev.com> Message-ID: <8DD527BE-5D43-430F-ADAC-9AD816221847@dvkconsult.com.au> On 04/08/2005, at 12:47, Chris Sheffield wrote: > I'm talking about recursion as in calling the same handler/ > function from within itself. I'm guessing there could be issues > with this if the folder to back up has a large directory structure, > as in many sub folders and files. Chris, several people have proposed you avoid recursion just in case. It was also advised that you read the thread on directory walker from early last year. I suggest you do the latter. I wrote (as did others) and use a recursive directory walker and have found no problems on whole disks of applications and data numbering at least a hundred thousand files. However, there is a "gotcha" in OS X and also with permissions on any platform, either of which can relegate you to an infinite loop. This may account for some of the bad experiences implied by other people. Alex's suggestion that you gather the entire file list first is a good safety measure but I suggest there are no other reasons to avoid the comparative speed and elegance of a recursive approach. We have not found limits for it. regards David From jacque at hyperactivesw.com Thu Aug 4 19:08:41 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Aug 2005 18:08:41 -0500 Subject: cannot import a MS word file into field In-Reply-To: References: Message-ID: <42F29FF9.3070502@hyperactivesw.com> On 8/4/05 5:19 PM, Dan Shafer wrote: > > Once again, I encourage you to invest some real time to learn > Transcript and Revolution. It seems to me you have tried to jump into > the middle of Revolution, expecting that every time you try to do > something that doesn't quite work as you expect, someone on this list > will help you sort it out. That may even happen but in the long run, > you're not going to be very happy with the experience because you won't > really *understand* Rev or Transcript very well. Very good advice, which I was tempted to give myself a while back. Then I learned a little about Ban's situation, which changed my perspective a bit. He's been put into the awkward situation where he needs to produce an application very quickly, is under a deadline, doesn't know Rev well yet, and really does need the help. So I feel a little sorry for him. Hopefully we can get him past the main hurdles and later he'll have time to leisurely investigate Rev's nuances. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Thu Aug 4 19:41:37 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 4 Aug 2005 16:41:37 -0700 Subject: #$%@#)& Windows (*&%(&)#@$ Message-ID: <18729274694.20050804164137@ahsoftware.net> All- I accidentally double-clicked on the rev icon in the titlebar of the Windows rev toolbar (the one that brings up the system menu - move, minimize, close) today and the IDE quit on me. I almost filed a bug on this, but then I decided to try this on other apps. It works the same way. I guess I've never double-clicked on the app icon before. I suppose this must be documented somewhere. Programming would be so much easier without computers. -- -Mark Wieder mwieder at ahsoftware.net From revdan at danshafer.com Thu Aug 4 19:51:46 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 4 Aug 2005 16:51:46 -0700 Subject: cannot import a MS word file into field In-Reply-To: <42F29FF9.3070502@hyperactivesw.com> References: <42F29FF9.3070502@hyperactivesw.com> Message-ID: <551073A7-C480-4A92-ABE1-7510623D5FA6@danshafer.com> Ah, well, then I understand better. I was not trying to be judgmental, just helpful. But maybe his boss needs to hire someone to do this and give Ban a break! Dan On Aug 4, 2005, at 4:08 PM, J. Landman Gay wrote: > On 8/4/05 5:19 PM, Dan Shafer wrote: > >> Once again, I encourage you to invest some real time to learn >> Transcript and Revolution. It seems to me you have tried to jump >> into the middle of Revolution, expecting that every time you try >> to do something that doesn't quite work as you expect, someone on >> this list will help you sort it out. That may even happen but in >> the long run, you're not going to be very happy with the >> experience because you won't really *understand* Rev or >> Transcript very well. >> > > Very good advice, which I was tempted to give myself a while back. > Then I learned a little about Ban's situation, which changed my > perspective a bit. He's been put into the awkward situation where > he needs to produce an application very quickly, is under a > deadline, doesn't know Rev well yet, and really does need the help. > So I feel a little sorry for him. Hopefully we can get him past the > main hurdles and later he'll have time to leisurely investigate > Rev's nuances. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Thu Aug 4 19:52:26 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 4 Aug 2005 16:52:26 -0700 Subject: #$%@#)& Windows (*&%(&)#@$ In-Reply-To: <18729274694.20050804164137@ahsoftware.net> References: <18729274694.20050804164137@ahsoftware.net> Message-ID: <50525356-A7F5-414E-AF48-0130D0484686@danshafer.com> And the software biz would be so much more fun without clients and customers. On Aug 4, 2005, at 4:41 PM, Mark Wieder wrote: > Programming would be so much easier without computers. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From charles.hartman at conncoll.edu Thu Aug 4 22:23:58 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 4 Aug 2005 22:23:58 -0400 Subject: design of radio-button choice In-Reply-To: <19695908-CE40-4376-8DF0-1FA0A6DA4D37@danshafer.com> References: <19695908-CE40-4376-8DF0-1FA0A6DA4D37@danshafer.com> Message-ID: <38EAAA24-F7E0-48A4-B2A2-D6F246FB534C@conncoll.edu> Thanks -- and to Alex, too -- I hadn't thought of grouping the check- boxes. I'm first going to try a simpler & more permissive approach and see how the user-experience feels, but if that's not satisfactory I'll do the second group. But either way, there's something I still don't quite understand about the messaging. I know how to find out which of a group of radio buttons has been pressed -- but I'm not quite clear how to know when one (any) has been pressed, that is, when to check the result. Do I just use a mouseUp handler attached to the group (of radio buttons)? That looks promising and I'll try it. However: If the check-boxes are also in a group, presumably I should manage them from a script attached to their group, too. In a mouseUp handler? But their "radioBehavior" will be false (more than one can be hilited, no auto-de-hiliting), so hilitedButton won't work. How do I tell, in that mouseUp handler, which one was pressed? Is there a tutorial on this stuff? I haven't seen one but I may be looking in the wrong place. I know it's pretty basic, but I'm confused. Thanks again for the patience & advice. Charles On Aug 4, 2005, at 3:46 PM, Dan Shafer wrote: > When you say "wait", what do you really mean? Do you mean you want > to force the user to click on a radio button before doing anything > else? Or do you literally mean you want to force a delay of some sort? > > Assuming the former, one easy way to do this would be to put the > checkboxes in a group and the radio buttons in a group and then > when the user checks a checkbox, disable the checkbox group until > he clicks a radio button. Then in the radio button group, re-enable > the checkbox group. > > Close? > > On Aug 4, 2005, at 12:38 PM, Charles Hartman wrote: > > >> So I want is that when the user clicks a check-box, I wait until >> the user picks one of the radio buttons >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From charles.hartman at conncoll.edu Thu Aug 4 22:29:39 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 4 Aug 2005 22:29:39 -0400 Subject: design of radio-button choice In-Reply-To: <38EAAA24-F7E0-48A4-B2A2-D6F246FB534C@conncoll.edu> References: <19695908-CE40-4376-8DF0-1FA0A6DA4D37@danshafer.com> <38EAAA24-F7E0-48A4-B2A2-D6F246FB534C@conncoll.edu> Message-ID: Ah! Never mind -- I just found the target() function. Charles On Aug 4, 2005, at 10:23 PM, Charles Hartman wrote: > Thanks -- and to Alex, too -- I hadn't thought of grouping the > check-boxes. I'm first going to try a simpler & more permissive > approach and see how the user-experience feels, but if that's not > satisfactory I'll do the second group. > > But either way, there's something I still don't quite understand > about the messaging. > > I know how to find out which of a group of radio buttons has been > pressed -- but I'm not quite clear how to know when one (any) has > been pressed, that is, when to check the result. Do I just use a > mouseUp handler attached to the group (of radio buttons)? That > looks promising and I'll try it. However: > > If the check-boxes are also in a group, presumably I should manage > them from a script attached to their group, too. In a mouseUp > handler? But their "radioBehavior" will be false (more than one can > be hilited, no auto-de-hiliting), so hilitedButton won't work. How > do I tell, in that mouseUp handler, which one was pressed? > > Is there a tutorial on this stuff? I haven't seen one but I may be > looking in the wrong place. I know it's pretty basic, but I'm > confused. Thanks again for the patience & advice. > > Charles > > > On Aug 4, 2005, at 3:46 PM, Dan Shafer wrote: > > >> When you say "wait", what do you really mean? Do you mean you want >> to force the user to click on a radio button before doing anything >> else? Or do you literally mean you want to force a delay of some >> sort? >> >> Assuming the former, one easy way to do this would be to put the >> checkboxes in a group and the radio buttons in a group and then >> when the user checks a checkbox, disable the checkbox group until >> he clicks a radio button. Then in the radio button group, re- >> enable the checkbox group. >> >> Close? >> >> On Aug 4, 2005, at 12:38 PM, Charles Hartman wrote: >> >> >> >>> So I want is that when the user clicks a check-box, I wait until >>> the user picks one of the radio buttons >>> >>> >> >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Dan Shafer, Revolution Consultant and Author >> http://www.shafermedia.com >> Get my book, "Revolution: Software at the Speed of Thought" >> From http://www.revolutionpros.com, Click "My Stuff" >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Thu Aug 4 23:59:46 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 5 Aug 2005 05:59:46 +0200 Subject: #$%@#)& Windows (*&%(&)#@$ In-Reply-To: <18729274694.20050804164137@ahsoftware.net> Message-ID: <20050805034705.10089824F63@mail.runrev.com> blaming it on windows is illogical Spock ahem... i've done that a few times and never had a crash... how did you manage? Sometimes, i just open a stack and rev crashes! cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Mark Wieder > Sent: Friday, August 05, 2005 01:42 > To: use-revolution at lists.runrev.com > Subject: #$%@#)& Windows (*&%(&)#@$ > > All- > > I accidentally double-clicked on the rev icon in the titlebar > of the Windows rev toolbar (the one that brings up the system > menu - move, minimize, close) today and the IDE quit on me. I > almost filed a bug on this, but then I decided to try this on > other apps. It works the same way. I guess I've never > double-clicked on the app icon before. I suppose this must be > documented somewhere. > > > Programming would be so much easier without computers. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Fri Aug 5 00:16:41 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 4 Aug 2005 21:16:41 -0700 (PDT) Subject: The GENIUS of stacks In-Reply-To: <42F27B49.3040507@chipp.com> Message-ID: Chipp, Thanks for this elucidation. I'm quite certain that I didn't understand it all, but will be delighted to point these things out next time I have a captive geek audience @;-) One thing that did confuse me (perhaps signifying my ignorance), is whether point (1) was supposed to be self-explanatory or whether (2) & (3) flowed from (1)? Judy From ambassador at fourthworld.com Fri Aug 5 00:22:51 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 04 Aug 2005 21:22:51 -0700 Subject: ANN: Full text justification plug-in In-Reply-To: <20050804164201.68967.qmail@web40514.mail.yahoo.com> References: <20050804164201.68967.qmail@web40514.mail.yahoo.com> Message-ID: <42F2E99B.7090308@fourthworld.com> Alejandro Tejada wrote: > A website that review every stack that every > developer publish in the web, with screenshots, > movies and explanations about their uses and > functions. > > Maybe if Richard Gaskin could organize a two person > team for doing this work in RevJournal... ;-) Maybe if we bump that up a couple orders of magnitude to a 200-person team we might be able to handle all the cool Rev stuff out there. :) But for getting started, remember that revJournal is the webzine of, for, and by Rev developers. I'm always happy to post any articles/reviews/tips you care to share. I'm a little backlogged right now (we've had some new submissions come in at the same time a client needs a major project finished), but please send anything you like whever you like and it'll get posted in the next update. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From webmaster at dreamscapesoftware.com Fri Aug 5 00:37:44 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 04 Aug 2005 23:37:44 -0500 Subject: #$%@#)& Windows (*&%(&)#@$ In-Reply-To: <20050805034705.10089824F63@mail.runrev.com> References: <20050805034705.10089824F63@mail.runrev.com> Message-ID: <42F2ED18.9030006@dreamscapesoftware.com> MisterX wrote: > ahem... i've done that a few times and never had a crash... > how did you manage? Mark didn't say it crashed. He said that the IDE just quit, which is exactly correct. I tried it on my WinXP machine and it worked exactly the same. Double click on the titleBar icon and boom...window closes. As far as a way to intercept it...no idea. I will investigate! (cue the action music) Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From jperryl at ecs.fullerton.edu Fri Aug 5 00:50:08 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 4 Aug 2005 21:50:08 -0700 (PDT) Subject: design of radio-button choice In-Reply-To: <38EAAA24-F7E0-48A4-B2A2-D6F246FB534C@conncoll.edu> Message-ID: Charles, Just a guess, but did you look at the Target? That way you could put a mouseUp handler in the group and use either and if-then or a menuPick conditional structure in conjunction with the Target, e.g., pseudocode: on mouseUp -- at the group level if the Target is "whatever" ... end mouseUp Will this do? I'll admit to not having followed this thread closely :( Judy On Thu, 4 Aug 2005, Charles Hartman wrote: > Thanks -- and to Alex, too -- I hadn't thought of grouping the check- > boxes. I'm first going to try a simpler & more permissive approach > and see how the user-experience feels, but if that's not satisfactory > I'll do the second group. > > But either way, there's something I still don't quite understand > about the messaging. > > I know how to find out which of a group of radio buttons has been > pressed -- but I'm not quite clear how to know when one (any) has > been pressed, that is, when to check the result. Do I just use a > mouseUp handler attached to the group (of radio buttons)? That looks > promising and I'll try it. However: > > If the check-boxes are also in a group, presumably I should manage > them from a script attached to their group, too. In a mouseUp > handler? But their "radioBehavior" will be false (more than one can > be hilited, no auto-de-hiliting), so hilitedButton won't work. How do > I tell, in that mouseUp handler, which one was pressed? > > Is there a tutorial on this stuff? I haven't seen one but I may be > looking in the wrong place. I know it's pretty basic, but I'm > confused. Thanks again for the patience & advice. From jperryl at ecs.fullerton.edu Fri Aug 5 00:50:59 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 4 Aug 2005 21:50:59 -0700 (PDT) Subject: design of radio-button choice In-Reply-To: Message-ID: Rats. Could've saved myself some typing ;-) Judy On Thu, 4 Aug 2005, Charles Hartman wrote: > Ah! Never mind -- I just found the target() function. From mwieder at ahsoftware.net Fri Aug 5 00:53:17 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 4 Aug 2005 21:53:17 -0700 Subject: #$%@#)& Windows (*&%(&)#@$ In-Reply-To: <20050805034705.10089824F63@mail.runrev.com> References: <20050805034705.10089824F63@mail.runrev.com> Message-ID: <6547974984.20050804215317@ahsoftware.net> MisterX- Thursday, August 4, 2005, 8:59:46 PM, you wrote: > ahem... i've done that a few times and never had a crash... > how did you manage? Rev didn't crash, it just exited. Turns out all Windows apps do this when you double-click the title bar icon. I tried it on MSWord just for fun. ...although, speaking of MSWord, I have noticed that if you type the word "cudgelation" and request a spell check, the suggested substitution is "cud elation". Now I'm not particulary perturbed by the fact that the word wasn't in the dictionary or possibly spelled incorrectly, but I'm quite boggled by why "cud elation" is in the MSWord default spelling dictionary and why it's the preferred option. And I'd prefer not to even think about *what* it is. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Fri Aug 5 00:55:44 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 04 Aug 2005 21:55:44 -0700 Subject: #$%@#)& Windows (*&%(&)#@$ In-Reply-To: <6547974984.20050804215317@ahsoftware.net> References: <20050805034705.10089824F63@mail.runrev.com> <6547974984.20050804215317@ahsoftware.net> Message-ID: <42F2F150.1020601@fourthworld.com> Mark Wieder wrote: > MisterX- > > Thursday, August 4, 2005, 8:59:46 PM, you wrote: > > >>ahem... i've done that a few times and never had a crash... >>how did you manage? > > > Rev didn't crash, it just exited. Turns out all Windows apps do this > when you double-click the title bar icon. I tried it on MSWord just > for fun. > > > > ...although, speaking of MSWord, I have noticed that if you type the > word "cudgelation" and request a spell check, the suggested > substitution is "cud elation". Now I'm not particulary perturbed by > the fact that the word wasn't in the dictionary or possibly spelled > incorrectly, but I'm quite boggled by why "cud elation" is in the > MSWord default spelling dictionary and why it's the preferred option. > And I'd prefer not to even think about *what* it is. In v4 if you ran the spelling checker on "childcare" it suggested "kidnapper". Something's not right with that crew.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From b.xavier at internet.lu Fri Aug 5 01:08:56 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 5 Aug 2005 07:08:56 +0200 Subject: Locking messages with palettes Message-ID: <20050805045609.9440C8251B3@mail.runrev.com> In TAOO every message is intercepted just in case it may help... Im working on my new script editor plugin and the launcher bar then creates a new instance of the script editor window and palettizes it. Only TAOO was detecting as an "object" class object (because they share common elements). So i tried to lock messages (set the lockmessages to true) before i do palette "script editor x" But the TAOO interception still occured. So i found that if i "Open" the stack there's no problem, the lock messages is fine. But if i Palette the stack, the lock messages has no effect... Can anyone confirm this? cheers Xavier From chipp at chipp.com Fri Aug 5 01:31:07 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 05 Aug 2005 00:31:07 -0500 Subject: design of radio-button choice In-Reply-To: References: <19695908-CE40-4376-8DF0-1FA0A6DA4D37@danshafer.com> <38EAAA24-F7E0-48A4-B2A2-D6F246FB534C@conncoll.edu> Message-ID: <42F2F99B.9000505@chipp.com> Charles, You can also put a mouseUp handler in a group: on mouseUp put the hiliteButton of me into tButtonNumber --> OR put the hilitedButtonName of me into tButtonName -> OR put the hilitedButtonID of me into tButtonID end mouseUp From eric.chatonet at sosmartsoftware.com Fri Aug 5 02:31:04 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 5 Aug 2005 08:31:04 +0200 Subject: Locking messages with palettes In-Reply-To: <20050805045609.9440C8251B3@mail.runrev.com> References: <20050805045609.9440C8251B3@mail.runrev.com> Message-ID: <51D7E6D0-7968-4004-992C-FFF9635C6E66@sosmartsoftware.com> Hi Xavier, Unfortunately, I confirm (Mac OS X - Rev 2.6): Lock messages is taken into account when using "go" or "toplevel" It's not when you use "palette" or "modeless" Worth to bugzilla it :-( Le 5 ao?t 05 ? 07:08, MisterX a ?crit : > In TAOO every message is intercepted just in case it may help... > > Im working on my new script editor plugin and the launcher bar > then creates a new instance of the script editor window and > palettizes it. > > Only TAOO was detecting as an "object" class object (because they > share common elements). > > So i tried to lock messages (set the lockmessages to true) before > i do palette "script editor x" > > But the TAOO interception still occured. > > So i found that if i "Open" the stack there's no problem, the > lock messages is fine. > > But if i Palette the stack, the lock messages has no effect... > > Can anyone confirm this? Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From alex at tweedly.net Fri Aug 5 02:33:08 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 05 Aug 2005 07:33:08 +0100 Subject: design of radio-button choice In-Reply-To: <38EAAA24-F7E0-48A4-B2A2-D6F246FB534C@conncoll.edu> References: <19695908-CE40-4376-8DF0-1FA0A6DA4D37@danshafer.com> <38EAAA24-F7E0-48A4-B2A2-D6F246FB534C@conncoll.edu> Message-ID: <42F30824.90500@tweedly.net> Charles Hartman wrote: > Thanks -- and to Alex, too -- I hadn't thought of grouping the check- > boxes. I'm first going to try a simpler & more permissive approach > and see how the user-experience feels, but if that's not satisfactory > I'll do the second group. > That's (kind of) why I suggested a global rather than disabling the check boxes. There's a danger of the user seeing those click boxes and being frustrated by the fact that he wants to click one of them (to move on to the next question?) and isn't allowed to. That's how *I* feel sometimes about UIs - even if the UI guidelines say you should disable controls that aren't available. So I thought that my on mouseUp if gStillWaiting then pass mouseUp end if .... could become on mouseUp if gStillWaiting then answer "You must finish this step before going on to the next. Don't be impatient!" pass mouseUp end if .... -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 03/08/2005 From xbury.cs at clearstream.com Fri Aug 5 02:44:10 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 5 Aug 2005 08:44:10 +0200 Subject: Locking messages with palettes In-Reply-To: <51D7E6D0-7968-4004-992C-FFF9635C6E66@sosmartsoftware.com> Message-ID: thanks Eric... i was afraid this was the problem... ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 use-revolution-bounces at lists.runrev.com wrote on 05/08/2005 08:31:04: > Hi Xavier, > > Unfortunately, I confirm (Mac OS X - Rev 2.6): > Lock messages is taken into account when using "go" or "toplevel" > It's not when you use "palette" or "modeless" > Worth to bugzilla it :-( > > Le 5 ao?t 05 ? 07:08, MisterX a ?crit : > > > In TAOO every message is intercepted just in case it may help... > > > > Im working on my new script editor plugin and the launcher bar > > then creates a new instance of the script editor window and > > palettizes it. > > > > Only TAOO was detecting as an "object" class object (because they > > share common elements). > > > > So i tried to lock messages (set the lockmessages to true) before > > i do palette "script editor x" > > > > But the TAOO interception still occured. > > > > So i found that if i "Open" the stack there's no problem, the > > lock messages is fine. > > > > But if i Palette the stack, the lock messages has no effect... > > > > Can anyone confirm this? > > > Best Regards from Paris, > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > > Free plugins and tutorials on my website > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From xbury.cs at clearstream.com Fri Aug 5 02:46:25 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 5 Aug 2005 08:46:25 +0200 Subject: #$%@#)& Windows (*&%(&)#@$ In-Reply-To: <6547974984.20050804215317@ahsoftware.net> Message-ID: Well, it (the IDE) doesn't crash/quit unexpectedly in Windows 2003 when doubleclicking the topleft windows menubar icon. I tried this with the XP theme on... Ah, but slight difference, im use the MC IDE... sorry, dont have a rev ide to try it and little time today... I hope i got it right this time ;) cheers Xavier use-revolution-bounces at lists.runrev.com wrote on 05/08/2005 06:53:17: > MisterX- > > Thursday, August 4, 2005, 8:59:46 PM, you wrote: > > > ahem... i've done that a few times and never had a crash... > > how did you manage? > > Rev didn't crash, it just exited. Turns out all Windows apps do this > when you double-click the title bar icon. I tried it on MSWord just > for fun. > > > > ...although, speaking of MSWord, I have noticed that if you type the > word "cudgelation" and request a spell check, the suggested > substitution is "cud elation". Now I'm not particulary perturbed by > the fact that the word wasn't in the dictionary or possibly spelled > incorrectly, but I'm quite boggled by why "cud elation" is in the > MSWord default spelling dictionary and why it's the preferred option. > And I'd prefer not to even think about *what* it is. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- 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 jperryl at ecs.fullerton.edu Fri Aug 5 02:48:20 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 4 Aug 2005 23:48:20 -0700 (PDT) Subject: #$%@#)& Windows (*&%(&)#@$ In-Reply-To: <42F2F150.1020601@fourthworld.com> Message-ID: Sounds like the Newton HWR v1.0... Judy On Thu, 4 Aug 2005, Richard Gaskin wrote: > In v4 if you ran the spelling checker on "childcare" it suggested > "kidnapper". > > Something's not right with that crew.... From sarahr at genesearch.com.au Fri Aug 5 02:51:10 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 5 Aug 2005 16:51:10 +1000 Subject: design of radio-button choice In-Reply-To: <42F30824.90500@tweedly.net> References: <19695908-CE40-4376-8DF0-1FA0A6DA4D37@danshafer.com> <38EAAA24-F7E0-48A4-B2A2-D6F246FB534C@conncoll.edu> <42F30824.90500@tweedly.net> Message-ID: >> Thanks -- and to Alex, too -- I hadn't thought of grouping the >> check- boxes. I'm first going to try a simpler & more permissive >> approach and see how the user-experience feels, but if that's not >> satisfactory I'll do the second group. >> >> > That's (kind of) why I suggested a global rather than disabling the > check boxes. > > There's a danger of the user seeing those click boxes and being > frustrated by the fact that he wants to click one of them (to move > on to the next question?) and isn't allowed to. That's how *I* feel > sometimes about UIs - even if the UI guidelines say you should > disable controls that aren't available. So I thought that my I find it frustrating to come across a disabled button and not be able to see why it is disabled. In one application I am developing, I have adopted the following strategy for screens where a lot of data must be entered before proceeding: I put an invisible button underneath the disabled button. If the disabled button is clicked, the click passes through to the button underneath which can tell the user what data is missing. This saves people a lot of time trying to work out why the button is disabled, while giving them the visual feedback that they haven't finished. If the button is enabled, it traps the click and the information button underneath never gets used. I'm sure the HIG purists will be horrified at this, but for this particular app, it works really well :-) Cheers, Sarah From ambassador at fourthworld.com Fri Aug 5 03:01:54 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 05 Aug 2005 00:01:54 -0700 Subject: design of radio-button choice In-Reply-To: References: <19695908-CE40-4376-8DF0-1FA0A6DA4D37@danshafer.com> <38EAAA24-F7E0-48A4-B2A2-D6F246FB534C@conncoll.edu> <42F30824.90500@tweedly.net> Message-ID: <42F30EE2.3010808@fourthworld.com> Sarah Reichelt wrote: > I find it frustrating to come across a disabled button and not be able > to see why it is disabled. In one application I am developing, I have > adopted the following strategy for screens where a lot of data must be > entered before proceeding: I put an invisible button underneath the > disabled button. If the disabled button is clicked, the click passes > through to the button underneath which can tell the user what data is > missing. This saves people a lot of time trying to work out why the > button is disabled, while giving them the visual feedback that they > haven't finished. If the button is enabled, it traps the click and the > information button underneath never gets used. Tooltips could accomodate this as well, if only they worked when the control is disabled. Another reason to vote for BZ#197: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From eric.chatonet at sosmartsoftware.com Fri Aug 5 03:15:46 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 5 Aug 2005 09:15:46 +0200 Subject: design of radio-button choice In-Reply-To: <42F30EE2.3010808@fourthworld.com> References: <19695908-CE40-4376-8DF0-1FA0A6DA4D37@danshafer.com> <38EAAA24-F7E0-48A4-B2A2-D6F246FB534C@conncoll.edu> <42F30824.90500@tweedly.net> <42F30EE2.3010808@fourthworld.com> Message-ID: <8D758A88-02BE-4E05-904F-16B7820CC71C@sosmartsoftware.com> Hi Richard, 1. I suppose that the development team was for this option (no tooltips on disabled controls) since the contrary (as for me I would like it too) would mean having to script all tooltips dynamically at mouseEnter (what I do every day to such an extend that I wrote a tutorial about this :-) 2. As Sarah mentioned it, I'm used too to cover a disabled button with another enabled transparent button in order to display a tooltip when needed. In fact, this solution is less time consuming... Le 5 ao?t 05 ? 09:01, Richard Gaskin a ?crit : > Tooltips could accomodate this as well, if only they worked when > the control is disabled. > > Another reason to vote for BZ#197: > Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From ambassador at fourthworld.com Fri Aug 5 03:31:36 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 05 Aug 2005 00:31:36 -0700 Subject: design of radio-button choice In-Reply-To: <8D758A88-02BE-4E05-904F-16B7820CC71C@sosmartsoftware.com> References: <19695908-CE40-4376-8DF0-1FA0A6DA4D37@danshafer.com> <38EAAA24-F7E0-48A4-B2A2-D6F246FB534C@conncoll.edu> <42F30824.90500@tweedly.net> <42F30EE2.3010808@fourthworld.com> <8D758A88-02BE-4E05-904F-16B7820CC71C@sosmartsoftware.com> Message-ID: <42F315D8.6020703@fourthworld.com> Eric Chatonet wrote: > Le 5 ao?t 05 ? 09:01, Richard Gaskin a ?crit : > >> Tooltips could accomodate this as well, if only they worked when the >> control is disabled. >> >> Another reason to vote for BZ#197: >> > > 1. I suppose that the development team was for this option (no > tooltips on disabled controls) since the contrary (as for me I > would like it too) would mean having to script all tooltips > dynamically at mouseEnter > (what I do every day to such an extend that I wrote a tutorial about > this :-) > 2. As Sarah mentioned it, I'm used too to cover a disabled button > with another enabled transparent button in order to display a > tooltip when needed. In fact, this solution is less time consuming... Agreed. Perhaps the simplest solution would be to have a new disabledTooltip property. I just updated the BZ report to suggest that. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From eric.chatonet at sosmartsoftware.com Fri Aug 5 03:34:13 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 5 Aug 2005 09:34:13 +0200 Subject: design of radio-button choice In-Reply-To: <42F315D8.6020703@fourthworld.com> References: <19695908-CE40-4376-8DF0-1FA0A6DA4D37@danshafer.com> <38EAAA24-F7E0-48A4-B2A2-D6F246FB534C@conncoll.edu> <42F30824.90500@tweedly.net> <42F30EE2.3010808@fourthworld.com> <8D758A88-02BE-4E05-904F-16B7820CC71C@sosmartsoftware.com> <42F315D8.6020703@fourthworld.com> Message-ID: That's brilliant! Le 5 ao?t 05 ? 09:31, Richard Gaskin a ?crit : > Perhaps the simplest solution would be to have a new > disabledTooltip property. > > I just updated the BZ report to suggest that. Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From gbojsza at gmail.com Fri Aug 5 09:37:15 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Fri, 5 Aug 2005 09:37:15 -0400 Subject: Detecting a mouse click in a field Message-ID: <3d8af415050805063757854fe9@mail.gmail.com> Hello, I have been trying to figure out th ebest way to determine if the user has clicked the mouse in a field. Both mouseUp and mouseDown are for buttons (though if the user right clicks the mouse in a field then it acts the same as a left mouse click on a button). I am not interested where or what the user has clicked in the field only the fact that they have clicked in the field. thanks, From eric.chatonet at sosmartsoftware.com Fri Aug 5 09:39:27 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 5 Aug 2005 15:39:27 +0200 Subject: Detecting a mouse click in a field In-Reply-To: <3d8af415050805063757854fe9@mail.gmail.com> References: <3d8af415050805063757854fe9@mail.gmail.com> Message-ID: Hi Glen, Have a look at openField and clickChunk :-) Le 5 ao?t 05 ? 15:37, Glen Bojsza a ?crit : > Hello, > > I have been trying to figure out th ebest way to determine if the user > has clicked the mouse in a field. > > Both mouseUp and mouseDown are for buttons (though if the user right > clicks the mouse in a field then it acts the same as a left mouse > click on a button). > > I am not interested where or what the user has clicked in the field > only the fact that they have clicked in the field. Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Fri Aug 5 09:40:33 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 5 Aug 2005 15:40:33 +0200 Subject: Detecting a mouse click in a field In-Reply-To: <3d8af415050805063757854fe9@mail.gmail.com> References: <3d8af415050805063757854fe9@mail.gmail.com> Message-ID: <38BAF948-AFEE-469D-BDC0-174E0F50904A@sosmartsoftware.com> An selectionChanged! Le 5 ao?t 05 ? 15:37, Glen Bojsza a ?crit : > Hello, > > I have been trying to figure out th ebest way to determine if the user > has clicked the mouse in a field. > > Both mouseUp and mouseDown are for buttons (though if the user right > clicks the mouse in a field then it acts the same as a left mouse > click on a button). > > I am not interested where or what the user has clicked in the field > only the fact that they have clicked in the field. > > thanks, > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bnz2 at cdc.gov Fri Aug 5 09:40:54 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 5 Aug 2005 09:40:54 -0400 Subject: Detecting a mouse click in a field Message-ID: <64878EF567131D4596246171F75FD4A9968158@m-epo-1.epo.cdc.gov> Selectionchanged can also be useful -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Eric Chatonet Sent: Friday, August 05, 2005 9:39 AM To: Glen Bojsza; How to use Revolution Subject: Re: Detecting a mouse click in a field Hi Glen, Have a look at openField and clickChunk :-) Le 5 ao?t 05 ? 15:37, Glen Bojsza a ?crit : > Hello, > > I have been trying to figure out th ebest way to determine if the user > has clicked the mouse in a field. > > Both mouseUp and mouseDown are for buttons (though if the user right > clicks the mouse in a field then it acts the same as a left mouse > click on a button). > > I am not interested where or what the user has clicked in the field > only the fact that they have clicked in the field. Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bnz2 at cdc.gov Fri Aug 5 09:43:49 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 5 Aug 2005 09:43:49 -0400 Subject: Detecting a mouse click in a field Message-ID: <64878EF567131D4596246171F75FD4A9968159@m-epo-1.epo.cdc.gov> Heh - Eric beat me to it... I like selectionChanged because it allows you to make characters in an unlocked field act like buttons. I have program that lets the user insert document links and web links into their notes. When they click on the link, it launches that document, or opens that page. I had to use selectionchanged for that, because linkclicked needs a locked field for standard left clicking. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Eric Chatonet Sent: Friday, August 05, 2005 9:41 AM To: Glen Bojsza; How to use Revolution Subject: Re: Detecting a mouse click in a field An selectionChanged! Le 5 ao?t 05 ? 15:37, Glen Bojsza a ?crit : > Hello, > > I have been trying to figure out th ebest way to determine if the user > has clicked the mouse in a field. > > Both mouseUp and mouseDown are for buttons (though if the user right > clicks the mouse in a field then it acts the same as a left mouse > click on a button). > > I am not interested where or what the user has clicked in the field > only the fact that they have clicked in the field. > > thanks, > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From gbojsza at gmail.com Fri Aug 5 09:48:28 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Fri, 5 Aug 2005 09:48:28 -0400 Subject: Detecting a mouse click in a field In-Reply-To: <64878EF567131D4596246171F75FD4A9968158@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9968158@m-epo-1.epo.cdc.gov> Message-ID: <3d8af41505080506486ae307f7@mail.gmail.com> openField works for what I need. Also sectionChanged is also very interesting (I am finding so many ... almost too many interesting commands). thanks Eric and Jonathan regards, On 8/5/05, Lynch, Jonathan wrote: > Selectionchanged can also be useful > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Eric Chatonet > Sent: Friday, August 05, 2005 9:39 AM > To: Glen Bojsza; How to use Revolution > Subject: Re: Detecting a mouse click in a field > > Hi Glen, > > Have a look at openField and clickChunk :-) > > Le 5 ao?t 05 ? 15:37, Glen Bojsza a ?crit : > > > Hello, > > > > I have been trying to figure out th ebest way to determine if the user > > has clicked the mouse in a field. > > > > Both mouseUp and mouseDown are for buttons (though if the user right > > clicks the mouse in a field then it acts the same as a left mouse > > click on a button). > > > > I am not interested where or what the user has clicked in the field > > only the fact that they have clicked in the field. > > > Best Regards from Paris, > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > > Free plugins and tutorials on my website > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From charles.hartman at conncoll.edu Fri Aug 5 10:09:16 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Fri, 5 Aug 2005 10:09:16 -0400 Subject: me vs. this? Message-ID: <70187CED-2C48-489F-A379-9DB04AEBCEAC@conncoll.edu> In a mouseUp handler for a radio-button group called "my group", I would have thought I could refer to the hilitedButtonName of the group without specifying it any further. But answer the hilitedButtonName doesn't give the right response. Neither does answer the hilitedButtonName of this group It has to be answer the hilitedButtonName of group "my group" or answer the hilitedButtonName of me What I most don't understand (??) is the relation between "me" and "this X" when "me" is an instance of type X. Charles From eric.chatonet at sosmartsoftware.com Fri Aug 5 10:20:51 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 5 Aug 2005 16:20:51 +0200 Subject: me vs. this? In-Reply-To: <70187CED-2C48-489F-A379-9DB04AEBCEAC@conncoll.edu> References: <70187CED-2C48-489F-A379-9DB04AEBCEAC@conncoll.edu> Message-ID: Hi Charles, "Me" is often opposed to "the target": me is equivalent to the object that contains the currently running handler and the target refers to the object which received the message that started execution. Note that "target" without "the" refers to the contents of a control. When you use "this", you may only refer to the current card or the current stack. As far as I know, "this group" does not make sense... Little Rev subtilities :-) Le 5 ao?t 05 ? 16:09, Charles Hartman a ?crit : > In a mouseUp handler for a radio-button group called "my group", I > would have thought I could refer to the hilitedButtonName of the > group without specifying it any further. But > > answer the hilitedButtonName > > doesn't give the right response. Neither does > > answer the hilitedButtonName of this group > > It has to be > > answer the hilitedButtonName of group "my group" > > or > > answer the hilitedButtonName of me > > What I most don't understand (??) is the relation between "me" and > "this X" when "me" is an instance of type X. Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From xbury.cs at clearstream.com Fri Aug 5 10:21:43 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 5 Aug 2005 16:21:43 +0200 Subject: me vs. this? In-Reply-To: <70187CED-2C48-489F-A379-9DB04AEBCEAC@conncoll.edu> Message-ID: > What I most don't understand (??) is the relation between "me" and > "this X" when "me" is an instance of type X. > > Charles Charles "me" is used when an object queries it's own properties or objects. for example if i clicked in a field, the field script could ask: on mouseup get the hilitedline of me if line 3 of me is empty then print me same for a card or a stack or any object get the long name of me "THIS" is almost the same... get the long name of this card... Compared to "ME", this can be used anywhere... Where as ME is restricted to the object querying for a property of itself. Get the number of cards in this stack or get the number of fields in this card 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 revolution at jaedworks.com Fri Aug 5 10:48:06 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 5 Aug 2005 07:48:06 -0700 Subject: me vs. this? In-Reply-To: <70187CED-2C48-489F-A379-9DB04AEBCEAC@conncoll.edu> References: <70187CED-2C48-489F-A379-9DB04AEBCEAC@conncoll.edu> Message-ID: At 10:09 AM -0400 8/5/2005, Charles Hartman wrote: >What I most don't understand (??) is the relation between "me" and >"this X" when "me" is an instance of type X. "This" only applies to the current card or current stack ("this card" or "this stack"). This may or may not be the object whose script is executing ("me"). You might want to check out the owner property, in addition to the entries for "this" and "me" - it sounds like what you're looking for: -- in a button script answer the name of the owner of me -- name of the group this button is in answer the hilitedButtonName of the owner of me -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From 3mcgrath at adelphia.net Fri Aug 5 10:54:47 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 5 Aug 2005 10:54:47 -0400 Subject: serial keyboard thru rev Message-ID: Hello all, I want to explore using Rev to interface with an external keyboard/device that uses serial commands. I can trap the commands coming in and from 'within' Rev respond to these commands. However, I would also like to pass these through Rev to the OS for other apps to use. Has anyone done something like that before. The way it works now is that what ever software is open gets the commands but I would like them to go through Rev first to act upon and then if needed pass them on. Thanks, Tom Thomas J McGrath III 3mcgrath at adelphia.net Lazy River Software? http://homepage.mac.com/mcgrath3/lazyriver.html Meeting Wear? - Unique Apparel Design http://www.cafepress.com/meetingwear From Roger.E.Eller at sealedair.com Fri Aug 5 10:57:13 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Fri, 5 Aug 2005 10:57:13 -0400 Subject: #$%@#)& Humans (*&%(&)#@$ Message-ID: On 08/04/2005 at 07:41 PM Mark Wieder wrote: > I accidentally double-clicked on the rev icon in the titlebar... Well, there's the problem. Don't double-click that icon. :-) Thanks for the feature report! I didn't know it would do that either, but I LIKE IT! Roger Eller From b.xavier at internet.lu Fri Aug 5 11:12:19 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 5 Aug 2005 17:12:19 +0200 Subject: me vs. this? In-Reply-To: Message-ID: <20050805145930.2B1508250CE@mail.runrev.com> Jeanne Not just this stack and this card... Dont forget this group and this background... X > -----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: Friday, August 05, 2005 16:48 > To: How to use Revolution > Subject: Re: me vs. this? > > At 10:09 AM -0400 8/5/2005, Charles Hartman wrote: > >What I most don't understand (??) is the relation between "me" and > >"this X" when "me" is an instance of type X. > > "This" only applies to the current card or current stack ("this card" > or "this stack"). This may or may not be the object whose > script is executing ("me"). > > You might want to check out the owner property, in addition > to the entries for "this" and "me" - it sounds like what > you're looking for: > > -- in a button script > answer the name of the owner of me -- name of the group > this button is in > answer the hilitedButtonName of the owner of me > -- > jeanne a. e. devoto ~ revolution at jaedworks.com > http://www.jaedworks.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Fri Aug 5 11:15:59 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 5 Aug 2005 08:15:59 -0700 Subject: #$%@#)& Windows (*&%(&)#@$ In-Reply-To: <42F2F150.1020601@fourthworld.com> References: <20050805034705.10089824F63@mail.runrev.com> <6547974984.20050804215317@ahsoftware.net> <42F2F150.1020601@fourthworld.com> Message-ID: <1771174148.20050805081559@ahsoftware.net> Richard- Thursday, August 4, 2005, 9:55:44 PM, you wrote: > In v4 if you ran the spelling checker on "childcare" it suggested > "kidnapper". > Something's not right with that crew.... ROTFL. When I was on the well many years ago there was a thread in which various people would run Jabberwocky through the spell checkers of different applications, take the suggested substitutions, and post the results: Twos billing and the smithy toes Did gyre and gamble in the wage All missy were the brogue The mime rat outrage. -- -Mark Wieder mwieder at ahsoftware.net From eric.chatonet at sosmartsoftware.com Fri Aug 5 11:18:05 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 5 Aug 2005 17:18:05 +0200 Subject: me vs. this? In-Reply-To: <20050805145930.2B1508250CE@mail.runrev.com> References: <20050805145930.2B1508250CE@mail.runrev.com> Message-ID: Hi Xavier, Could you give an example to explain how you refer to "this group": I agree Jeanne a priori. And that's what the docs say... And if I understand well what can mean "this card" or "this stack" (the current stack, the current displayed card), I don't figure out what would mean "this group". Could you enlighten me? Le 5 ao?t 05 ? 17:12, MisterX a ?crit : > Not just this stack and this card... > Dont forget this group and this background... Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From charles.hartman at conncoll.edu Fri Aug 5 11:20:40 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Fri, 5 Aug 2005 11:20:40 -0400 Subject: me vs. this? In-Reply-To: <20050805145930.2B1508250CE@mail.runrev.com> References: <20050805145930.2B1508250CE@mail.runrev.com> Message-ID: Well, I don't know. Now that it's pointed out to me, I see in the Doc under 'this' only mentions of 'this card' and 'this stack' . . . It seems a little counterintuitive, though, doesn't it? to have an apparent "plain English" command with what feels like an arbitrary limitation on its reference? Why shouldn't "this X" refer to whichever X is the "current" one of its kind (group, button, script . . .)? Charles On Aug 5, 2005, at 11:12 AM, MisterX wrote: > Jeanne > > Not just this stack and this card... > Dont forget this group and this background... > > X > > >> -----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: Friday, August 05, 2005 16:48 >> To: How to use Revolution >> Subject: Re: me vs. this? >> >> At 10:09 AM -0400 8/5/2005, Charles Hartman wrote: >> >>> What I most don't understand (??) is the relation between "me" and >>> "this X" when "me" is an instance of type X. >>> >> >> "This" only applies to the current card or current stack ("this card" >> or "this stack"). This may or may not be the object whose >> script is executing ("me"). >> >> You might want to check out the owner property, in addition >> to the entries for "this" and "me" - it sounds like what >> you're looking for: >> >> -- in a button script >> answer the name of the owner of me -- name of the group >> this button is in >> answer the hilitedButtonName of the owner of me >> -- >> jeanne a. e. devoto ~ revolution at jaedworks.com >> http://www.jaedworks.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage >> your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Fri Aug 5 12:05:09 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 5 Aug 2005 09:05:09 -0700 (PDT) Subject: Detecting a mouse click in a field In-Reply-To: <3d8af415050805063757854fe9@mail.gmail.com> Message-ID: Glen, Can you lock the field? Then it can receive mouse messages... Judy On Fri, 5 Aug 2005, Glen Bojsza wrote: > Hello, > > I have been trying to figure out th ebest way to determine if the user > has clicked the mouse in a field. > > Both mouseUp and mouseDown are for buttons (though if the user right > clicks the mouse in a field then it acts the same as a left mouse > click on a button). > > I am not interested where or what the user has clicked in the field > only the fact that they have clicked in the field. From eric.chatonet at sosmartsoftware.com Fri Aug 5 13:13:44 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 5 Aug 2005 19:13:44 +0200 Subject: serial keyboard thru rev In-Reply-To: References: Message-ID: Hi Tom, Sorry, I have not any idea to build Big Brother ;-) Le 5 ao?t 05 ? 16:54, Thomas McGrath III a ?crit : > I want to explore using Rev to interface with an external keyboard/ > device that uses serial commands. I can trap the commands coming in > and from 'within' Rev respond to these commands. However, I would > also like to pass these through Rev to the OS for other apps to use. > > Has anyone done something like that before. The way it works now is > that what ever software is open gets the commands but I would like > them to go through Rev first to act upon and then if needed pass > them on. Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From kray at sonsothunder.com Fri Aug 5 13:24:42 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 05 Aug 2005 12:24:42 -0500 Subject: #$%@#)& Windows (*&%(&)#@$ In-Reply-To: Message-ID: On 8/5/05 1:46 AM, "xbury.cs at clearstream.com" wrote: > Well, it (the IDE) doesn't crash/quit unexpectedly in Windows 2003 when >>> ahem... i've done that a few times and never had a crash... >>> how did you manage? >> >> Rev didn't crash, it just exited. Turns out all Windows apps do this >> when you double-click the title bar icon. I tried it on MSWord just >> for fun. Yes, double-clicking the icon is the same as clicking once and selecting "Close Alt+F4" from the control menu, or clicking the close box - it just closes the stack window. It's been doing that since Windows 3.1! You should be able to trap for closeStackRequest (or closeStack) and do whatever you'd do in that situation. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From darkroll0x001 at yahoo.es Fri Aug 5 13:46:34 2005 From: darkroll0x001 at yahoo.es (=?iso-8859-1?q?Luis=20L.=20Rodr=EDguez=20Oro?=) Date: Fri, 5 Aug 2005 19:46:34 +0200 (CEST) Subject: Problem with Sort command Message-ID: <20050805174634.89631.qmail@web25110.mail.ukl.yahoo.com> Hello The problem is(in my opinion): in transcript: "?rbol" > "boca" -- mistake in other languages: "?rbol" < "boca" the problem have repercussions on(Example): Sort lines of field "Glosario" if the text of field "Glosario" is: cuando caminemos te dar? un beso bajo ?l ?rbol hasta_sacarte_un ?vulo ?ato the command sort return: --ERR bajo beso caminemos cuando dar? hasta_sacarte_un te un ?rbol ?l ?ato ￳?vulo When really should return: ?rbol bajo beso caminemos cuando dar? ?l hasta_sacarte_un ?ato ?vulo te un The correct is: A < ? < a < ? < .... N < n < ? < ? < ... O < ? < o < ? .... I hope that your understand my limited English. If the mistake is my, please say me!! ----------------------------------------- Revolution Email List in Espanish at: http://es.groups.yahoo.com/revolution_es/ ------------------------- Lic. Luis Rodr?guez Oro Programador I N S T E D ------------------------- ______________________________________________ Renovamos el Correo Yahoo! Nuevos servicios, m?s seguridad http://correo.yahoo.es From wouter.abraham at scarlet.be Fri Aug 5 13:56:28 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Fri, 5 Aug 2005 19:56:28 +0200 Subject: Problem with Sort command In-Reply-To: <20050805174634.89631.qmail@web25110.mail.ukl.yahoo.com> References: <20050805174634.89631.qmail@web25110.mail.ukl.yahoo.com> Message-ID: <73B12329-0C7C-4BAD-9B84-02F41BC7410D@scarlet.be> may be this will help: http://lists.runrev.com/pipermail/use-revolution/2003-March/013809.html Greetings, Wouter On 05 Aug 2005, at 19:46, Luis L. Rodr?guez Oro wrote: > Hello > > The problem is(in my opinion): > > in transcript: "?rbol" > "boca" -- mistake > in other languages: "?rbol" < "boca" > > the problem have repercussions on(Example): > Sort lines of field "Glosario" > > if the text of field "Glosario" is: > cuando > caminemos > te > dar? > un > beso > bajo > ?l > ?rbol > hasta_sacarte_un > ?vulo > ?ato > > the command sort return: --ERR > bajo > beso > caminemos > cuando > dar? > hasta_sacarte_un > te > un > ?rbol > ?l > ?ato > ￳?vulo > > > When really should return: > ?rbol > bajo > beso > caminemos > cuando > dar? > ?l > hasta_sacarte_un > ?ato > ?vulo > te > un > > The correct is: A < ? < a < ? < .... N < n < ? < ? < > ... O < ? < o < ? .... > > I hope that your understand my limited English. If the > mistake is my, please say me!! > > ----------------------------------------- > Revolution Email List in Espanish at: > http://es.groups.yahoo.com/revolution_es/ > > ------------------------- > Lic. Luis Rodr?guez Oro > Programador I N S T E D > ------------------------- > > > > ______________________________________________ > Renovamos el Correo Yahoo! > Nuevos servicios, m?s seguridad > http://correo.yahoo.es > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From Cubist at aol.com Fri Aug 5 14:04:16 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Fri, 5 Aug 2005 14:04:16 EDT Subject: me vs. this? Message-ID: <147.4adb3480.30250420@aol.com> sez charles.hartman at conncoll.edu: >Now that it's pointed out to me, I see in the Doc >under 'this' only mentions of 'this card' and 'this stack' . . . It >seems a little counterintuitive, though, doesn't it? to have an >apparent "plain English" command with what feels like an arbitrary >limitation on its reference? Why shouldn't "this X" refer to >whichever X is the "current" one of its kind (group, button, >script . . .)? When you use "this card", there is one single obvious candidate for which card you're talking about, *regardless* of how many cards are in the stack. When you use "this field" or "this button", that one single obvious candidate would be... what? From gandalf at doctorTimothyMiller.com Fri Aug 5 14:06:40 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 5 Aug 2005 11:06:40 -0700 Subject: command period with answer dialog Message-ID: Unless I've overlooked something, a command-period will not halt a script when an answer dialog is on the screen, waiting for a mouseclick. Ideally, command-period would cause an exit to top, it seems to me. Does this represent --a technical obstacle, possibly because of multi-platform-ism? --a feature I don't understand? --unintentional user unfriendliness? Answer dialogs sometimes are the ideal tool for quick and dirty debugging. They are less useful if you can't interrupt a script immediately when an answer dialog shows you where the problem is. Of course, one could always add an "exit" button to the answer dialog box, and a few more lines of script, which would cause an exit to top. But then it isn't quick and dirty anymore. Just a thought. Not a real high priority issue. Cheers, Tim From gandalf at doctorTimothyMiller.com Fri Aug 5 14:29:12 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 5 Aug 2005 11:29:12 -0700 Subject: Reply to self -- command period with answer dialog In-Reply-To: References: Message-ID: I haven't quite mastered Revzilla, or maybe it's not working quite right. Anyway, I just discovered, belatedly, that this issue has been reported twice, in slightly different forms, on Bugzilla. (Some subscribers might want to vote for it, though.) In the immortal words of the Supreme Being, conveyed to us by Douglas Adams, "Sorry for the Inconvenience." Tim >Unless I've overlooked something, a command-period will not halt a >script when an answer dialog is on the screen, waiting for a >mouseclick. Ideally, command-period would cause an exit to top, it >seems to me. > >Does this represent > >--a technical obstacle, possibly because of multi-platform-ism? > >--a feature I don't understand? > >--unintentional user unfriendliness? > >Answer dialogs sometimes are the ideal tool for quick and dirty >debugging. They are less useful if you can't interrupt a script >immediately when an answer dialog shows you where the problem is. > >Of course, one could always add an "exit" button to the answer >dialog box, and a few more lines of script, which would cause an >exit to top. But then it isn't quick and dirty anymore. > >Just a thought. Not a real high priority issue. > >Cheers, > Tim From ms1 at soas.ac.uk Fri Aug 5 14:37:25 2005 From: ms1 at soas.ac.uk (Muaadh salih) Date: Fri, 5 Aug 2005 19:37:25 +0100 Subject: selection is not selected Message-ID: I have the following code which emulate double clicking into an unlocked field and thus selection the chunk under the clicked mouse: set the locktext of me to false click at the mouseloc click at the mouseloc --- the above should emulate the mouse click and select whatever under it. but it does nor work even in plain English text . Could you look at this I think this should not difficult to debug?? get the selection set the locktext of me to true do smething with it The idea of unlocking a field , selecting text and locking it is to avoid problems caused by the is the way the Revolution engine is storing the internal string representation and how this is displayed by the OS. Whatever it is,the above scripting for twice clicking should (but does does not ) emulate double clicking into open field . any reason why ? BTW We are ( at the University of London) looking to contract a skilled programmer ( naturally in Rev. & H.C.) to help us to convert our HyperCrad stacks (Arabic, Hebrew and the rest of the Unicode stuff) to rev. If anybody living in ore near London with something to show for her/his skills and interested in further details , please contact me or leave a message on my voice mail below. Many thanks -- All the best Muaadh Salih SOAS Department of Near & Middle Eastern Studies Tel . +44 (0)2078984354 From kray at sonsothunder.com Fri Aug 5 18:01:45 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 05 Aug 2005 17:01:45 -0500 Subject: selection is not selected In-Reply-To: Message-ID: On 8/5/05 1:37 PM, "Muaadh salih" wrote: > The idea of unlocking a field , selecting text and locking it is to > avoid problems caused by the is the way the Revolution engine is > storing the internal string representation and how this is displayed > by the OS. Can you elaborate? There must be a better way to accomplish what you're doing than to try and emulate a user's double-clicking... can you provide some more information on what you're trying to do? Thanks, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Fri Aug 5 18:03:29 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 05 Aug 2005 17:03:29 -0500 Subject: Reply to self -- command period with answer dialog In-Reply-To: Message-ID: On 8/5/05 1:29 PM, "Timothy Miller" wrote: > I haven't quite mastered Revzilla, or maybe it's not working quite right. What did you try, and what did you experience in RevZilla?? (The reason I ask is that if there's something that's not working right I need to fix it.) Thanks, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From bnz2 at cdc.gov Fri Aug 5 18:05:34 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 5 Aug 2005 18:05:34 -0400 Subject: selection is not selected Message-ID: <64878EF567131D4596246171F75FD4A9968160@m-epo-1.epo.cdc.gov> Couldn't he just use: On Mousedown If the mousechunk <> empty then Select the mousechunk End mousedown -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ken Ray Sent: Friday, August 05, 2005 6:02 PM To: Use Revolution List Subject: Re: selection is not selected On 8/5/05 1:37 PM, "Muaadh salih" wrote: > The idea of unlocking a field , selecting text and locking it is to > avoid problems caused by the is the way the Revolution engine is > storing the internal string representation and how this is displayed > by the OS. Can you elaborate? There must be a better way to accomplish what you're doing than to try and emulate a user's double-clicking... can you provide some more information on what you're trying to do? Thanks, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From gandalf at doctorTimothyMiller.com Fri Aug 5 19:36:16 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 5 Aug 2005 16:36:16 -0700 Subject: Reply to self -- command period with answer dialog In-Reply-To: References: Message-ID: >On 8/5/05 1:29 PM, "Timothy Miller" wrote: > >> I haven't quite mastered Revzilla, or maybe it's not working quite right. > >What did you try, and what did you experience in RevZilla?? (The reason I >ask is that if there's something that's not working right I need to fix it.) > >Thanks, > >Ken Ray >Sons of Thunder Software >Web site: http://www.sonsothunder.com/ >Email: kray at sonsothunder.com > It launched okay the first time. I just tried to launch it again. This time it wouldn't launch. "This stack is corrupted." Maybe that explains the original difficulty. I'll download again & re-read the instructions. Do nothing 'til you hear from me. I submitted a Revzilla Bug Report during my first failed attempt. I suggest you ignore it, for now. If problems continue, I'll let you know. Oh, yeah, and thanks for making Revzilla. Cheers, Tim From kkaufman at snet.net Fri Aug 5 22:08:09 2005 From: kkaufman at snet.net (Kurt Kaufman) Date: Fri, 5 Aug 2005 22:08:09 -0400 Subject: The GENIUS of stacks Message-ID: <4fbdb690af573c8ba0681ab6e68d87ed@snet.net> (Chipp Walters wrote about the advantages of the Rev stack format especially where self-updates are concerned, and of stacks as convenient and flexible containers) http://lists.runrev.com/pipermail/use-revolution/2005-August/064314.html Thanks for your clear and direct explanation! I imagine that nowadays an increasing number of developers approach Rev without an "anti-stack" bias (based on old perceptions of HyperCard as a "toy"). Kurt From ambassador at fourthworld.com Sat Aug 6 01:32:15 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 05 Aug 2005 22:32:15 -0700 Subject: The GENIUS of stacks In-Reply-To: <4fbdb690af573c8ba0681ab6e68d87ed@snet.net> References: <4fbdb690af573c8ba0681ab6e68d87ed@snet.net> Message-ID: <42F44B5F.4030003@fourthworld.com> Kurt Kaufman wrote: > (Chipp Walters wrote about the advantages of the Rev stack format > especially where self-updates are concerned, and of stacks as convenient > and flexible containers) > http://lists.runrev.com/pipermail/use-revolution/2005-August/064314.html > > Thanks for your clear and direct explanation! I imagine that nowadays > an increasing number of developers approach Rev without an "anti-stack" > bias In addition to all of the benefits Chipp outlined, my favorite thing about stacks is how conveniently they can be used for general data storage. Using custom properties of a stack gives you a way to store different types of data in a single file with tremendous ease and efficiency. If you need to keep track of hierarchically-ordered data you can use custom property sets in stackstacks, cards, and any groups or controls within those cards. For details on the joys of using stacks for general data storage see: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From b.xavier at internet.lu Sat Aug 6 02:40:20 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 6 Aug 2005 08:40:20 +0200 Subject: practical grunt Message-ID: <20050806062716.5D5A782502D@mail.runrev.com> Hi everyone saturday morning, first thing you do is naturally to dig in and enhance your scripting garden, clean the taoo scripting kitchen and hook some new databasing shelves on the walls a little bit! I love those endless streches of time in the weekend whence i can engage in a quiet unstoppeable scripting frenzee on my information sledgehammer! So, after the palette+lockmessages issue which came back, adding bugzilla 3051 for a selectedobjectchanged issue in editing groups, and due to a paste-in-group error that came constantly because it's missing a lockmessage which allowed selectedobjectchanged to not-see-a-stack-control-while-editing-the-group-to-paste-controls, i spent an hour looking for the right bug reference to show the link between another bug... In the process, i reopened 2 bugs which were not implemented correctly or still problematic, reopened a ISNT bug into enhancement and finally managed to write the species 3051 bug for everyone in the hope that it's severity can be finally tamed. Hows that for a waste of vast strech of scripting time into my own project! grrr In brief, it's the issue that makes scripts force-close, causes objects-do-no-exists errors, limit assign icons or patterns, etc when editing a group... I'll let you be the judge of the issue. I dont think it's a mix of issues, but an architecture or gui design issue in the IDE which can be easily solved and bring lots of good to the stack design process in general. If not, it surely will save you lots of time and aggravation is we get rid of this. http://support.runrev.com/bugdatabase/show_bug.cgi?id=3051 hava great weekend X http://monsieurx.com - have you seen the new moire pictures? From sanke at hrz.uni-kassel.de Sat Aug 6 04:10:20 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sat, 06 Aug 2005 10:10:20 +0200 Subject: Scrollbar anomaly with lockscreen Message-ID: <42F4706C.2040403@hrz.uni-kassel.de> If a scrollbar value is changed when lockscreen is set, two thumbs appear instead of one, meaning that "lockscreen" is only partly effective here. After the handler has finished, only the changed thumb remains - as would be expected. See screenshot at -- Wilhelm Sanke From ambassador at fourthworld.com Sat Aug 6 04:19:15 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 06 Aug 2005 01:19:15 -0700 Subject: blend on Windows -- no go for graphics? Message-ID: <42F47283.8070206@fourthworld.com> While the docs claim that the blend ink effect is available on Windows, in practice I can only use it with images, but not with graphic objects. Am I missing something? If there's some trick to getting blend to work as documented on Windows I'd be forever grateful... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From chipp at chipp.com Sat Aug 6 05:47:50 2005 From: chipp at chipp.com (Chipp Walters) Date: Sat, 06 Aug 2005 04:47:50 -0500 Subject: blend on Windows -- no go for graphics? In-Reply-To: <42F47283.8070206@fourthworld.com> References: <42F47283.8070206@fourthworld.com> Message-ID: <42F48746.6080502@chipp.com> Hi Richard, Check out the srcOr ink effect. Depending on the grayscale of the graphic will create the effective transparency, with a graphic of pure black being 100% transparent, and white being pure opaque. I don't think there's an equivalent of just 'blend' -Chipp Richard Gaskin wrote: > While the docs claim that the blend ink effect is available on Windows, > in practice I can only use it with images, but not with graphic objects. > > Am I missing something? If there's some trick to getting blend to work > as documented on Windows I'd be forever grateful... -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 7/28/2005 From Ms1 at soas.ac.uk Sat Aug 6 05:50:32 2005 From: Ms1 at soas.ac.uk (Muaadh Salih) Date: Sat, 06 Aug 2005 09:50:32 +0000 Subject: (no subject) Message-ID: <1123321832.cc73baa0Ms1@soas.ac.uk> Our problem is as follows: We have two Unicode fields set for Arabic or Hebrew (that is from right to left system) .we put ,let's say four words into feild 1 (manually) then locked both fields. we scripted field 1 with something like on mouseUp put the clicktext into myword put myword after field 2 put Uniencode(space,"UTF8") after field 2 end mouseUP When we clicked the first word of field 1 we got the last word that has been placed into field 2, Clicked at the 2nd to have the penultimate word... It appears that when Rev shows text as right to left text it still thinks,sees from left to right. This has been reported to Rev.people and agreed that an improved Unicode function might be appearing in the next update. Alas we are still in the current one! We had the same problem in HyperCard before but that was solved by emulating a mouseclick into an unlocked field and hence the follwing logic: set the unlocktext to false click at the mouseloc click at the mouseloc get the selection lock the fields do the resrt We wrote our langauge learning stacks ( Jumbled sentences, clze test...) using the above logic. We should get the same in rev if we send a doubleclick message to unlocked field ( in thes case Rev. sees selection exactly as itis). This does not work as far as we can see. Any help?!! Ken: I will send you the stack as soon as get to my office. many thanks ------ Can you elaborate? There must be a better way to accomplish what you're doing than to try and emulate a user's double-clicking... can you provide some more information on what you're trying to do? Thanks, Ken Ray From Ms1 at soas.ac.uk Sat Aug 6 06:05:08 2005 From: Ms1 at soas.ac.uk (Muaadh Salih) Date: Sat, 06 Aug 2005 10:05:08 +0000 Subject: selection case Message-ID: <1123322708.cc435060Ms1@soas.ac.uk> Our problem is as follows: We have two Unicode fields set for Arabic or Hebrew (that is from right to left system) .we put ,let's say four words into feild 1 (manually) then locked both fields. we scripted field 1 with something like on mouseUp put the clicktext into myword put myword after field 2 put Uniencode(space,"UTF8") after field 2 end mouseUP When we clicked the first word of field 1 we got the last word that has been placed into field 2, Clicked at the 2nd to have the penultimate word... It appears that when Rev shows text as right to left text it still thinks,sees from left to right. This has been reported to Rev.people and agreed that an improved Unicode function might be appearing in the next update. Alas we are still in the current one! We had the same problem in HyperCard before but that was solved by emulating a mouseclick into an unlocked field and hence the follwing logic: set the unlocktext to false click at the mouseloc click at the mouseloc get the selection lock the fields do the resrt We wrote our langauge learning stacks ( Jumbled sentences, clze test...) using the above logic. We should get the same in rev if we send a doubleclick message to unlocked field ( in thes case Rev. sees selection exactly as itis). This does not work as far as we can see. Any help?!! Ken: I will send you the stack as soon as get to my office. many thanks ------ Can you elaborate? There must be a better way to accomplish what you're doing than to try and emulate a user's double-clicking... can you provide some more information on what you're trying to do? Thanks, Ken Ray From bill at bluewatermaritime.com Sat Aug 6 08:00:05 2005 From: bill at bluewatermaritime.com (Bill) Date: Sat, 06 Aug 2005 08:00:05 -0400 Subject: SCRIPTS IN GROUPS In-Reply-To: Message-ID: How come if you have a script in a group, and that group is the same size as a button, the "mouse-up" handler in the group responds when you click anywhere in the card and not just directly over the group? From klaus at major-k.de Sat Aug 6 08:37:44 2005 From: klaus at major-k.de (Klaus Major) Date: Sat, 6 Aug 2005 14:37:44 +0200 Subject: SCRIPTS IN GROUPS In-Reply-To: References: Message-ID: <60B992DB-A5DA-4F3E-B907-0F9AE7784D88@major-k.de> Hi Bill, > How come if you have a script in a group, and that group is the > same size as > a button, the "mouse-up" handler in the group responds when you click > anywhere in the card and not just directly over the group? if the "backgroundbehavior" of that group = true, then this is the correct behavior! That script is put into the message path AFTER the card: object -> (group with NO bg behav.) -> card -> BG (= group WITH bg behav.) -> stack... I alsways check "the owner of the target" in these cases in the bg script. on mouseup if the owner of the target = me then ## an object INSIDE that group was clicked end if end mouseup Hope that helps. Regards Klaus Major klaus at major-k.de http://www.major-k.de From bill at bluewatermaritime.com Sat Aug 6 08:51:11 2005 From: bill at bluewatermaritime.com (Bill) Date: Sat, 06 Aug 2005 08:51:11 -0400 Subject: SCRIPTS IN GROUPS In-Reply-To: <60B992DB-A5DA-4F3E-B907-0F9AE7784D88@major-k.de> Message-ID: Thanks. It sure helps. I feel like a loser, sort of, but more and more I am avoiding groups because they confuse me. I should have realized what "setting the background behavior to true" would do. I have to think of a group as always taking up the whole area of the card and not just the bounded area that it appears to take up. On 8/6/05 8:37 AM, "Klaus Major" wrote: > Hi Bill, > >> How come if you have a script in a group, and that group is the >> same size as >> a button, the "mouse-up" handler in the group responds when you click >> anywhere in the card and not just directly over the group? > > if the "backgroundbehavior" of that group = true, then this is the > correct behavior! > > That script is put into the message path AFTER the card: > > object -> (group with NO bg behav.) -> card -> BG (= group WITH bg > behav.) -> stack... > > I alsways check "the owner of the target" in these cases in the bg > script. > > on mouseup > if the owner of the target = me then > ## an object INSIDE that group was clicked > end if > end mouseup > > Hope that helps. > > > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- 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 jbondy at sover.net Sat Aug 6 09:02:30 2005 From: jbondy at sover.net (Jon) Date: Sat, 06 Aug 2005 09:02:30 -0400 Subject: SCRIPTS IN GROUPS In-Reply-To: References: Message-ID: <42F4B4E6.7020700@sover.net> Is it really true that a Group that is not in the Background takes up (i.e., accepts mouse events from) the whole card?!? :) Jon Bill wrote: >Thanks. It sure helps. I feel like a loser, sort of, but more and more I am >avoiding groups because they confuse me. I should have realized what >"setting the background behavior to true" would do. I have to think of a >group as always taking up the whole area of the card and not just the >bounded area that it appears to take up. > > >On 8/6/05 8:37 AM, "Klaus Major" wrote: > > > >>Hi Bill, >> >> >> >>>How come if you have a script in a group, and that group is the >>>same size as >>>a button, the "mouse-up" handler in the group responds when you click >>>anywhere in the card and not just directly over the group? >>> >>> >>if the "backgroundbehavior" of that group = true, then this is the >>correct behavior! >> >>That script is put into the message path AFTER the card: >> >>object -> (group with NO bg behav.) -> card -> BG (= group WITH bg >>behav.) -> stack... >> >>I alsways check "the owner of the target" in these cases in the bg >>script. >> >>on mouseup >> if the owner of the target = me then >> ## an object INSIDE that group was clicked >> end if >>end mouseup >> >>Hope that helps. >> >> >> >>Regards >> >>Klaus Major >>klaus at major-k.de >>http://www.major-k.de >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your subscription >>preferences: >>http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> >> > > | | | > )_) )_) )_) > )___))___))___)\ > )____)____)_____)\\ > _____|____|____|____\\\__ >-------\ /--------- 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 >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From bill at bluewatermaritime.com Sat Aug 6 09:36:12 2005 From: bill at bluewatermaritime.com (Bill) Date: Sat, 06 Aug 2005 09:36:12 -0400 Subject: SCRIPTS IN GROUPS In-Reply-To: <42F4B4E6.7020700@sover.net> Message-ID: It might not be true because I am looking again at that and I think I have one group inside another. The larger group holding an image so I can scroll it. But that one doesn't have the background set to true. On 8/6/05 9:02 AM, "Jon" wrote: > Is it really true that a Group that is not in the Background takes up > (i.e., accepts mouse events from) the whole card?!? > > :) > > Jon > > > Bill wrote: > >> Thanks. It sure helps. I feel like a loser, sort of, but more and more I am >> avoiding groups because they confuse me. I should have realized what >> "setting the background behavior to true" would do. I have to think of a >> group as always taking up the whole area of the card and not just the >> bounded area that it appears to take up. >> >> >> On 8/6/05 8:37 AM, "Klaus Major" wrote: >> >> >> >>> Hi Bill, >>> >>> >>> >>>> How come if you have a script in a group, and that group is the >>>> same size as >>>> a button, the "mouse-up" handler in the group responds when you click >>>> anywhere in the card and not just directly over the group? >>>> >>>> >>> if the "backgroundbehavior" of that group = true, then this is the >>> correct behavior! >>> >>> That script is put into the message path AFTER the card: >>> >>> object -> (group with NO bg behav.) -> card -> BG (= group WITH bg >>> behav.) -> stack... >>> >>> I alsways check "the owner of the target" in these cases in the bg >>> script. >>> >>> on mouseup >>> if the owner of the target = me then >>> ## an object INSIDE that group was clicked >>> end if >>> end mouseup >>> >>> Hope that helps. >>> >>> >>> >>> Regards >>> >>> Klaus Major >>> klaus at major-k.de >>> http://www.major-k.de >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> >>> >> >> | | | >> )_) )_) )_) >> )___))___))___)\ >> )____)____)_____)\\ >> _____|____|____|____\\\__ >> -------\ /--------- 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 >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- 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 Sat Aug 6 09:41:43 2005 From: bill at bluewatermaritime.com (Bill) Date: Sat, 06 Aug 2005 09:41:43 -0400 Subject: SCRIPTS IN GROUPS In-Reply-To: <42F4B4E6.7020700@sover.net> Message-ID: I just looked at it again and the group with the script that responds to the mouseup is not inside another group. It is the only group on the card and it is very small and scripts in it respond to a mouse-up when you click anywhere in the card and well outside the group. It's background behavior is set to true. My solution is to be careful not to put scripts in groups from now on. On 8/6/05 9:02 AM, "Jon" wrote: > Is it really true that a Group that is not in the Background takes up > (i.e., accepts mouse events from) the whole card?!? > > :) > > Jon > > > Bill wrote: > >> Thanks. It sure helps. I feel like a loser, sort of, but more and more I am >> avoiding groups because they confuse me. I should have realized what >> "setting the background behavior to true" would do. I have to think of a >> group as always taking up the whole area of the card and not just the >> bounded area that it appears to take up. >> >> >> On 8/6/05 8:37 AM, "Klaus Major" wrote: >> >> >> >>> Hi Bill, >>> >>> >>> >>>> How come if you have a script in a group, and that group is the >>>> same size as >>>> a button, the "mouse-up" handler in the group responds when you click >>>> anywhere in the card and not just directly over the group? >>>> >>>> >>> if the "backgroundbehavior" of that group = true, then this is the >>> correct behavior! >>> >>> That script is put into the message path AFTER the card: >>> >>> object -> (group with NO bg behav.) -> card -> BG (= group WITH bg >>> behav.) -> stack... >>> >>> I alsways check "the owner of the target" in these cases in the bg >>> script. >>> >>> on mouseup >>> if the owner of the target = me then >>> ## an object INSIDE that group was clicked >>> end if >>> end mouseup >>> >>> Hope that helps. >>> >>> >>> >>> Regards >>> >>> Klaus Major >>> klaus at major-k.de >>> http://www.major-k.de >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> >>> >> >> | | | >> )_) )_) )_) >> )___))___))___)\ >> )____)____)_____)\\ >> _____|____|____|____\\\__ >> -------\ /--------- 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 >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- 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 Ms1 at soas.ac.uk Sat Aug 6 10:56:24 2005 From: Ms1 at soas.ac.uk (Muaadh Salih) Date: Sat, 06 Aug 2005 14:56:24 +0000 Subject: RunRev solution to selection problems Message-ID: <1123340184.cc435940Ms1@soas.ac.uk> Now I have a solution from runrev (who are extremely helpful): ----------------------------------- However, one workaround would be to have each word be an individual textrun and reversing the order of words so that the order is correct. word1 word2 word3 word4 - internal (4 text runs) word4 word3 word2 word1 - displayed (4 text runs) You can do this by separating each word by an "english" space for example. The idea is to break up the Arabic text run. You can then get a function to reverse the order of these words when placed in a field. This shoud then solve the clicktext issue. We have plans to improve unicode support in Revolution but unfortunately that would not happen until after your deadline. ___________________________ A second possible one is to script for aan opening the field,doubleclick, getting the selection and locking the field again. on mouseup set the locktext of the target to false click at the clickloc click at the clickloc get the selection set the locktext of target to true put it into myword put my word after field wordbank put uniencode(space,"UTF8") after field wordbank Any help in scripting for the proposed function or debugging the second solution ? Many thanks Muaadh From scotttyang at yahoo.com Sat Aug 6 12:10:13 2005 From: scotttyang at yahoo.com (scott Yang) Date: Sat, 6 Aug 2005 09:10:13 -0700 (PDT) Subject: File location using go shell ("startc:\..") In-Reply-To: <20050806114847.09C03824F97@mail.runrev.com> Message-ID: <20050806161013.81215.qmail@web81908.mail.mud.yahoo.com> I have been using the go shell command to open up distant files deep in the Windows filing architecture, but having problems getting past the folder "program files" Seems I can't get past a folder with two words, eg. Program Files go shell ("start c:/program_files/appz_folder/mainframe.exe") doesn't get me there, but go shell ("start c:/appfolder/mainframe.exe") works how do I rewrite the file location so runrev understand the location of the file? From ambassador at fourthworld.com Sat Aug 6 12:35:34 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 06 Aug 2005 09:35:34 -0700 Subject: blend on Windows -- no go for graphics? In-Reply-To: <42F48746.6080502@chipp.com> References: <42F47283.8070206@fourthworld.com> <42F48746.6080502@chipp.com> Message-ID: <42F4E6D6.5040804@fourthworld.com> Chipp Walters wrote: > Richard Gaskin wrote: > >> While the docs claim that the blend ink effect is available on >> Windows, in practice I can only use it with images, but not with >> graphic objects. >> >> Am I missing something? If there's some trick to getting blend to >> work as documented on Windows I'd be forever grateful... > > Check out the srcOr ink effect. Depending on the grayscale of the > graphic will create the effective transparency, with a graphic of pure > black being 100% transparent, and white being pure opaque. > > I don't think there's an equivalent of just 'blend' Thanks Chipp. The srcOr ink is good in many cases, but in this one the benefit of blend is that it shows lots of different gradations where parts of the polygon overlap repeatedly. In the UI I'm working on this communicates useful information to the user (relates to data density). I've submitted a request to extend support of the blend ink for graphics on Windows: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Sat Aug 6 12:38:50 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 06 Aug 2005 09:38:50 -0700 Subject: SCRIPTS IN GROUPS In-Reply-To: References: Message-ID: <42F4E79A.4090402@fourthworld.com> Bill wrote: > I just looked at it again and the group with the script that responds to the > mouseup is not inside another group. It is the only group on the card and it > is very small and scripts in it respond to a mouse-up when you click > anywhere in the card and well outside the group. It's background behavior is > set to true. > > My solution is to be careful not to put scripts in groups from now on. Or turn off the backgroundBehavior if you don't want it to behave as a background. The message path diagrams in this article might help: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From klaus at major-k.de Sat Aug 6 12:44:18 2005 From: klaus at major-k.de (Klaus Major) Date: Sat, 6 Aug 2005 18:44:18 +0200 Subject: File location using go shell ("startc:\..") In-Reply-To: <20050806161013.81215.qmail@web81908.mail.mud.yahoo.com> References: <20050806161013.81215.qmail@web81908.mail.mud.yahoo.com> Message-ID: <96ED9EEA-9B75-4F1D-9FBC-DD210F75B1FB@major-k.de> Hi Scott, > I have been using the go shell command to open up distant files > deep in the Windows filing architecture, but having problems > getting past the folder "program files" > > Seems I can't get past a folder with two words, eg. Program Files > > go shell ("start c:/program_files/appz_folder/mainframe.exe") > > doesn't get me there, but > go shell ("start c:/appfolder/mainframe.exe") > > works > > how do I rewrite the file location so runrev understand the > location of the file? very strange that it works at all ;-) Try: GET shell ("start c:\program_files\appz_folder\mainframe.exe") if the result <> empty then ## NO xuccess ## do your error thing... end if ... "shell" on windows needs the BACKslash for pathnames. Hope that helps. Regards Klaus Major klaus at major-k.de http://www.major-k.de From revdan at danshafer.com Sat Aug 6 12:56:11 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 6 Aug 2005 09:56:11 -0700 Subject: SCRIPTS IN GROUPS In-Reply-To: References: Message-ID: While I'm not sure this can be characterized as a bug, I'd call it a surprising feature. And it has a particularly intriguing problem if you have multiple background groups. In that case, the background groups live in layers, of course, each of which is the effective size of the card. So the topmost background intercepts all mouseUps (and presumably other such messages) that fall outside the bounds of any object or other group on the card. I can see where that might cause a programming dilemma or at least confusion. I don't think it's necessary to avoid putting scripts in groups, but it is necessary to be careful what messages you write scripts for in the groups so that you can handle the flow of messages properly. On Aug 6, 2005, at 6:41 AM, Bill wrote: > I just looked at it again and the group with the script that > responds to the > mouseup is not inside another group. It is the only group on the > card and it > is very small and scripts in it respond to a mouse-up when you click > anywhere in the card and well outside the group. It's background > behavior is > set to true. > > My solution is to be careful not to put scripts in groups from now on. > > > On 8/6/05 9:02 AM, "Jon" wrote: > > >> Is it really true that a Group that is not in the Background takes up >> (i.e., accepts mouse events from) the whole card?!? >> >> :) >> >> Jon >> >> >> Bill wrote: >> >> >>> Thanks. It sure helps. I feel like a loser, sort of, but more and >>> more I am >>> avoiding groups because they confuse me. I should have realized what >>> "setting the background behavior to true" would do. I have to >>> think of a >>> group as always taking up the whole area of the card and not just >>> the >>> bounded area that it appears to take up. >>> >>> >>> On 8/6/05 8:37 AM, "Klaus Major" wrote: >>> >>> >>> >>> >>>> Hi Bill, >>>> >>>> >>>> >>>> >>>>> How come if you have a script in a group, and that group is the >>>>> same size as >>>>> a button, the "mouse-up" handler in the group responds when you >>>>> click >>>>> anywhere in the card and not just directly over the group? >>>>> >>>>> >>>>> >>>> if the "backgroundbehavior" of that group = true, then this is the >>>> correct behavior! >>>> >>>> That script is put into the message path AFTER the card: >>>> >>>> object -> (group with NO bg behav.) -> card -> BG (= group WITH bg >>>> behav.) -> stack... >>>> >>>> I alsways check "the owner of the target" in these cases in the bg >>>> script. >>>> >>>> on mouseup >>>> if the owner of the target = me then >>>> ## an object INSIDE that group was clicked >>>> end if >>>> end mouseup >>>> >>>> Hope that helps. >>>> >>>> >>>> >>>> Regards >>>> >>>> Klaus Major >>>> klaus at major-k.de >>>> http://www.major-k.de >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription >>>> preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> >>>> >>>> >>>> >>> >>> | | | >>> )_) )_) )_) >>> )___))___))___)\ >>> )____)____)_____)\\ >>> _____|____|____|____\\\__ >>> -------\ /--------- 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 >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> >>> >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > > | | | > )_) )_) )_) > )___))___))___)\ > )____)____)_____)\\ > _____|____|____|____\\\__ > -------\ /--------- 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 > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From jspencer78 at mac.com Sat Aug 6 13:13:15 2005 From: jspencer78 at mac.com (James Spencer) Date: Sat, 6 Aug 2005 12:13:15 -0500 Subject: SCRIPTS IN GROUPS In-Reply-To: References: Message-ID: On Aug 6, 2005, at 11:56 AM, Dan Shafer wrote: > While I'm not sure this can be characterized as a bug, I'd call it > a surprising feature. And it has a particularly intriguing problem > if you have multiple background groups. In that case, the > background groups live in layers, of course, each of which is the > effective size of the card. So the topmost background intercepts > all mouseUps (and presumably other such messages) that fall outside > the bounds of any object or other group on the card. I can see > where that might cause a programming dilemma or at least confusion. > > I don't think it's necessary to avoid putting scripts in groups, > but it is necessary to be careful what messages you write scripts > for in the groups so that you can handle the flow of messages > properly. > > I'm actually surprised to hear you, as a HyperCard user, say this, i.e. that is a surprising feature. I may be wrong about this but I had thought the background property was implemented in large part for compatability with HyperCard. And while it's been years since I've used HC, as I recall in HC, a click outside any other objects would go through to the background which covered the entire card. Personally, the feature that I found surprising when I started using rev was that you could have more than one background. Spence James P. Spencer Rochester, MN jspencer78 at charter.net "Badges?? We don't need no stinkin badges!" From bill at bluewatermaritime.com Sat Aug 6 13:33:46 2005 From: bill at bluewatermaritime.com (Bill) Date: Sat, 06 Aug 2005 13:33:46 -0400 Subject: SCRIPTS IN GROUPS In-Reply-To: Message-ID: The only thing confusing about it is that the user interface makes it so you can see the shape of your background group (and I have it set to background so the objects in it will duplicate each time I make a new card so I can't turn that off). So I guess when you set a group to background maybe it's appearance when in programming mode could be the whole card? Of course, now that I know the special behavior it isn't a problem but I'm just thinking for the next new user. Another idea, maybe two kinds of background behavior could be set for groups. One that allows for HyperCard compatibility and is confusing and one that just makes the objects copy when you make a new card? Or maybe there could be a master switch that turns off and on many features that are necessary for HyperCard ports but otherwise problematical? Bill On 8/6/05 1:13 PM, "James Spencer" wrote: > > On Aug 6, 2005, at 11:56 AM, Dan Shafer wrote: > >> While I'm not sure this can be characterized as a bug, I'd call it >> a surprising feature. And it has a particularly intriguing problem >> if you have multiple background groups. In that case, the >> background groups live in layers, of course, each of which is the >> effective size of the card. So the topmost background intercepts >> all mouseUps (and presumably other such messages) that fall outside >> the bounds of any object or other group on the card. I can see >> where that might cause a programming dilemma or at least confusion. >> >> I don't think it's necessary to avoid putting scripts in groups, >> but it is necessary to be careful what messages you write scripts >> for in the groups so that you can handle the flow of messages >> properly. >> >> > > I'm actually surprised to hear you, as a HyperCard user, say this, > i.e. that is a surprising feature. I may be wrong about this but I > had thought the background property was implemented in large part for > compatability with HyperCard. And while it's been years since I've > used HC, as I recall in HC, a click outside any other objects would > go through to the background which covered the entire card. > Personally, the feature that I found surprising when I started using > rev was that you could have more than one background. > > Spence > > James P. Spencer > Rochester, MN > > jspencer78 at charter.net > > "Badges?? We don't need no stinkin badges!" > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- 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 jbondy at sover.net Sat Aug 6 13:36:43 2005 From: jbondy at sover.net (Jon) Date: Sat, 06 Aug 2005 13:36:43 -0400 Subject: File location using go shell ("startc:\..") In-Reply-To: <96ED9EEA-9B75-4F1D-9FBC-DD210F75B1FB@major-k.de> References: <20050806161013.81215.qmail@web81908.mail.mud.yahoo.com> <96ED9EEA-9B75-4F1D-9FBC-DD210F75B1FB@major-k.de> Message-ID: <42F4F52B.7020005@sover.net> You shouldn't need a "start" before an EXE in Windows. If you specify an EXE file name, Windows just runs the program. "Start" is for when all you know is a document name, and you want Windows to go find the associated EXE for you. I've never seen anyone successfully use an underscore to replace a space. Standard Windows procedure is to put the file name (complete with spaces) in double quotes. :) Jon Klaus Major wrote: > Hi Scott, > >> I have been using the go shell command to open up distant files deep >> in the Windows filing architecture, but having problems getting past >> the folder "program files" >> >> Seems I can't get past a folder with two words, eg. Program Files >> >> go shell ("start c:/program_files/appz_folder/mainframe.exe") >> >> doesn't get me there, but >> go shell ("start c:/appfolder/mainframe.exe") >> >> works >> >> how do I rewrite the file location so runrev understand the location >> of the file? > > > very strange that it works at all ;-) > > Try: > > GET shell ("start c:\program_files\appz_folder\mainframe.exe") > if the result <> empty then > ## NO xuccess > ## do your error thing... > end if > ... > > "shell" on windows needs the BACKslash for pathnames. > > Hope that helps. > > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From alex at tweedly.net Sat Aug 6 13:46:07 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 06 Aug 2005 18:46:07 +0100 Subject: File location using go shell ("startc:\..") In-Reply-To: <20050806161013.81215.qmail@web81908.mail.mud.yahoo.com> References: <20050806161013.81215.qmail@web81908.mail.mud.yahoo.com> Message-ID: <42F4F75F.7000902@tweedly.net> scott Yang wrote: >I have been using the go shell command to open up distant files deep in the Windows filing architecture, but having problems getting past the folder "program files" > >Seems I can't get past a folder with two words, eg. Program Files > >go shell ("start c:/program_files/appz_folder/mainframe.exe") > >doesn't get me there, but > >go shell ("start c:/appfolder/mainframe.exe") > >works > >how do I rewrite the file location so runrev understand the location of the file? > > Not 100% sure, but I'd try quoting the problematic file names: put "start" && quote & "c:/program files/appz_folder/mainframe.exe" & quote into temp go shell (temp) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 03/08/2005 From jacque at hyperactivesw.com Sat Aug 6 13:56:22 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 06 Aug 2005 12:56:22 -0500 Subject: SCRIPTS IN GROUPS In-Reply-To: References: Message-ID: <42F4F9C6.1070209@hyperactivesw.com> Bill wrote: > The only thing confusing about it is that the user interface makes it so you > can see the shape of your background group (and I have it set to background > so the objects in it will duplicate each time I make a new card so I can't > turn that off). So I guess when you set a group to background maybe it's > appearance when in programming mode could be the whole card? Of course, now > that I know the special behavior it isn't a problem but I'm just thinking > for the next new user. Those users should read our conference stack on "Groups and Backgrounds" where this was all explained. ;) A background group isn't any larger than its parts, but the *messaging* behavior varies depending on whether the group is shared or not. This makes a good deal of sense once you understand the paradigm. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From europe at ehug.info Sat Aug 6 14:12:02 2005 From: europe at ehug.info (Mark Schonewille) Date: Sat, 06 Aug 2005 20:12:02 +0200 Subject: European Revolution Conference Reminder Message-ID: <42F4FD72.9020408@ehug.info> Dear Revolution users, A week ago, I posted a message about plans to organise a revolution conference. Several of you have written me off-list, expressing their interest. Two people, who will be contacted within a few days, have offered to be a speaker. To know that organising a conference is worth the trouble, I need to know from you whether you are interested. It would also be great if more people would like to present cool tricks or demo their own products. Please contact me if you are interested in participating. Don't think that you don't need to, assuming that others will contact me, because your name on the list might exactly make the difference. I am thinking of a conference in Germany or the Netherlands, which would be a little different from the conferences we already had. Also, by organising it in a different location, I would like to give those who couldn't make it to Malta or Moneterey an opportunity to attend a conference. It will aim at beginners, although it could be an opportunity for professionals to meet each other. There will be extensive problem solving sessions and a number of parallel sessions that give you the opportunity to demo your latest products or cool tricks. Participants who want to lead a session are likely to get a discount. The conference fee is expected to be between 300 and 400 euro. This should include three nights in a simple hotel. The conference itself may last 2 days, 3 if there are many participants. I prefer to let the conference start in about 6 weeks from now, but the exact date depends on you. At the time of writing this reminder, this 6 weeks term has not changed. In response to received suggestions, I might postpone the conference by several weeks. Please, don't start a long discussion about this on the list. Tell me whether you are interested off-list, first. Send your comments to . Once we have decided to make it happen, we could discuss it here. If you would like to contact me directly about the conference, you can find me in ChatRev. A ChatRev client is available from or . Best regards, Mark -- eHUG coordinator mailto:europe at ehug.info http://www.ehug.info http://home.wanadoo.nl/mark.sch http://www.economy-x-talk.com Please inform me about vacancies in the field of general economics at your institute. I am also looking for new freelance programming projects. From europe at ehug.info Sat Aug 6 14:17:00 2005 From: europe at ehug.info (Mark Schonewille) Date: Sat, 06 Aug 2005 20:17:00 +0200 Subject: ChatRev UP Message-ID: <42F4FE9C.1070502@ehug.info> Hi, Several people told me to believe that ChatRev is still down. Two weeks ago, ChatRev was down for two days, because Bj?rnke was moving the server to a different place. The ChatRev server is up and running now and you are welcome to join us. For more information, have a look at . There, you will also find a client to connect to the server. An alternative client can be found at . If you use the alternative client, don't forget to change the port to 8008. Best regards, Mark -- eHUG coordinator mailto:europe at ehug.info http://www.ehug.info http://home.wanadoo.nl/mark.sch http://www.economy-x-talk.com Please inform me about vacancies in the field of general economics at your institute. I am also looking for new freelance programming projects. From FlexibleLearning at aol.com Sat Aug 6 15:07:28 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sat, 6 Aug 2005 15:07:28 EDT Subject: blend on Windows -- no go for graphics? Message-ID: <8e.2cd51d39.30266470@aol.com> Richard: As an interim solution, have you tried setting the blend of a backgroundPattern image? I've found this works quite well (lock screen is needed to force redraw) though direct grc blend support would be welcome longer term. /H From ambassador at fourthworld.com Sat Aug 6 15:11:45 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 06 Aug 2005 12:11:45 -0700 Subject: blend on Windows -- no go for graphics? In-Reply-To: <8e.2cd51d39.30266470@aol.com> References: <8e.2cd51d39.30266470@aol.com> Message-ID: <42F50B71.8050705@fourthworld.com> FlexibleLearning at aol.com wrote: > > Richard: > > As an interim solution, have you tried setting the blend of a > backgroundPattern image? I've found this works quite well (lock screen is needed to force > redraw) though direct grc blend support would be welcome longer term. That would be great for a single-level blend, but the goal here is to take advantage of the beautiful multi-level blend you get when you have various parts of a polygon overlap one another. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From revdan at danshafer.com Sat Aug 6 15:26:30 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 6 Aug 2005 12:26:30 -0700 Subject: SCRIPTS IN GROUPS In-Reply-To: References: Message-ID: <1686745E-B91C-45D8-8A79-E6ACDD7766C0@danshafer.com> James.... When I say it's a surprising feature, I have my Revolutionary hat on. As a HC user, of course, I'd expect this, but in HC: (a) a background occupies an entire card; and (b) you can only have one. So when I learned that one could have more than one bg group in Rev, I *assumed* that they would respond to messages in a different way as well. I don't, as I said, think this is a bug, but if you don't come from HC, it could be a stumbling block. On Aug 6, 2005, at 10:13 AM, James Spencer wrote: > > On Aug 6, 2005, at 11:56 AM, Dan Shafer wrote: > > >> While I'm not sure this can be characterized as a bug, I'd call it >> a surprising feature. And it has a particularly intriguing problem >> if you have multiple background groups. In that case, the >> background groups live in layers, of course, each of which is the >> effective size of the card. So the topmost background intercepts >> all mouseUps (and presumably other such messages) that fall >> outside the bounds of any object or other group on the card. I can >> see where that might cause a programming dilemma or at least >> confusion. >> >> I don't think it's necessary to avoid putting scripts in groups, >> but it is necessary to be careful what messages you write scripts >> for in the groups so that you can handle the flow of messages >> properly. >> >> >> > > I'm actually surprised to hear you, as a HyperCard user, say this, > i.e. that is a surprising feature. I may be wrong about this but I > had thought the background property was implemented in large part > for compatability with HyperCard. And while it's been years since > I've used HC, as I recall in HC, a click outside any other objects > would go through to the background which covered the entire card. > Personally, the feature that I found surprising when I started > using rev was that you could have more than one background. > > Spence > > James P. Spencer > Rochester, MN > > jspencer78 at charter.net > > "Badges?? We don't need no stinkin badges!" > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From tjframe at gmail.com Sat Aug 6 15:46:26 2005 From: tjframe at gmail.com (TJ Frame) Date: Sat, 6 Aug 2005 12:46:26 -0700 Subject: blend on Windows -- no go for graphics? In-Reply-To: <42F50B71.8050705@fourthworld.com> References: <8e.2cd51d39.30266470@aol.com> <42F50B71.8050705@fourthworld.com> Message-ID: <7348a9e805080612463e1a7cb3@mail.gmail.com> Thanks for adding that feature request Richard - I too would really like to see enhanced vector features including Wndows bend support. It would be extremly useful for the projects I'm working on. - TJ On 8/6/05, Richard Gaskin wrote: > > FlexibleLearning at aol.com wrote: > > > > Richard: > > > > As an interim solution, have you tried setting the blend of a > > backgroundPattern image? I've found this works quite well (lock screen > is needed to force > > redraw) though direct grc blend support would be welcome longer term. > > That would be great for a single-level blend, but the goal here is to > take advantage of the beautiful multi-level blend you get when you have > various parts of a polygon overlap one another. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From charles.hartman at conncoll.edu Sat Aug 6 16:28:53 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sat, 6 Aug 2005 16:28:53 -0400 Subject: SCRIPTS IN GROUPS In-Reply-To: <1686745E-B91C-45D8-8A79-E6ACDD7766C0@danshafer.com> References: <1686745E-B91C-45D8-8A79-E6ACDD7766C0@danshafer.com> Message-ID: <851A9034-55AC-461B-A60E-6BFA8CA12141@conncoll.edu> In my very patchy experience, what's surprising and confusing -- whether you used HyperCard or not, though in different ways -- is the overlap / non-overlap between "groups" and "backgrounds". Obviously they have a lot in common (since a Rev background _is_ a group, though one with a distinguishing property). But something you think of as a "background" you expect to receive stray messages; when you put some controls together to treat them as a "group" you have quite a different set of expectations. Is there anything fundamental in the architecture -- either code or philosophy -- of Rev that makes this overlap essential? Or is it mere historical accident of their common outgrowth from the (single!) HC "background"? Are there reasons the two _couldn't_ be separated? I'm not clear what would be lost. Charles On Aug 6, 2005, at 3:26 PM, Dan Shafer wrote: > James.... > > When I say it's a surprising feature, I have my Revolutionary hat > on. As a HC user, of course, I'd expect this, but in HC: (a) a > background occupies an entire card; and (b) you can only have one. > So when I learned that one could have more than one bg group in > Rev, I *assumed* that they would respond to messages in a different > way as well. > > I don't, as I said, think this is a bug, but if you don't come from > HC, it could be a stumbling block. > > > On Aug 6, 2005, at 10:13 AM, James Spencer wrote: > > >> >> On Aug 6, 2005, at 11:56 AM, Dan Shafer wrote: >> >> >> >>> While I'm not sure this can be characterized as a bug, I'd call >>> it a surprising feature. And it has a particularly intriguing >>> problem if you have multiple background groups. In that case, the >>> background groups live in layers, of course, each of which is the >>> effective size of the card. So the topmost background intercepts >>> all mouseUps (and presumably other such messages) that fall >>> outside the bounds of any object or other group on the card. I >>> can see where that might cause a programming dilemma or at least >>> confusion. >>> >>> I don't think it's necessary to avoid putting scripts in groups, >>> but it is necessary to be careful what messages you write scripts >>> for in the groups so that you can handle the flow of messages >>> properly. >>> >>> >>> >>> >> >> I'm actually surprised to hear you, as a HyperCard user, say this, >> i.e. that is a surprising feature. I may be wrong about this but >> I had thought the background property was implemented in large >> part for compatability with HyperCard. And while it's been years >> since I've used HC, as I recall in HC, a click outside any other >> objects would go through to the background which covered the >> entire card. Personally, the feature that I found surprising >> when I started using rev was that you could have more than one >> background. >> >> Spence >> >> James P. Spencer >> Rochester, MN >> >> jspencer78 at charter.net >> >> "Badges?? We don't need no stinkin badges!" >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Sat Aug 6 20:43:58 2005 From: katir at hindu.org (Sivakatirswami) Date: Sat, 6 Aug 2005 14:43:58 -1000 Subject: OT: Mysterious line break and space Message-ID: I use a Revolution app that I built to generate our daily "Hindu Press International News" service.... (recently added RSS feed with Andre's help) It's pretty basic: the managing editor actually uses it: pastes some daily stories into a field, the app then builds and uploads some web pages from that and generates a multi-part text plus HTML email and I pipe this out from sendMail which is running on his local box (OSX, enabled with postFix) to our mail server: Communigate Pro. Simple with Rev... Once the file is built it goes out like this: # fix endlines to unix and then save to file replace numTochar(13) with numTochar (10) in tMsg # save to disk (only way to pass it we could find...) put ($HOME &"/Desktop/temp.txt") into tPath put tMsg into url ("binfile:" & tPath) # Do the shell thing and send mail set the shellcommand to "/bin/sh" put "cat " & quote & tPath & quote & " | sendmail -f hpi.list at hindu.org " & (fld "to" of cd "staticText") into tCmd # check on status put shell(tCmd) into tResult if tResult is empty then answer "Mail was sent...." with "OK" else answer tResult with "OK" delete file tPath end if Now we are noticing, that the loooong mac lines are being broken at around 990 chars with a li ne ending and space, like what you are see ing here... we see a return and a space introduced somewhere. In the plain text version we get the full gremlin: a line break and a space. The html version ignores the line break but we see a s pace... I suspect a CRLF is being introduced somewhere in the pipeline and this is how it ends up looking in mail.app. We are totally at a lost as to what to do to fix this. I've examined the source all the way thru my script and tMsg file that is piped to sendMail is "clean" Any insights will be appreciated 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 tjframe at gmail.com Sat Aug 6 21:53:26 2005 From: tjframe at gmail.com (TJ Frame) Date: Sat, 6 Aug 2005 18:53:26 -0700 Subject: a few geometry questions... Message-ID: <7348a9e80508061853214723d4@mail.gmail.com> Hi everyone, 1) If I have the points A and B, how would I determine point C that lies along the slope but is X units in length from the origin (which will always be point A) I can find the total distance between A and B or the midpoint using the distance and midpoint formulas, but I'm not sure how to plug in a specific distance value. 2) I also need to be able to find out where a circle of a given radius whose orgin is at A intersects that imaginary line. Given that A will always be the origin of the circle and I only want the single intersection heading towards point B I wouldn't need to check for all possible solutions such as non-intersection etc. Any help would be greatly appreciated.. I'm an artist by trade and haven't messed with geometry and algebra since high school! - TJ From jspencer78 at mac.com Sat Aug 6 22:27:30 2005 From: jspencer78 at mac.com (James Spencer) Date: Sat, 6 Aug 2005 21:27:30 -0500 Subject: a few geometry questions... In-Reply-To: <7348a9e80508061853214723d4@mail.gmail.com> References: <7348a9e80508061853214723d4@mail.gmail.com> Message-ID: <0C8D6CEC-5108-43EA-8951-BE1421E27A18@mac.com> On Aug 6, 2005, at 8:53 PM, TJ Frame wrote: > Hi everyone, > 1) If I have the points A and B, how would I determine point C > that lies > along the slope but is X units in length from the origin (which > will always > be point A) > I can find the total distance between A and B or the midpoint > using the > distance and midpoint formulas, but I'm not sure how to plug in a > specific > distance value. It's late and I'm fuzzy so I'm sure this can be optimized particularly as I'm not sure how good Rev is at geometric functions but without using them, given distance A to C is X assuming you have calculated that the distance from A to B is Y and (continuing to use these letters as variable names) put X / Y into tRatio put tRatio * (item 1 of B - item 1 of A) into Cx put tRatio * (item 2 of B - item 2 of A) into Cy put Cx & comma & Cy into C > 2) I also need to be able to find out where a circle of a given > radius > whose orgin is at A intersects that imaginary line. Given that A > will always > be the origin of the circle and I only want the single intersection > heading > towards point B I wouldn't need to check for all possible solutions > such as > non-intersection etc. This is exactly the same problem as 1). Just substitute the radius of the circle for distance X James P. Spencer Rochester, MN jspencer78 at charter.net "Badges?? We don't need no stinkin badges!" From kray at sonsothunder.com Sat Aug 6 23:18:43 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 06 Aug 2005 22:18:43 -0500 Subject: selection case In-Reply-To: <1123322708.cc435060Ms1@soas.ac.uk> Message-ID: On 8/6/05 5:05 AM, "Muaadh Salih" wrote: > When we clicked the first word of field 1 we got the last word that has been > placed into field 2, Clicked at the 2nd to have the penultimate word... > It appears that when Rev shows text as right to left text it still thinks,sees > from left to right. So does this mean that all the click... functions think left-to-right? That is, does clickChunk, clickCloc, clickCharChunk, etc. also give you the wrong values? If they give you the *right* values, you can keep the field locked, but turn on the traversalOn and do this: on mouseUp do "select" && the clickChunk put the selectedText into myWord select empty put myWord after field "WordBank" put uniEncode(space,"UTF8") after fld "WordBank" end mouseUp HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From tjframe at gmail.com Sun Aug 7 00:14:31 2005 From: tjframe at gmail.com (TJ Frame) Date: Sat, 6 Aug 2005 21:14:31 -0700 Subject: a few geometry questions... In-Reply-To: <0C8D6CEC-5108-43EA-8951-BE1421E27A18@mac.com> References: <7348a9e80508061853214723d4@mail.gmail.com> <0C8D6CEC-5108-43EA-8951-BE1421E27A18@mac.com> Message-ID: <7348a9e805080621145140d5e8@mail.gmail.com> James, Thanks for your help. The code did not work for me "as is". Namely point C was reflected negatively, so I fixed that by using -X, then I had to subtract Cx and Cy from A's location in order to offset C correctly. But after that it worked perfectly! Thanks again for your quick response. ----------------------------------------------------------------------------------------- function findSegmentPoint pointA, pointB, tLength put -tLength/findLength (pointA,pointB) into tRatio put tRatio * (item 1 of pointB - item 1 of pointA) into Cx put tRatio * (item 2 of pointB - item 2 of pointA) into Cy return round(item 1 of pointA - Cx) & comma & round(item 2 of pointA - Cy) end findSegmentPoint function findLength p1,p2 return round(sqrt((item 1 of p2 - item 1 of p1) ^ 2 + (item 2 of p2 - item 2 of p1) ^ 2)) end findLength -------------------------------------------------------------------- - TJ On 8/6/05, James Spencer wrote: > > > On Aug 6, 2005, at 8:53 PM, TJ Frame wrote: > > > Hi everyone, > > 1) If I have the points A and B, how would I determine point C > > that lies > > along the slope but is X units in length from the origin (which > > will always > > be point A) > > I can find the total distance between A and B or the midpoint > > using the > > distance and midpoint formulas, but I'm not sure how to plug in a > > specific > > distance value. > > It's late and I'm fuzzy so I'm sure this can be optimized > particularly as I'm not sure how good Rev is at geometric functions > but without using them, given distance A to C is X assuming you have > calculated that the distance from A to B is Y and (continuing to use > these letters as variable names) > > put X / Y into tRatio > put tRatio * (item 1 of B - item 1 of A) into Cx > put tRatio * (item 2 of B - item 2 of A) into Cy > put Cx & comma & Cy into C > > > 2) I also need to be able to find out where a circle of a given > > radius > > whose orgin is at A intersects that imaginary line. Given that A > > will always > > be the origin of the circle and I only want the single intersection > > heading > > towards point B I wouldn't need to check for all possible solutions > > such as > > non-intersection etc. > > This is exactly the same problem as 1). Just substitute the radius > of the circle for distance X > > James P. Spencer > Rochester, MN > > jspencer78 at charter.net > > "Badges?? We don't need no stinkin badges!" > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revolution at jaedworks.com Fri Aug 5 19:53:51 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 5 Aug 2005 16:53:51 -0700 Subject: me vs. this? In-Reply-To: References: <20050805145930.2B1508250CE@mail.runrev.com> Message-ID: At 11:20 AM -0400 8/5/2005, Charles Hartman wrote: >Well, I don't know. Now that it's pointed out to me, I see in the >Doc under 'this' only mentions of 'this card' and 'this stack' . . . >It seems a little counterintuitive, though, doesn't it? to have an >apparent "plain English" command with what feels like an arbitrary >limitation on its reference? Why shouldn't "this X" refer to >whichever X is the "current" one of its kind (group, button, script >. . .)? Well, the current stack is the one that's open and frontmost, and the current card is the one that's visible. But there's not really an analog for a group, button, etc., because you can have more than one of those available in the current context - you might have several groups on the current card, for instance, and no one of them is "current" in the same way. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From psahores at easynet.fr Sun Aug 7 01:21:36 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Sun, 7 Aug 2005 07:21:36 +0200 Subject: OT: Mysterious line break and space In-Reply-To: References: Message-ID: <4A915383-2735-4ECD-B92D-5A3617C34C49@easynet.fr> Hello katir, Did you test to output the same process from a Linux desktop box. In my experience it should work better than from the Mac OS X one. I suspect (and experimented without finding any definitive workaround) an issue with the length of the "messages" the shell can send under the Mac OS X platform. Best Regards, pierre Le 7 ao?t 05 ? 02:43, Sivakatirswami a ?crit : > I use a Revolution app that I built to generate our daily "Hindu > Press International News" service.... (recently added RSS feed with > Andre's help) > > It's pretty basic: the managing editor actually uses it: pastes > some daily stories into a field, the app then builds and uploads > some web pages from that and generates a multi-part text plus HTML > email and I pipe this out from sendMail which is running on his > local box (OSX, enabled with postFix) to our mail server: > Communigate Pro. Simple with Rev... > > Once the file is built it goes out like this: > > # fix endlines to unix and then save to file > replace numTochar(13) with numTochar (10) in tMsg > > # save to disk (only way to pass it we could find...) > > put ($HOME &"/Desktop/temp.txt") into tPath > put tMsg into url ("binfile:" & tPath) > > # Do the shell thing and send mail > set the shellcommand to "/bin/sh" > put "cat " & quote & tPath & quote & " | sendmail -f > hpi.list at hindu.org " & (fld "to" of cd "staticText") into tCmd > > # check on status > put shell(tCmd) into tResult > if tResult is empty then > answer "Mail was sent...." with "OK" > else > answer tResult with "OK" > delete file tPath > end if > > Now we are noticing, that the loooong mac lines are > being broken at around 990 chars with a li > ne ending and space, like what you are see > ing here... > > we see a return and a space introduced somewhere. In the plain text > version we get the full gremlin: a line break and a space. The html > version ignores the line break but we see a s pace... I suspect a > CRLF is being introduced somewhere in the pipeline and this is how > it ends up looking in mail.app. We are totally at a lost as to what > to do to fix this. I've examined the source all the way thru my > script and tMsg file that is piped to sendMail is "clean" > > Any insights will be appreciated > > Sivakatirswami > Himalayan Academy Publications > at Kauai's Hindu Monastery > katir at hindu.org > > www.HimalayanAcademy.com, > www.HinduismToday.com > www.Gurudeva.org > www.Hindu.org > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours skype : psahores psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From erikhans08 at yahoo.com Sun Aug 7 03:04:53 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sun, 7 Aug 2005 00:04:53 -0700 (PDT) Subject: unsolicited 2 char left indentation on line 2 of btn label In-Reply-To: <4fbdb690af573c8ba0681ab6e68d87ed@snet.net> Message-ID: <20050807070454.16744.qmail@web33008.mail.mud.yahoo.com> msg: set the label of btn "SATB a RB" to \ "SATB a" & return & "01 02 03 04" this is how the button looks: SATB 01 02 03 04 msg: put line 2 of btn "SATB a RB" this in the msg: 01 02 03 04 with no indentation. "01 02 03 04" are MIDI channels which are pre programmed onto harmonies by selecting various buttons. 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 chipp at chipp.com Sun Aug 7 03:31:14 2005 From: chipp at chipp.com (Chipp Walters) Date: Sun, 07 Aug 2005 02:31:14 -0500 Subject: File location using go shell ("startc:\..") In-Reply-To: <20050806161013.81215.qmail@web81908.mail.mud.yahoo.com> References: <20050806161013.81215.qmail@web81908.mail.mud.yahoo.com> Message-ID: <42F5B8C2.6000705@chipp.com> Scott, You need to use the shortFilePath() function to return the path in a format shell will understand. best, Chipp -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.1/64 - Release Date: 8/4/2005 From kray at sonsothunder.com Sun Aug 7 03:32:02 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 07 Aug 2005 02:32:02 -0500 Subject: unsolicited 2 char left indentation on line 2 of btn label In-Reply-To: <20050807070454.16744.qmail@web33008.mail.mud.yahoo.com> Message-ID: On 8/7/05 2:04 AM, "Erik Hansen" wrote: > msg: set the label of btn "SATB a RB" to \ > "SATB a" & return & "01 02 03 04" > > this is how the button looks: > SATB > 01 02 03 04 Hmm... works for me... what kind of button are you using and what version of Revolution? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From b.xavier at internet.lu Sun Aug 7 05:16:06 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 7 Aug 2005 11:16:06 +0200 Subject: ANN: MoireX Volume3 V2.2.5 Message-ID: <20050807090246.880D0824EF9@mail.runrev.com> Sorry about any perturbations this may cause but i had to do it... i added yet more unobvious buttons to parametrize the moires in MoireX, now ascended with some 20 color modes! 17 actually since 3 are open for you to change and have fun with! Lots of little improvements here and there: there 2 different methods to draw now. One is on the fly, the other is arrayed and then drawn - surprise each time! The advantage of the second is speed maybe... They should do the same thing but do they? hmmm - the scripts are hard to maintain in parallel and i might have missed something... There's new options to draw centered, greyscales, linesizes work better (some do weird stuff), poligons are improved, colors are now selectable, random mode switches, chromatic scaling (not implemented everywhere yet - not sure what it can do yet). I know the drawing is still a block off the start but i haven't found why! Must have been a div 0 error that caused a shift in the block drawing but changing the repeats for x to x-1 didn't work!!! So for next version i hope ;) Please feel free to send me your new modes to have more of them! Goal is to reach 100 or so... Any speed improvements you can think of are also welcome - this thing is snail pace! But it's easy to change. I also added comments to the code to make it even more apparent that it's impossible to know what this represent... You are the artist critique now! ;) If you find a really nice moire, dont hesitate to send it for the up'n'coming moire forum and gallery ;) Read the instructions please before complaining about your mac or pc crawling... I've added some of the new images here http://monsieurx.com/modules.php?name=News&file=article&sid=190 but you can jump straight to the fun stuff Rev Download (143KBs) http://www.monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=85 PC download (2MBs) http://monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=87 Enjoy Xavier http://monsieurx.com From chandan at raypoint.de Sun Aug 7 07:32:42 2005 From: chandan at raypoint.de (Chandan Ray) Date: Sun, 7 Aug 2005 13:32:42 +0200 Subject: how to split string? Message-ID: hi there, in perl we've a simple split-function: $line = "hello:world:today"; ($first,$second,$third) = split(/\:/,$line); print "$first $second $third"; how can i do something same like this in lingo? could anybody please tell me? best regards ++ chandan ray helmutstr. 1a 40472 duesseldorf germany +49(0)178 75 41 700 http://www.raypoint.de From charles.hartman at conncoll.edu Sun Aug 7 08:06:31 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sun, 7 Aug 2005 08:06:31 -0400 Subject: me vs. this? In-Reply-To: References: <20050805145930.2B1508250CE@mail.runrev.com> Message-ID: <2749DD77-2B1B-4A36-820F-BA89C7770730@conncoll.edu> Yes, Cubist pointed this out too, and I've been mulling it over, and of course you're right. There's a logical "this" group, field, etc., when one is selected, clicked . . . But fleeting states aren't a good lexical basis for programming languages . . . "Dynamic" is good, but. Charles On Aug 5, 2005, at 7:53 PM, Jeanne A. E. DeVoto wrote: > At 11:20 AM -0400 8/5/2005, Charles Hartman wrote: > >> Well, I don't know. Now that it's pointed out to me, I see in the >> Doc under 'this' only mentions of 'this card' and 'this >> stack' . . . It seems a little counterintuitive, though, doesn't >> it? to have an apparent "plain English" command with what feels >> like an arbitrary limitation on its reference? Why shouldn't "this >> X" refer to whichever X is the "current" one of its kind (group, >> button, script . . .)? >> > > Well, the current stack is the one that's open and frontmost, and > the current card is the one that's visible. But there's not really > an analog for a group, button, etc., because you can have more than > one of those available in the current context - you might have > several groups on the current card, for instance, and no one of > them is "current" in the same way. > -- > jeanne a. e. devoto ~ revolution at jaedworks.com > http://www.jaedworks.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From Ms1 at soas.ac.uk Sun Aug 7 09:35:22 2005 From: Ms1 at soas.ac.uk (Muaadh Salih) Date: Sun, 07 Aug 2005 13:35:22 +0000 Subject: selection case Message-ID: <1123421722.cabb0ee0Ms1@soas.ac.uk> Many thanks to Ken with his solution. Again it does not work as long as you click on a locked stack. The reason is as explained below by RunRev (who are extremely helpful): ----------------------------------- However, one workaround would be to have each word be an individual textrun and reversing the order of words so that the order is correct. word1 word2 word3 word4 - internal (4 text runs) word4 word3 word2 word1 - displayed (4 text runs) You can do this by separating each word by an "english" space for example. The idea is to break up the Arabic text run. You can then get a function to reverse the order of these words when placed in a field. This shoud then solve the clicktext issue. We have plans to improve unicode support in Revolution but unfortunately that would not happen until after your deadline. ___________________________ A second possible one is ( what i think is more practical and less complicated)to script for an opening the field,doubleclick, getting the selection and locking the field again. on mouseup set the locktext of the target to false click at the clickloc click at the clickloc get the selection set the locktext of target to true put it into myword put my word after field wordbank put uniencode(space,"UTF8") after field wordbank Any help in scripting for the proposed function or debugging the second solution ? From chandan at raypoint.de Sun Aug 7 09:52:52 2005 From: chandan at raypoint.de (Chandan Ray) Date: Sun, 7 Aug 2005 15:52:52 +0200 Subject: Fwd: how to split string? Message-ID: <8C866955-074A-11DA-8F43-00306544E66C@raypoint.de> just i found itemDelimiter in lingo it's so eeesy :-) cheers Begin forwarded message: > From: Chandan Ray > Date: Sun Aug 7, 2005 1:32:42 PM Europe/Berlin > To: use-revolution at lists.runrev.com > Subject: how to split string? > > hi there, > > in perl we've a simple split-function: > > $line = "hello:world:today"; > ($first,$second,$third) = split(/\:/,$line); > print "$first $second $third"; > > how can i do something same like this in lingo? could anybody please > tell me? > > best regards > > > > > ++ > chandan ray > helmutstr. 1a > 40472 duesseldorf > germany > > +49(0)178 75 41 700 > http://www.raypoint.de > From webmaster at dreamscapesoftware.com Sun Aug 7 10:22:41 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sun, 07 Aug 2005 09:22:41 -0500 Subject: Fwd: how to split string? In-Reply-To: <8C866955-074A-11DA-8F43-00306544E66C@raypoint.de> References: <8C866955-074A-11DA-8F43-00306544E66C@raypoint.de> Message-ID: <42F61931.4010506@dreamscapesoftware.com> Chandan Ray wrote: > just i found itemDelimiter in lingo > it's so eeesy :-) An even easier way, and a lot closer to the Perl counterpart... split myVariable by ":" Odd, I asked about the same thing over a year ago. :) More information on the split command is in the documentation. Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From klaus at major-k.de Sun Aug 7 10:25:25 2005 From: klaus at major-k.de (Klaus Major) Date: Sun, 7 Aug 2005 16:25:25 +0200 Subject: how to split string? In-Reply-To: <8C866955-074A-11DA-8F43-00306544E66C@raypoint.de> References: <8C866955-074A-11DA-8F43-00306544E66C@raypoint.de> Message-ID: <817759ED-0052-4767-B66F-E1F27218A0A8@major-k.de> Hi Chandan, > just i found itemDelimiter in lingo actually this is a Revolution-list and Rev's language is called Transcript ;-) > it's so eeesy :-) That's why we all love it so much :-) > cheers Gru? aus Hennef Regards Klaus Major klaus at major-k.de http://www.major-k.de From DanielWenger at worldnet.att.net Sun Aug 7 11:37:49 2005 From: DanielWenger at worldnet.att.net (Daniel Wenger) Date: Sun, 7 Aug 2005 08:37:49 -0700 Subject: new user with a question Message-ID: <297931C0-EC8F-47FF-AEA4-562E8398CAFD@worldnet.att.net> I am new to this list and hope that I am not posing a simple problem, but perhaps an interesting one. I have imported a HyperCard Stack into Revolution Studio. I have added a field to the stack. The field shows up while doing a Find and Replace as a field. I can edit the script of the field. The field does not show up using the Application Browser. I can select the field with the pointer and view its properties, etc. If I place text into the field and attempt to put line 1 of field xxx I get a Message Execution Error. Is this a familiar problem? Daniel Wenger From jhurley at infostations.com Sun Aug 7 12:23:05 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 7 Aug 2005 09:23:05 -0700 Subject: a few geometry questions... In-Reply-To: <20050807040253.BFFE9824F3B@mail.runrev.com> References: <20050807040253.BFFE9824F3B@mail.runrev.com> Message-ID: > >Message: 14 >Date: Sat, 6 Aug 2005 18:53:26 -0700 >From: TJ Frame >Subject: a few geometry questions... >To: How to use Revolution >Message-ID: <7348a9e80508061853214723d4 at mail.gmail.com> >Content-Type: text/plain; charset=ISO-8859-1 > >Hi everyone, > 1) If I have the points A and B, how would I determine point C that lies >along the slope but is X units in length from the origin (which will always >be point A) > I can find the total distance between A and B or the midpoint using the >distance and midpoint formulas, but I'm not sure how to plug in a specific >distance value. > 2) I also need to be able to find out where a circle of a given radius >whose orgin is at A intersects that imaginary line. Given that A will always >be the origin of the circle and I only want the single intersection heading >towards point B I wouldn't need to check for all possible solutions such as >non-intersection etc. > Any help would be greatly appreciated.. I'm an artist by trade and haven't >messed with geometry and algebra since high school! > - TJ TJ, This may be more than you want to know. The intersection point between a line and a circle is a lengthy calculation. (Actually there a two points of intersection. See the function on how to get them both.) I have copied the function below. You can check out the functionality in the following stack. Run the following in the msg box. go stack url "http://home.infostations.net/jhurley/LineCircleIntersection.rev" The intersection function is: function theIntersectionPt tCircleName, aPt,bPt --This function determines the point of intersection --between the circle names tCircle name --and the two points aPt and bPt put the width of grc tCircleName /2 into a put theLineAngle(aPt,bPt) into ABangle --put 180/pi*ABangle into tempV put the loc of grc tCircleName into cPt put theLineAngle(aPt,cPt) into ACangle --put 180/pi*ACangle into tempC put ABangle - ACangle into alpha if alpha is 0 then add .0001 to alpha put theDist(aPt,cPt) into b --law of sines put b*sin(alpha)/a into sinBeta if abs(sinBeta) > 1 then choose the browse tool return "" else put asin(sinBeta) into beta end if --There are two points of intersection --with the impact circle. Gamma defines one and --the other is at pi - gamma. --The one closest to point A is: put pi - beta into beta--Omit this step if you want the more distant point --Or get both and return both. Use the two points as needed. put 180/pi*beta into tempBeta put pi - alpha - beta into gamma if gamma > pi/2 then put pi-alpha-beta into gamma put 180/pi*gamma into tempGamma --Law of sines again put a*sin(gamma)/sin(alpha) into c put c*cos(ABangle)into dABx--vx/v into dBx put c*sin(ABangle) into dABy--vy/v into dBy --Get end points of line from aPt to intersection point put item 1 of aPt into x put item 2 of aPt into y put x+dABx,y+dABy into tInterectionPt return tInterectionPt end theIntersectionPt Jim From david at openpartnership.net Sun Aug 7 12:05:12 2005 From: david at openpartnership.net (david bovill) Date: Sun, 7 Aug 2005 18:05:12 +0200 Subject: Cross Platform Video Player In-Reply-To: <96ED9EEA-9B75-4F1D-9FBC-DD210F75B1FB@major-k.de> References: <20050806161013.81215.qmail@web81908.mail.mud.yahoo.com> <96ED9EEA-9B75-4F1D-9FBC-DD210F75B1FB@major-k.de> Message-ID: <6DD3DE9F-E458-464B-AA67-323906A53DAF@openpartnership.net> What would it take to write a cross platform video player in Revolution. Previous experiments failed to get video playing back well on Linux - xAnim is not really actively being developed. All the recent stuff is VLC based (Google and Participatory Culture). The Participatory Culture project is really interesting and a fabulous opportunity to show off what Revolution can do - the task is to create a cross platform application which aggregates RSS feeds and allows you to create full screen TV quality playback. http://www.participatoryculture.org/wiki/index.php? title=Version_0_Requirements Looking for a way to do this. Is this on the Rev roadmap for video playback (it should be), Any suggestions how we could create such a playback client or someone who would now how to create an external to create VLC video windows in Rev? From david at openpartnership.net Sun Aug 7 12:50:22 2005 From: david at openpartnership.net (david bovill) Date: Sun, 7 Aug 2005 18:50:22 +0200 Subject: a few geometry questions... In-Reply-To: References: <20050807040253.BFFE9824F3B@mail.runrev.com> Message-ID: <658770B2-2855-4DB2-A8A1-44ED9501EC9C@openpartnership.net> Cool! Now can you do the same trick with an irregular polygon :) From gcanyon at inspiredlogic.com Sun Aug 7 13:15:59 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun, 7 Aug 2005 10:15:59 -0700 Subject: [Semi-OT] Interesting article Message-ID: http://www.adaptivepath.com/publications/essays/archives/000385.php It's about AJAX -- Asynchronous Javascript And XML. It talks about the ability to create apps like gmail and google maps, and makes an interesting companion piece to http://www.fourthworld.com/embassy/articles/netapps.html gc From jacque at hyperactivesw.com Sun Aug 7 13:18:21 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 07 Aug 2005 12:18:21 -0500 Subject: new user with a question In-Reply-To: <297931C0-EC8F-47FF-AEA4-562E8398CAFD@worldnet.att.net> References: <297931C0-EC8F-47FF-AEA4-562E8398CAFD@worldnet.att.net> Message-ID: <42F6425D.1060105@hyperactivesw.com> Daniel Wenger wrote: > I am new to this list and hope that I am not posing a simple problem, > but perhaps an interesting one. > > I have imported a HyperCard Stack into Revolution Studio. > I have added a field to the stack. > > The field shows up while doing a Find and Replace as a field. I can > edit the script of the field. > The field does not show up using the Application Browser. > I can select the field with the pointer and view its properties, etc. If you put the field on the card, then make sure you've selected the right card in the App Browser. If that isn't the problem, then try closing and re-opening the App Browser. It may be a refresh problem. > > If I place text into the field and attempt to > > put line 1 of field xxx > > I get a Message Execution Error. What's the error? If it is "no such object" and the field is a card field, then you need to use "put line 1 of cd fld xxx". If you want a new background field, then you have to edit the group and create the field in there. All imported HC stacks automatically have their HCAddressing property set to true, which means you must refer to objects the same way you do in HC. Card fields have to be specified as such. You can set that property to false, and then you don't need the "cd fld" specification; just calling it "field xxx" will work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Sun Aug 7 14:44:37 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 07 Aug 2005 13:44:37 -0500 Subject: selection case In-Reply-To: <1123421722.cabb0ee0Ms1@soas.ac.uk> Message-ID: On 8/7/05 8:35 AM, "Muaadh Salih" wrote: > Many thanks to Ken with his solution. Again it does not work as long as you > click on a locked stack. What do you mean by a "locked stack"? Do you mean password-protected? Or did you mean locked *field*? If so, you can set the traversalOn to true and the lockText to false and it will work. You *don't* need to unlock the field. If you would like me to send you a stack that shows how this works, let me know... but I think the problem is that normally when you set the lockText of the field to TRUE, Rev automatically sets the traversalOn to FALSE. You have to manually set the traversalOn to TRUE for this to work. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From revolution at derbrill.de Sun Aug 7 15:10:20 2005 From: revolution at derbrill.de (Malte Brill) Date: Sun, 7 Aug 2005 21:10:20 +0200 Subject: a few geometry questions... In-Reply-To: <20050807170004.E2A97824F75@mail.runrev.com> Message-ID: Hi TJ, if you need to deal more with geometric functions you might want to take a look at ArcadeEngine. It is packed with lots of functions one can use in Multimedia apps. The syntax to calculate the point you are searching with ArcadeEngine in use would be: put pointOnLine(pointA,pointB,radiusOfCircle) into newPoint All the best, Malte -------------- ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum From Roger.E.Eller at sealedair.com Sun Aug 7 15:44:33 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sun, 7 Aug 2005 15:44:33 -0400 Subject: [ANN] Free "virtual" SERUG T-Shirts! Message-ID: Yet another benefit for those who join the SouthEast Revolution Users Group (SERUG) for our virtual meetings in SecondLife are complementary "virtual" Revolution/SERUG t-shirts for our avatars! Kat has posted a picture of the [avatars of the] 3 founders (who have gotten to SecondLife so far) wearing them in the wiki. We look really cool too, I might add! ;-) See http://rugusa.linguistix.net and follow the link on the home page in the paragraph about "Virtual Meetings online". When you get into SecondLife, contact any of the officers about joining the SERUG group, and you'll get your "virtual" t-shirt at the same time. What's great is you never have to wash them! :-) Remember, the reason for utilizing the 3D virtual world (http://secondlife.com) is so we can have meetings and conferences that are not bound by geographic location. All of you are welcome to join SERUG in SecondLife. Hope to see you there. Kind Regards, Roger Eller From Ms1 at soas.ac.uk Sun Aug 7 15:49:12 2005 From: Ms1 at soas.ac.uk (Muaadh Salih) Date: Sun, 07 Aug 2005 19:49:12 +0000 Subject: selection case Message-ID: <1123444152.cabb0c20Ms1@soas.ac.uk> Hi Ken It is the locktext in the field . I am going to look at traversalOn proprty. I will be more than grateful if you send me a stack to show how this works. Many thanks for you help -----Original Message----- From: Ken Ray To: Use Revolution List Date: Sun, 07 Aug 2005 13:44:37 -0500 Subject: Re: selection case On 8/7/05 8:35 AM, "Muaadh Salih" wrote: > Many thanks to Ken with his solution. Again it does not work as long as you > click on a locked stack. What do you mean by a "locked stack"? Do you mean password-protected? Or did you mean locked *field*? If so, you can set the traversalOn to true and the lockText to false and it will work. You *don't* need to unlock the field. If you would like me to send you a stack that shows how this works, let me know... but I think the problem is that normally when you set the lockText of the field to TRUE, Rev automatically sets the traversalOn to FALSE. You have to manually set the traversalOn to TRUE for this to work. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From Ms1 at soas.ac.uk Sun Aug 7 16:20:55 2005 From: Ms1 at soas.ac.uk (Muaadh Salih) Date: Sun, 07 Aug 2005 20:20:55 +0000 Subject: selection case Message-ID: <1123446055.cabb0c20Ms1@soas.ac.uk> Ken I have just applied the following on mouseUp set the traversalOn of field tp to true do "select" && the clickChunk put the selectedText into myWord select empty put myWord after field "btm" put uniEncode(space,"UTF8") after fld "btm" End MouseUp Again it gives back to front choice . i.e you click at the first word to get the last one ...... What runrev said is shows a structural problem for non-Roman script fonts (languages)in Rev.! The white flag is up ang high !! -----Original Messag e----- From: Ken Ray To: Use Revolution List Date: Sun, 07 Aug 2005 13:44:37 -0500 Subject: Re: selection case On 8/7/05 8:35 AM, "Muaadh Salih" wrote: > Many thanks to Ken with his solution. Again it does not work as long as you > click on a locked stack. What do you mean by a "locked stack"? Do you mean password-protected? Or did you mean locked *field*? If so, you can set the traversalOn to true and the lockText to false and it will work. You *don't* need to unlock the field. If you would like me to send you a stack that shows how this works, let me know... but I think the problem is that normally when you set the lockText of the field to TRUE, Rev automatically sets the traversalOn to FALSE. You have to manually set the traversalOn to TRUE for this to work. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From jhurley at infostations.com Sun Aug 7 17:14:38 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 7 Aug 2005 14:14:38 -0700 Subject: a few geometry questions... In-Reply-To: <20050807170004.B968B824F74@mail.runrev.com> References: <20050807170004.B968B824F74@mail.runrev.com> Message-ID: > >Message: 16 >Date: Sun, 7 Aug 2005 18:50:22 +0200 >From: david bovill >Subject: Re: a few geometry questions... >To: How to use Revolution >Message-ID: <658770B2-2855-4DB2-A8A1-44ED9501EC9C at openpartnership.net> >Content-Type: text/plain; charset=US-ASCII; format=flowed > >Cool! > >Now can you do the same trick with an irregular polygon :) David, Yes. The necessary functions can be found in BouncingBallTool.rev. It demonstrates how to find the perpendicular projection of a given point on a given line and whether that point lies between the end points. See the fifth card. In the message box: go stack url "http://home.infostations.net/jhurley/BouncingBallTools.rev" Jim From hershrev at realtorsgroup.us Sun Aug 7 17:52:57 2005 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Sun, 07 Aug 2005 17:52:57 -0400 Subject: Error description: recursionLimit: Recursion limit reached Message-ID: Hi all what is the meaning for this error "Error description: recursionLimit: Recursion limit reached" Thans, Hershel From stephenmcnutt at mac.com Sun Aug 7 18:52:15 2005 From: stephenmcnutt at mac.com (Stephen Paul McNutt) Date: Sun, 7 Aug 2005 18:52:15 -0400 Subject: Icon Composer File Stopped Working Message-ID: <8A36D061-3DFD-4ED6-8940-D96FE1C0C002@mac.com> I just noticed this, so I'm not sure exactly when it happened, but my Icon Composer file for the OS X standalone icons no longer works. I can still see the icons using Preview, and it's still set to use the proper file in Standalone Application Settings, but my standalone builds no longer sport my custom icon. Any ideas? From DanielWenger at worldnet.att.net Sun Aug 7 19:25:23 2005 From: DanielWenger at worldnet.att.net (Daniel Wenger) Date: Sun, 7 Aug 2005 16:25:23 -0700 Subject: new user with a question In-Reply-To: <42F6425D.1060105@hyperactivesw.com> References: <297931C0-EC8F-47FF-AEA4-562E8398CAFD@worldnet.att.net> <42F6425D.1060105@hyperactivesw.com> Message-ID: Thank you. Your email was helpful. It is a question of orienting myself with regard to the new language. Daniel Wenger On Aug 7, 2005, at 10:18 AM, J. Landman Gay wrote: > Daniel Wenger wrote: > >> I am new to this list and hope that I am not posing a simple >> problem, but perhaps an interesting one. >> I have imported a HyperCard Stack into Revolution Studio. >> I have added a field to the stack. >> The field shows up while doing a Find and Replace as a field. I >> can edit the script of the field. >> The field does not show up using the Application Browser. >> I can select the field with the pointer and view its properties, etc. >> > > If you put the field on the card, then make sure you've selected > the right card in the App Browser. If that isn't the problem, then > try closing and re-opening the App Browser. It may be a refresh > problem. > > >> If I place text into the field and attempt to >> put line 1 of field xxx >> I get a Message Execution Error. >> > > What's the error? If it is "no such object" and the field is a card > field, then you need to use "put line 1 of cd fld xxx". If you want > a new background field, then you have to edit the group and create > the field in there. > > All imported HC stacks automatically have their HCAddressing > property set to true, which means you must refer to objects the > same way you do in HC. Card fields have to be specified as such. > You can set that property to false, and then you don't need the "cd > fld" specification; just calling it "field xxx" will work. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From erikhans08 at yahoo.com Sun Aug 7 20:11:59 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sun, 7 Aug 2005 17:11:59 -0700 (PDT) Subject: unsolicited 2 char left indentation on line 2 of btn label In-Reply-To: Message-ID: <20050808001200.249.qmail@web33001.mail.mud.yahoo.com> --- Ken Ray wrote: > On 8/7/05 2:04 AM, "Erik Hansen" > wrote: > > > msg: set the label of btn "SATB a RB" to \ > > "SATB a" & return & "01 02 03 04" > > > > this is how the button looks: > > SATB > > 01 02 03 04 > > Hmm... works for me... what kind of button are > you using and what version of > Revolution? hi Ken, windows 98se Rev 2.1 Radio button Erik erik at erikhansen.org http://www.erikhansen.org ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From eijkhout at cs.utk.edu Sun Aug 7 23:06:46 2005 From: eijkhout at cs.utk.edu (Victor Eijkhout) Date: Sun, 7 Aug 2005 23:06:46 -0400 Subject: me vs. this? In-Reply-To: <2749DD77-2B1B-4A36-820F-BA89C7770730@conncoll.edu> References: <20050805145930.2B1508250CE@mail.runrev.com> <2749DD77-2B1B-4A36-820F-BA89C7770730@conncoll.edu> Message-ID: On Aug 7, 2005, at 8:06 AM, Charles Hartman wrote: > There's a logical "this" group, field, etc., when one is selected, > clicked . . . So "this" makes sense in any piece of code that is in, or was called by a handler..... V. From jspencer78 at mac.com Sun Aug 7 23:28:28 2005 From: jspencer78 at mac.com (James Spencer) Date: Sun, 7 Aug 2005 22:28:28 -0500 Subject: Error description: recursionLimit: Recursion limit reached In-Reply-To: References: Message-ID: <67DAA36D-AA50-4323-95AF-6C2811FA8EC4@mac.com> On Aug 7, 2005, at 4:52 PM, Hershel Fisch wrote: > Hi all what is the meaning for this error "Error description: > recursionLimit: Recursion limit reached" > Thans, Hershel > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Recursion is when a function (or handler in the case of Rev) calls itself. There are many situations where recursion is a pretty good way to solve a problem, the classic example being calculating a factorial which can be calculated as: function factorial number if number <= 1 then return 1 else return number * factorial(number - 1) end if end factorial The error message arises because each time you recurse, information is stored in the memory of the computer so it can no how to return back up the chain once it gets to the beginning (where number = 1 in the example). Obviously, there is a limit to how many times you can call factorial() without breaking the program. The actual limits are variable depending on the parameters passed etc. More typically, the problem arises because you accidentally have a handler that is calling itself in an endless loop. Spence James P. Spencer Rochester, MN jspencer78 at charter.net "Badges?? We don't need no stinkin badges!" From jperryl at ecs.fullerton.edu Mon Aug 8 00:18:12 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 7 Aug 2005 21:18:12 -0700 (PDT) Subject: [OT] Glasgow's Laws of Computing In-Reply-To: Message-ID: I thought that some might get a kick out of this: http://www.gordon-glasgow.org/gglaws.html I found it whilst looking for resources for next term's course (Computers & Society). Gotta fund an angle for incorporating Rev... Judy From kray at sonsothunder.com Mon Aug 8 00:25:54 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 07 Aug 2005 23:25:54 -0500 Subject: unsolicited 2 char left indentation on line 2 of btn label In-Reply-To: <20050808001200.249.qmail@web33001.mail.mud.yahoo.com> Message-ID: On 8/7/05 7:11 PM, "Erik Hansen" wrote: > > --- Ken Ray wrote: > >> On 8/7/05 2:04 AM, "Erik Hansen" >> wrote: >> >>> msg: set the label of btn "SATB a RB" to \ >>> "SATB a" & return & "01 02 03 04" >>> >>> this is how the button looks: >>> SATB >>> 01 02 03 04 >> >> Hmm... works for me... what kind of button are >> you using and what version of >> Revolution? > > hi Ken, > > windows 98se > Rev 2.1 > Radio button That'll do it... this was fixed in the subsequent version of Rev... see Bug #1221. It certainly works in 2.5.1 and 2.6... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From revdan at danshafer.com Mon Aug 8 01:57:49 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 7 Aug 2005 22:57:49 -0700 Subject: [Semi-OT] Interesting article In-Reply-To: References: Message-ID: <3C1F360A-1748-4531-ADC1-B21D1CE40300@danshafer.com> Thanks for bringing this one to our attention, Geoff. I was vaguely aware of the existence of this approach but this article made it much clearer and more coherent. I know JavaScript at least as well as I know Transcript, probably better. But the absence of decent IDEs for graphical development, the necessity of relying pretty much on browser-based UI componentry (there was a way at one point to use Java Swing classes in Web pages with JS calls but I think that relied on Netscape's LiveConnect technology and I don't think that's survived.) So how you can create a "rich" UI in a Web page using this Ajax approach remains problematic, I think. On Aug 7, 2005, at 10:15 AM, Geoff Canyon wrote: > http://www.adaptivepath.com/publications/essays/archives/000385.php > > It's about AJAX -- Asynchronous Javascript And XML. It talks about > the ability to create apps like gmail and google maps, and makes an > interesting companion piece to > > http://www.fourthworld.com/embassy/articles/netapps.html > > gc > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From erikhans08 at yahoo.com Mon Aug 8 02:24:44 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sun, 7 Aug 2005 23:24:44 -0700 (PDT) Subject: unsolicited 2 char left indentation on line 2 of btn label In-Reply-To: Message-ID: <20050808062445.3989.qmail@web33007.mail.mud.yahoo.com> --- Ken Ray wrote: > That'll do it... this was fixed in the > subsequent version of Rev... see Bug > #1221. It certainly works in 2.5.1 and 2.6... thanks Ken, another reason to update, along with the Alt/Gadgets. Erik Hansen erik at erikhansen.org http://www.erikhansen.org ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From dburgun at dsl.pipex.com Mon Aug 8 06:01:11 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 8 Aug 2005 11:01:11 +0100 Subject: External Command Question In-Reply-To: References: <20050805145930.2B1508250CE@mail.runrev.com> <2749DD77-2B1B-4A36-820F-BA89C7770730@conncoll.edu> Message-ID: Hi, Just one quick question. Is it possible to have more than one active "External" file in use by a stack at the same time? If so, how do I set the "Externals" property to do this? Thanks a lot Dave From rp011s7075 at blueyonder.co.uk Mon Aug 8 09:13:40 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Mon, 8 Aug 2005 14:13:40 +0100 Subject: New stack - data filtering (for cognitive psychology) Message-ID: Dear all, Production of the week-end, a stack to filter out data. Expected to be of use to a very limited public only. It helps researchers in cognitive psychology filter out data after experimentation and before statistical analysis. You will find more information in the links below. Available as a .rev file in the revolution-education gallery (courseware-maths-data filtering) Available as a standalone at: Feedback and comments are always welcome, Best, Marielle PS. If anybody sent me an email over the week-end, please send it again. I had forgotten to tick the delete from server for a while and reached my quota. ------------------------------------------------------------------------ ---------------------------------------- Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education wikit: http://revolution.lexicall.org/wiki/ From lists at mangomultimedia.com Mon Aug 8 10:13:48 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 8 Aug 2005 07:13:48 -0700 Subject: External Command Question In-Reply-To: References: <20050805145930.2B1508250CE@mail.runrev.com> <2749DD77-2B1B-4A36-820F-BA89C7770730@conncoll.edu> Message-ID: <5252B88C-25EA-4CB7-8108-2DD72DED1F5E@mangomultimedia.com> On Aug 8, 2005, at 3:01 AM, David Burgun wrote: > Hi, > > Just one quick question. Is it possible to have more than one > active "External" file in use by a stack at the same time? If so, > how do I set the "Externals" property to do this? Yes. Just separate each external using a return. set the externals of this stack to "myExternal1.dll"&cr& myExternal1.bundle" &cr& "myExternal2.dll" &cr& myExternal2.bundle" -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From stephenREVOLUTION at barncard.com Mon Aug 8 10:29:38 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 8 Aug 2005 07:29:38 -0700 Subject: selection case In-Reply-To: <1123446055.cabb0c20Ms1@soas.ac.uk> References: <1123446055.cabb0c20Ms1@soas.ac.uk> Message-ID: perhaps you need to set the traversalOn property in the IDE, in the Inspector, not in a script. At 8:20 PM +0000 8/7/05, Muaadh Salih wrote: > >Ken >I have just applied the following > > on mouseUp >set the traversalOn of field tp to true > do "select" && the clickChunk > put the selectedText into myWord > select empty > put myWord after field "btm" > put uniEncode(space,"UTF8") after fld "btm" > >End MouseUp > > >Again it gives back to front choice . i.e you click at the first >word to get the last one ...... > > >What runrev said is shows a structural problem for non-Roman script >fonts (languages)in Rev.! >The white flag is up ang high !! From pevensen at siboneylg.com Mon Aug 8 10:51:28 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Mon, 08 Aug 2005 09:51:28 -0500 Subject: Profiles help In-Reply-To: <6.2.1.2.2.20050804152714.215c1258@exchange.slg.com> References: <6.2.1.2.2.20050804151804.215d27a8@exchange.slg.com> <6.2.1.2.2.20050804152714.215c1258@exchange.slg.com> Message-ID: <6.2.1.2.2.20050808094722.27e38c68@exchange.slg.com> Ok, it appears this may or may not be considered a bug. If I set gRevProfileReadOnly to true, things work as expected; however, I think things should work as expected even if it is set to false. The problem comes in with groups when items in the groups have profiles as well. When you switch profiles, since the group moved the items, rect becomes a part of the profile for the items in the group when it should not be. This seems rather esoteric behavior. What does everyone else think? At 03:28 PM 8/4/2005, you wrote: >One addendum, it appears that the group I thought was working actually >wasn't changing the location of the group on the profile switch, so the >text field didn't move. > >This appears to be a bug: if you have a group with a profile and an object >in the group has the same profile, the rectangles get messed up. Has >anyone else seen this? > >At 03:24 PM 8/4/2005, you wrote: >>I have this group consisting of 3 items: >> >>a round rect, a freehand poly (together they make a balloon), and a text >>label. >> >>I have 2 profiles: LevelA and LevelB >> >>On the group, the profiles change the rect of the group (i.e. move the >>bubble and enclosed caption). >> >>The label field also has 2 profiles, LevelA and LevelB. This changes the >>Content of the label (i.e., htmlText). >> >>When I switch between the two profiles, the profiles on the field all of >>a sudden gain a rect property and the text moves farther and father >>outside of the balloon with each switch. >> >>I delete the rect property from each profile of the field and from the >>master and it keeps appearing. >> >>The end result is (with the results simulate din text to the right: >> >>revSetStackProfile "LevelA" => ( tex)t >>revSetStackProfile "LevelB" => te(st ) >>revSetStackProfile "LevelA" => ( t)ext >>revSetStackProfile "LevelB" => tes(t ) >>revSetStackProfile "LevelA" => ( ) text >> >>I have another, identical group that doesn't behave this way. It is >>almost like the rectangle property is being cached someplace and being >>reattached to the profiles in the text field. >> >>Any thoughts? >> >>Peter T. Evensen >>http://www.PetersRoadToHealth.com >>24-hour recorded info hotline: 1-800-624-7671 >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-revolution > >Peter T. Evensen >http://www.PetersRoadToHealth.com >24-hour recorded info hotline: 1-800-624-7671 >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From ms1 at soas.ac.uk Mon Aug 8 10:52:24 2005 From: ms1 at soas.ac.uk (Muaadh salih) Date: Mon, 8 Aug 2005 15:52:24 +0100 Subject: selection case In-Reply-To: References: <1123446055.cabb0c20Ms1@soas.ac.uk> Message-ID: This sound silly question but how to get to raversalOn property in the IDE, in the Inspector ? >perhaps you need to set the C not in a script. > >At 8:20 PM +0000 8/7/05, Muaadh Salih wrote: >> >>Ken >>I have just applied the following >> >> on mouseUp >>set the traversalOn of field tp to true >> do "select" && the clickChunk >> put the selectedText into myWord >> select empty >> put myWord after field "btm" >> put uniEncode(space,"UTF8") after fld "btm" >> >>End MouseUp >> >> >>Again it gives back to front choice . i.e you click at the first >>word to get the last one ...... >> >> >>What runrev said is shows a structural problem for non-Roman script >>fonts (languages)in Rev.! >>The white flag is up ang high !! >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution -- All the best Muaadh Salih SOAS Department of Near & Middle Eastern Studies Tel . +44 (0)2078984354 From 3mcgrath at adelphia.net Mon Aug 8 10:54:14 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 8 Aug 2005 10:54:14 -0400 Subject: Alternate mouseDown Method Message-ID: Dear List, Someone had hinted at using dragDrop as an way to see what control a mouse was over during a mousedown, but I did not understand it then. Well, I worked out this idea and it worked completely for what I was needing. I needed a real or simulated mouseUp, mouseLeave, and mouseEnter that started from a mouseDown that DID NOT go to the control that started the mouseDown but rather to the control the mouse was over. I have uploaded to my user area a stack that shows all of these states in the way that I needed it to. user: mcgrath3 stack: Alternate MouseDown Method My code may not be optimized but the simulated states work great. Let me know if I missed anything. Thank you, Tom From ridge11103 at btinternet.com Mon Aug 8 11:28:07 2005 From: ridge11103 at btinternet.com (John Ridge) Date: Mon, 8 Aug 2005 16:28:07 +0100 Subject: selection case In-Reply-To: References: <1123446055.cabb0c20Ms1@soas.ac.uk> Message-ID: <2CED4150-B3F2-40BF-B506-434020453A72@btinternet.com> On 8 Aug 2005, at 15:52, Muaadh salih wrote: Try the Preferences menu item, General pane - select the second button down, and the Inspector will now show the property name. Much more useful when scripting! > This sound silly question but how to get to raversalOn property in > the IDE, in the Inspector ? > > > Best wishes John ridge11103 at btinternet.com From bann at sunncomm.com Mon Aug 8 12:16:36 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Mon, 8 Aug 2005 09:16:36 -0700 Subject: Is there anyone in here using altBrowser??? Message-ID: Hello, How do you use altBrowser separate from the standalone app? How to set it up? Thank you From dburgun at dsl.pipex.com Mon Aug 8 12:24:08 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Mon, 8 Aug 2005 17:24:08 +0100 Subject: External Command Question In-Reply-To: <5252B88C-25EA-4CB7-8108-2DD72DED1F5E@mangomultimedia.com> References: <20050805145930.2B1508250CE@mail.runrev.com> <2749DD77-2B1B-4A36-820F-BA89C7770730@conncoll.edu> <5252B88C-25EA-4CB7-8108-2DD72DED1F5E@mangomultimedia.com> Message-ID: Thanks a lot! Knew it must be something like that! All the Best Dave >On Aug 8, 2005, at 3:01 AM, David Burgun wrote: > >>Hi, >> >>Just one quick question. Is it possible to have more than one >>active "External" file in use by a stack at the same time? If so, >>how do I set the "Externals" property to do this? > >Yes. Just separate each external using a return. > >set the externals of this stack to "myExternal1.dll"&cr& >myExternal1.bundle" &cr& "myExternal2.dll" &cr& myExternal2.bundle" > > > >-- >Trevor DeVore >Blue Mango Multimedia >trevor at mangomultimedia.com > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From ms1 at soas.ac.uk Mon Aug 8 12:32:43 2005 From: ms1 at soas.ac.uk (Muaadh salih) Date: Mon, 8 Aug 2005 17:32:43 +0100 Subject: selection case In-Reply-To: <2CED4150-B3F2-40BF-B506-434020453A72@btinternet.com> References: <1123446055.cabb0c20Ms1@soas.ac.uk> <2CED4150-B3F2-40BF-B506-434020453A72@btinternet.com> Message-ID: Hi John many thanks but it does not work ?!( i.e. I does not emulate the real selection ( as in Hypercard): When you click the the first Arabic or Hebrew it select the last in the line ) >On 8 Aug 2005, at 15:52, Muaadh salih wrote: > >Try the Preferences menu item, General pane - select the second >button down, and the Inspector will now show the property name. Much >more useful when scripting! > >>This sound silly question but how to get to raversalOn property in >>the IDE, in the Inspector ? >> >> > > >Best wishes >John >ridge11103 at btinternet.com > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution -- All the best Muaadh Salih SOAS Department of Near & Middle Eastern Studies Tel . +44 (0)2078984354 From webmaster at dreamscapesoftware.com Mon Aug 8 12:42:24 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Mon, 08 Aug 2005 11:42:24 -0500 Subject: Is there anyone in here using altBrowser??? In-Reply-To: References: Message-ID: <42F78B70.1040402@dreamscapesoftware.com> Ban Nguyen wrote: > How do you use altBrowser separate from the standalone app? How to set > it up? I use altBrowser. altBrowser is an external, so you cannot use it unless it is called from within a standalone. Now if you are asking something else then I will need further clarification on what it is that you're trying to do. Also, if you have any questions on how to setup altBrowser within your stack, check the documentation that came with it when you purchased altBrowser. Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From bann at sunncomm.com Mon Aug 8 12:52:27 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Mon, 8 Aug 2005 09:52:27 -0700 Subject: Is there anyone in here using altBrowser??? Message-ID: Ban Nguyen wrote: > How do you use altBrowser separate from the standalone app? How to set > it up? ----------------------- I use altBrowser. altBrowser is an external, so you cannot use it unless it is called from within a standalone. Now if you are asking something else then I will need further clarification on what it is that you're trying to do. Also, if you have any questions on how to setup altBrowser within your stack, check the documentation that came with it when you purchased altBrowser. Derek Bump ---------------------- I have two buttons (on the standalone app) to go to 2 different websites. I want to use ALTBrowser to display them. Is there anyway to display the website within the standalone? ---------------------- From gandalf at doctorTimothyMiller.com Mon Aug 8 13:12:01 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 8 Aug 2005 10:12:01 -0700 Subject: command-period - On third thought... Message-ID: Okay, a fresh download of Revzilla made Revzilla work. It doesn't take long to get familiar with the interface, and now it is easy to peruse bugzilla. The status of the command-period issue now seems unclear. One BZ item suggests command-period should halt a script while debugging. Apparently that's been resolved. The other relevant BZ item addresses a situation that sounds like a loop that a command-period will not interrupt. It sounds like the bug-reporter was talking about an endless and rapid succession of answer dialogs. That's similar to my concern, but not identical. The reply on BZ is ambiguous. Maybe it isn't technically possible, though that isn't clear. The status of the concern is "assigned," way back in an early version. My issue is much simpler. If an answer dialog is waiting on the screen, command-period, would, in a perfect world, exit to top. As far as I can tell, no keyboard entry will make that happen. I'm reluctant to submit this to BZ, because the list might have been over and over it already. Or it might be obvious to insiders that it isn't technically possible. Does anyone else wish for this relatively minor improvement? Is it technically possible? Cheers, Tim From Karen at curlypaws.com Mon Aug 8 13:15:34 2005 From: Karen at curlypaws.com (Karen) Date: Mon, 8 Aug 2005 18:15:34 +0100 Subject: Icon Composer File Stopped Working In-Reply-To: <20050808143937.8AC8D824E9C@mail.runrev.com> References: <20050808143937.8AC8D824E9C@mail.runrev.com> Message-ID: <1738E287-06FC-49B0-BD81-E1B28F889426@curlypaws.com> Stephen, I'm sure it is little consolation, but I have the exact same problem in OS X - and it happens to both existing and totally new projects with both home made and downloaded icon files. Strangely, the Windows version of the application still shows the correct icon, but the OS X version doesn't. I tried deleting all traces of Revolution off my machine and then re-installing, but no luck. I think it dates from version 2.6 as everything was OK before that. At the moment I have to revert to manually associating the icon with the application using Get Info and copy/paste. If I do that it works. I find it rather annoying, but I'm at a loss as to why it happens - and it doesn't seem to be a widespread problem. Karen On 8 Aug 2005, at 15:39, use-revolution-request at lists.runrev.com wrote: > > Message: 10 > Date: Sun, 7 Aug 2005 18:52:15 -0400 > From: Stephen Paul McNutt > Subject: Icon Composer File Stopped Working > To: use-revolution at lists.runrev.com > Message-ID: <8A36D061-3DFD-4ED6-8940-D96FE1C0C002 at mac.com> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > I just noticed this, so I'm not sure exactly when it happened, but my > Icon Composer file for the OS X standalone icons no longer works. I > can still see the icons using Preview, and it's still set to use the > proper file in Standalone Application Settings, but my standalone > builds no longer sport my custom icon. Any ideas? > From rp011s7075 at blueyonder.co.uk Mon Aug 8 13:32:40 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Mon, 8 Aug 2005 18:32:40 +0100 Subject: [Semi-OT] Interesting article Message-ID: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> Hi Geoff, Yes, the topic is very hot. Everybody is moving in that direction: Macromedia, Flex: Creating applications with Mozilla: Konfabulator is now free (bought by Yahoo a week ago): For the mac users, this is the same as dashboard widgets, but cross- platform (pc and mac). For a good demo of Ajax possibilities: There were good papers in the July issue of the international developer magazine on "web-applications": My notes on this (work in progress): Technical discussion: Placed in an education context (the issue there being to design more interactive materials and still keep the ease of distribution of the web): There are two reasons for these recent technical developments. One is the need for better user experience on web vs desktop. The other is the issue of software development vs. Composition: Revolution is probably the best solution for software composition. At least, that's a development environment that does today what others announce for tomorrow. Best, Marielle > http://www.adaptivepath.com/publications/essays/archives/000385.php > > It's about AJAX -- Asynchronous Javascript And XML. It talks about > the ability to create apps like gmail and google maps, and makes an > interesting companion piece to > > http://www.fourthworld.com/embassy/articles/netapps.html > ------------------------------------------------------------------------ ---------------------------- Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From rpresender at cox.net Mon Aug 8 13:26:14 2005 From: rpresender at cox.net (Robert Presender) Date: Mon, 8 Aug 2005 10:26:14 -0700 Subject: doMenu Message-ID: Using rev 2.5.1, OS 10.3.9 I want to activate a menuItem of a menu btn of a particular stack from a handler in a different stack. For testing, I put the below script into the message box doMenu menuItem 1 of btn "X" of group "MenuBar 1" of stack "Y" The result was: doMenu (the name of menuItem 1) is not implemented. Would appreciate suggestions of how to activate a menuItem as indicated in line 2 above. Thank you Regards ... Bob From mwieder at ahsoftware.net Mon Aug 8 13:28:45 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 8 Aug 2005 10:28:45 -0700 Subject: command-period - On third thought... In-Reply-To: References: Message-ID: <747944533.20050808102845@ahsoftware.net> Timothy- Monday, August 8, 2005, 10:12:01 AM, you wrote: > My issue is much simpler. If an answer dialog is waiting on the > screen, command-period, would, in a perfect world, exit to top. As > far as I can tell, no keyboard entry will make that happen. I've lost the original context for this thread, so I may not know what's going on here, but that's never stopped me before... Answer dialogs are modal. Typically a modal dialog means that all other action within an application is blocked until the dialog is dismissed. This is done by pressing one of the buttons on the modal dialog ("OK", "Cancel", etc) or by typing the keyboard equivalent of thos buttons (return, escape, etc). The addition of command-period would be an interesting addition to the operating system as a substitute for the escape key, but that would have to be done at the OS level rather than the application level. Otherwise you're talking about redefining what a "modal" dialog means, especially if you want to close the modal dialog and force an exit-to-top. -- -Mark Wieder mwieder at ahsoftware.net From tmackenz at utk.edu Mon Aug 8 14:01:38 2005 From: tmackenz at utk.edu (Tim MacKenzie) Date: Mon, 8 Aug 2005 14:01:38 -0400 Subject: copying a variable to the clipboard In-Reply-To: <20050808170004.9954B824ED2@mail.runrev.com> References: <20050808170004.9954B824ED2@mail.runrev.com> Message-ID: Is there any way to put the contents of a variable onto the clipboard. I can say copy line 1 to 3 of field "abc" But Rev will not accept put line 1 to 3 of field "abc" into var1 copy var1 I want it on the clipboard so I can paste it in another application such as TextEdit. - Tim MacKenzie University of Tennessee, Knoxvile From pevensen at siboneylg.com Mon Aug 8 14:03:42 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Mon, 08 Aug 2005 13:03:42 -0500 Subject: copying a variable to the clipboard In-Reply-To: References: <20050808170004.9954B824ED2@mail.runrev.com> Message-ID: <6.2.1.2.2.20050808130304.196ad420@exchange.slg.com> how about put line 1 to 3 of field "abc" into var1 set the clipboardData["text"] to var1 At 01:01 PM 8/8/2005, you wrote: >Is there any way to put the contents of a variable onto the clipboard. I >can say > >copy line 1 to 3 of field "abc" > >But Rev will not accept > >put line 1 to 3 of field "abc" into var1 >copy var1 > >I want it on the clipboard so I can paste it in another application such >as TextEdit. > >- Tim MacKenzie > University of Tennessee, Knoxvile > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From bnz2 at cdc.gov Mon Aug 8 14:04:24 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 8 Aug 2005 14:04:24 -0400 Subject: copying a variable to the clipboard Message-ID: <64878EF567131D4596246171F75FD4A9968161@m-epo-1.epo.cdc.gov> Put the htmltext of line 1 to 3 of field "abc" into var1h Put line 1 to 3 of field "abc" into var1 Set the clipboarddata["html"] to var1h Set the clipboarddata["text"] to var1 -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Tim MacKenzie Sent: Monday, August 08, 2005 2:02 PM To: use-revolution at lists.runrev.com Subject: copying a variable to the clipboard Is there any way to put the contents of a variable onto the clipboard. I can say copy line 1 to 3 of field "abc" But Rev will not accept put line 1 to 3 of field "abc" into var1 copy var1 I want it on the clipboard so I can paste it in another application such as TextEdit. - Tim MacKenzie University of Tennessee, Knoxvile _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From revdan at danshafer.com Mon Aug 8 14:38:04 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 8 Aug 2005 11:38:04 -0700 Subject: [Semi-OT] Interesting article In-Reply-To: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> Message-ID: <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> And the guys who started much of this, from whom Macromedia appears to have essentially lifted not only technology but staff: http://www.laszlosystems.com I'm still trying to figure out how Rev could play a role in this; creating the UIs in flex and laszlo require text editing. Yuk. Thanks, Marielle, for the great pointers. Now I'm off to do some reading instead of the work I should be doing. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From kray at sonsothunder.com Mon Aug 8 14:56:14 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 08 Aug 2005 13:56:14 -0500 Subject: doMenu In-Reply-To: Message-ID: On 8/8/05 12:26 PM, "Robert Presender" wrote: > Using rev 2.5.1, OS 10.3.9 > > I want to activate a menuItem of a menu btn of a particular stack from > a handler in a different stack. For testing, I put the below script > into the message box > > doMenu menuItem 1 of btn "X" of group "MenuBar 1" of stack "Y" > > The result was: doMenu (the name of menuItem 1) is not implemented. > > Would appreciate suggestions of how to activate a menuItem as indicated > in line 2 above. Well, menu selections from the menu itself create menuPick messages which are usually trapped in the menu button itself. Some people like to put the code directly in the button for the menu item's functionality, like: -- File menu on menuPick pChoice switch pChoice case "Open" answer file "Select a file to open:" if it <> "" then -- rest of script here end if break case "Print" -- etc. break end switch end menuPick Personally, I like to move the actual menu action code somewhere else, like in a stack script, library or backscript so that I can call it from other places, like: -- File menu on menuPick pChoice switch pChoice case "Open" FileOpen break case "Print" -- etc. break end switch end menuPick So in this case, activating the "Open" menu item would be simply executing "FileOpen" and have it run a handler elsewhere. However, if you are "stuck" with activating code that is *in* the button, you need to send the menuPick message along with the proper param to the button in question. Using the example above, that would be: send "menuPick" && quote & "Open" & quote to button "File" of group "MenuGroup" Hope this helps, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From lists at mangomultimedia.com Mon Aug 8 15:02:02 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 8 Aug 2005 12:02:02 -0700 Subject: [Semi-OT] Interesting article In-Reply-To: <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> Message-ID: On Aug 8, 2005, at 11:38 AM, Dan Shafer wrote: > And the guys who started much of this, from whom Macromedia appears > to have essentially lifted not only technology but staff: > > http://www.laszlosystems.com > > I'm still trying to figure out how Rev could play a role in this; > creating the UIs in flex and laszlo require text editing. Yuk. The Laszlo system is pretty slick. I've seen their presentation at a Macromedia conference before and chatted with some of the folks about their stuff (I even got a free shirt :-). This was the same conference where Macromedia announced that they were working on Flex. If you have to design web applications in Flash this is a great way to approach it. Alas, the problem remains that you are just editing text files, compiling, testing, etc. I found this process to be tedious. In fact, it is one of the main reasons I moved away from Flash for the web connected GUIs I work on, once I realized what Revolution could do. The Revolution approach of being able to interact with your controls and data in the dev environment is such a time saver IMO. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From hershrev at realtorsgroup.us Mon Aug 8 15:05:37 2005 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Mon, 08 Aug 2005 15:05:37 -0400 Subject: Error description: recursionLimit: Recursion limit reached In-Reply-To: <67DAA36D-AA50-4323-95AF-6C2811FA8EC4@mac.com> Message-ID: On 8/7/05 11:28 PM, "James Spencer" wrote: > Thanks, Hershel > On Aug 7, 2005, at 4:52 PM, Hershel Fisch wrote: > >> Hi all what is the meaning for this error "Error description: >> recursionLimit: Recursion limit reached" >> Thans, Hershel >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > Recursion is when a function (or handler in the case of Rev) calls > itself. There are many situations where recursion is a pretty good > way to solve a problem, the classic example being calculating a > factorial which can be calculated as: > > function factorial number > if number <= 1 then > return 1 > else > return number * factorial(number - 1) > end if > end factorial > > The error message arises because each time you recurse, information > is stored in the memory of the computer so it can no how to return > back up the chain once it gets to the beginning (where number = 1 in > the example). Obviously, there is a limit to how many times you can > call factorial() without breaking the program. The actual limits are > variable depending on the parameters passed etc. > > More typically, the problem arises because you accidentally have a > handler that is calling itself in an endless loop. > > Spence > > James P. Spencer > Rochester, MN > > jspencer78 at charter.net > > "Badges?? We don't need no stinkin badges!" > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Mon Aug 8 15:21:51 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 08 Aug 2005 14:21:51 -0500 Subject: command-period - On third thought... In-Reply-To: <747944533.20050808102845@ahsoftware.net> References: <747944533.20050808102845@ahsoftware.net> Message-ID: <42F7B0CF.1030301@hyperactivesw.com> Mark Wieder wrote: > Timothy- > > Monday, August 8, 2005, 10:12:01 AM, you wrote: > > >>My issue is much simpler. If an answer dialog is waiting on the >>screen, command-period, would, in a perfect world, exit to top. As >>far as I can tell, no keyboard entry will make that happen. > > > I've lost the original context for this thread, so I may not know > what's going on here, but that's never stopped me before... > > Answer dialogs are modal. Typically a modal dialog means that all > other action within an application is blocked until the dialog is > dismissed. This is done by pressing one of the buttons on the modal > dialog ("OK", "Cancel", etc) or by typing the keyboard equivalent of > thos buttons (return, escape, etc). The addition of command-period > would be an interesting addition to the operating system as a > substitute for the escape key, but that would have to be done at the > OS level rather than the application level. Otherwise you're talking > about redefining what a "modal" dialog means, especially if you want > to close the modal dialog and force an exit-to-top. > Right. The reason it worked in HyperCard and can't work in Revolution, if I remember right, is because HyperCard didn't use system windows for modal dialogs; it put up its own. The so-called "modal" dialog in HyperCard was actually an application window that got treated in a special way and was therefore immune to OS behaviors. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Mon Aug 8 15:40:11 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 08 Aug 2005 14:40:11 -0500 Subject: [ANN] RevZilla 2.0.4 Now Available Message-ID: Just a quick notice to let you know that version 2.0.4 of RevZilla is now available. I needed to change servers, so the IP address changed. Bottom line is this: If you don't upgrade to 2.0.4, you won't be able to submit bug reports or feedback on RevZilla, and you won't be able to get notified that updates to RevZilla are available after 8/12/05 (the server won't be there anymore). You can get it at all the usual places: http://www.sonsothunder.com/devres/downloads/revzilla2.htm RevOnline under 'kray' RevNet, "Stacks" area Let me know if you have any problems downloading... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From revdan at danshafer.com Mon Aug 8 16:16:06 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 8 Aug 2005 13:16:06 -0700 Subject: [Semi-OT] Interesting article In-Reply-To: References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> Message-ID: Amen, brother Trevor! On Aug 8, 2005, at 12:02 PM, Trevor DeVore wrote: > The Revolution approach of being able to interact with your > controls and data in the dev environment is such a time saver IMO. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revdan at danshafer.com Mon Aug 8 16:18:26 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 8 Aug 2005 13:18:26 -0700 Subject: [ANN] RevZilla 2.0.4 Now Available In-Reply-To: References: Message-ID: Kevin.... Got it from RevOnline but your URL isn't working yet. Maybe I'm just too quick. Dan On Aug 8, 2005, at 12:40 PM, Ken Ray wrote: > Just a quick notice to let you know that version 2.0.4 of RevZilla > is now > available. I needed to change servers, so the IP address changed. > > Bottom line is this: > > If you don't upgrade to 2.0.4, you won't be able to submit bug > reports or > feedback on RevZilla, and you won't be able to get notified that > updates to > RevZilla are available after 8/12/05 (the server won't be there > anymore). > > You can get it at all the usual places: > > http://www.sonsothunder.com/devres/downloads/revzilla2.htm > RevOnline under 'kray' > RevNet, "Stacks" area > > Let me know if you have any problems downloading... > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mdswindell at charter.net Mon Aug 8 16:37:41 2005 From: mdswindell at charter.net (Mark Swindell) Date: Mon, 8 Aug 2005 13:37:41 -0700 Subject: "Send" question Message-ID: <53A7F8D3-77F0-44CD-ADD8-FACC6FFD9BCE@charter.net> Why does "send mouseUp to button id 1200" return "true" in the message box? while "send mouseUp to button "Listen"" gives the same result as clicking on the button "Listen"? Thanks Mark From pevensen at siboneylg.com Mon Aug 8 16:47:50 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Mon, 08 Aug 2005 15:47:50 -0500 Subject: [Semi-OT] Interesting article In-Reply-To: <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> Message-ID: <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> What I don't understand is why is Laszlo and Flex better than using Flash? Flash lets you lay things out graphically. Flex and Laszlo are text descriptions that are compiled into flash. To me, it is easier to layout a screen than to try to describe it in text. At 01:38 PM 8/8/2005, you wrote: >And the guys who started much of this, from whom Macromedia appears >to have essentially lifted not only technology but staff: > >http://www.laszlosystems.com > >I'm still trying to figure out how Rev could play a role in this; >creating the UIs in flex and laszlo require text editing. Yuk. > >Thanks, Marielle, for the great pointers. Now I'm off to do some >reading instead of the work I should be doing. > > > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Dan Shafer, Revolution Consultant and Author >http://www.shafermedia.com >Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From jacque at hyperactivesw.com Mon Aug 8 17:33:18 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 08 Aug 2005 16:33:18 -0500 Subject: MD5Digest values Message-ID: <42F7CF9E.9000901@hyperactivesw.com> Can an md5digest value ever contain a comma? If so, are there any values it cannot contain? I need to store these in a list of some type. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From briany at qldlearning.com Mon Aug 8 17:37:12 2005 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 8 Aug 2005 14:37:12 -0700 Subject: MD5Digest values In-Reply-To: <42F7CF9E.9000901@hyperactivesw.com> References: <42F7CF9E.9000901@hyperactivesw.com> Message-ID: <8c4b77af6deea5aef27813865566354a@qldlearning.com> Jacque, I'm not sure about reserved characters in md5, but here are a couple of points that might help- * The digest is of a fixed length * Since the digest is binary, you might want to hex or base64 encode it, in which case you'll know the possible characters. Hope this helps! If not, you might try googling "md5 rfc" or something along those lines for a spec... - Brian > Can an md5digest value ever contain a comma? If so, are there any > values it cannot contain? I need to store these in a list of some > type. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From bvg at mac.com Mon Aug 8 17:40:49 2005 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 8 Aug 2005 23:40:49 +0200 Subject: ChatRev Coding Contest Message-ID: <8f0f0c16ac6fd3c09bb5554d8a143643@mac.com> Hi All I almost forgot this! But please send in your entry to the "impossible" challenge to my mail address NOW. Doesn't matter if you're finished yet or not. greetings Bjoernke -- http://contest.wecode.org Now running: the first ChatRev coding contest! sponsors: Altuit Andre Garzia Fourth World Karl Becker Runtime Revolution TidBITS in cooperation with eHUG From kray at sonsothunder.com Mon Aug 8 17:48:14 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 08 Aug 2005 16:48:14 -0500 Subject: [ANN] RevZilla 2.0.4 Now Available In-Reply-To: Message-ID: On 8/8/05 3:18 PM, "Dan Shafer" wrote: > Kevin.... > > Got it from RevOnline but your URL isn't working yet. Darn case-sensitive UNIX servers! :-) http://www.sonsothunder.com/devres/revolution/downloads/RevZilla2.htm Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From dcragg at lacscentre.co.uk Mon Aug 8 17:58:00 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 8 Aug 2005 22:58:00 +0100 Subject: MD5Digest values In-Reply-To: <42F7CF9E.9000901@hyperactivesw.com> References: <42F7CF9E.9000901@hyperactivesw.com> Message-ID: On 8 Aug 2005, at 22:33, J. Landman Gay wrote: > Can an md5digest value ever contain a comma? If so, are there any > values it cannot contain? I need to store these in a list of some > type. For example, the md5Digest of 2 contains a comma. As the "raw" md5Digest is a binary value, I suspect any character could appear. I usually use the following function to store the digests as a hex string. function hexDigest pvalue local tRes put md5Digest(pValue) into tMD5 get binaryDecode("H*",tMD5,tRes) return tRes end hexDigest Cheers Dave From tjframe at gmail.com Mon Aug 8 18:01:55 2005 From: tjframe at gmail.com (TJ Frame) Date: Mon, 8 Aug 2005 15:01:55 -0700 Subject: a few geometry questions... In-Reply-To: References: <20050807170004.B968B824F74@mail.runrev.com> Message-ID: <7348a9e805080815015916e515@mail.gmail.com> Thanks Jim and Malte for your help - it is much appreciated. - TJ On 8/7/05, Jim Hurley wrote: > > > > >Message: 16 > >Date: Sun, 7 Aug 2005 18:50:22 +0200 > >From: david bovill > >Subject: Re: a few geometry questions... > >To: How to use Revolution > >Message-ID: <658770B2-2855-4DB2-A8A1-44ED9501EC9C at openpartnership.net> > >Content-Type: text/plain; charset=US-ASCII; format=flowed > > > >Cool! > > > >Now can you do the same trick with an irregular polygon :) > > > David, > > Yes. The necessary functions can be found in BouncingBallTool.rev. It > demonstrates how to find the perpendicular projection of a given > point on a given line and whether that point lies between the end > points. See the fifth card. > > In the message box: > > go stack url "http://home.infostations.net/jhurley/BouncingBallTools.rev" > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lists at mangomultimedia.com Mon Aug 8 18:03:00 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 8 Aug 2005 15:03:00 -0700 Subject: [Semi-OT] Interesting article In-Reply-To: <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> Message-ID: <2517D9CD-7C22-4D08-91A2-7AB4AD40242A@mangomultimedia.com> On Aug 8, 2005, at 1:47 PM, Peter T. Evensen wrote: > What I don't understand is why is Laszlo and Flex better than using > Flash? Flash lets you lay things out graphically. Flex and Laszlo > are text descriptions that are compiled into flash. To me, it is > easier to layout a screen than to try to describe it in text. OpenLaszlo is a powerful framework for developing applications using the SWF format. My impression was that it is a robust framework that allows the developer to focus on their web app logic and let the Laszlo framework handle the presentation. Take a look at their ten minute demo (which is quite good) for more info: It seemed to me that the philosophy of the Laszlo people at their presentation was this: web app developers spend most of their time writing code and not much time in the Flash GUI and most of them have a preferred text editor. Their framework takes care of a lot of the transition animation and other niceties that the developer might want so it is pretty straightforward to just code these things in. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From chipp at chipp.com Mon Aug 8 18:09:49 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 08 Aug 2005 17:09:49 -0500 Subject: [Semi-OT] Interesting article In-Reply-To: <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> Message-ID: <42F7D82D.9000702@chipp.com> Here's your reason...their address. San Mateo, CA 94403 Don't you know by now, any technology in Silicon Valley is automatically hyped by 2 orders of magnitude? Heck, this AJAX stuff was going on over 2 years ago, it's just now some guy from San Francisco says it's cool. LOL, I'm just a poor uneducated caveman. I do not understand you fancy California technology names. Where I am from we use much simpler ideas, such as Javascript, DHTML, XML and CSS. Chipp Peter T. Evensen wrote: > What I don't understand is why is Laszlo and Flex better than using > Flash? Flash lets you lay things out graphically. Flex and Laszlo are > text descriptions that are compiled into flash. To me, it is easier to > layout a screen than to try to describe it in text. From michaell at unimelb.edu.au Mon Aug 8 19:32:46 2005 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Tue, 9 Aug 2005 09:32:46 +1000 Subject: South East Rev Users Group meeting today Message-ID: There will be a meeting of the South East Revolution Users Group in my office, this winter, 9/8/2005, at lunch time. Of course, Melbourne is in the South East of Australia, and it is winter right now! :-) -- 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 gandalf at doctorTimothyMiller.com Mon Aug 8 19:54:14 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 8 Aug 2005 16:54:14 -0700 Subject: command-period - On third thought... In-Reply-To: <42F7B0CF.1030301@hyperactivesw.com> References: <747944533.20050808102845@ahsoftware.net> <42F7B0CF.1030301@hyperactivesw.com> Message-ID: Thanks, Jacque and Mark. I suspected this was the case. Maybe someday, Rev could give us the choice of a modal or non-modal answer dialog. In the meantime, I'll just write a standard answer command with extra lines that include an "exit to top" button in the dialog box, and otherwise prefabricate the thing a little. I'll stow it somewhere for easy access when I want to do some quick and dirty debugging. Then, when I want to do some quick and dirty debugging, I won't be able to remember where I put it. But life will go on. :-) Thanks, Tim >Mark Wieder wrote: >>Timothy- >> >>Monday, August 8, 2005, 10:12:01 AM, you wrote: >> >>>My issue is much simpler. If an answer dialog is waiting on the >>>screen, command-period, would, in a perfect world, exit to top. As >>>far as I can tell, no keyboard entry will make that happen. >> >> >>I've lost the original context for this thread, so I may not know >>what's going on here, but that's never stopped me before... >> >>Answer dialogs are modal. Typically a modal dialog means that all >>other action within an application is blocked until the dialog is >>dismissed. This is done by pressing one of the buttons on the modal >>dialog ("OK", "Cancel", etc) or by typing the keyboard equivalent of >>thos buttons (return, escape, etc). The addition of command-period >>would be an interesting addition to the operating system as a >>substitute for the escape key, but that would have to be done at the >>OS level rather than the application level. Otherwise you're talking >>about redefining what a "modal" dialog means, especially if you want >>to close the modal dialog and force an exit-to-top. >> > >Right. The reason it worked in HyperCard and can't work in >Revolution, if I remember right, is because HyperCard didn't use >system windows for modal dialogs; it put up its own. The so-called >"modal" dialog in HyperCard was actually an application window that >got treated in a special way and was therefore immune to OS >behaviors. > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From bvlahos at mac.com Mon Aug 8 20:04:32 2005 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 8 Aug 2005 17:04:32 -0700 Subject: Run as Windows service Message-ID: <4A2CCE00-3293-4D4F-80F1-C96BAB6DD6EA@mac.com> I have an application in Rev I want to run as a Windows service because I don't want the user to be able to quit it. How do I make a Rev app run this way? Bill Vlahos From gandalf at doctorTimothyMiller.com Mon Aug 8 20:14:48 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 8 Aug 2005 17:14:48 -0700 Subject: two more noob questions re "find" command Message-ID: Hi, 1--If I use the "find" command in the single-line message box, is there any way to get the foundchunk? How? 2--If I use the find command in a script, is there any way to script the equivalent of hitting the return key (like when I click on a button), so as to find the next item, as I would do if I were using "find" in the single-line message box? How? 3--One way to simulate a returnkey using the find command in a script might be to move the cursor to the next field that the find command would normally search, then just use the find command again. I think that might be scriptable, though possibly slightly tricky -- at least for me. That raises a question. In what sequence does the find command search the fields on a card? By layer? By number? Card fields first, or bg fields first? Thanks in advance, very much, really. :-) I really hope a revDocWiki gets off the ground someday. I'll have to bug you all a lot less if it happens. And, I'll be able to give help sometimes, instead of always receiving it. Cheers, Tim From webmaster at dreamscapesoftware.com Mon Aug 8 20:46:46 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Mon, 08 Aug 2005 19:46:46 -0500 Subject: Run as Windows service In-Reply-To: <4A2CCE00-3293-4D4F-80F1-C96BAB6DD6EA@mac.com> References: <4A2CCE00-3293-4D4F-80F1-C96BAB6DD6EA@mac.com> Message-ID: <42F7FCF6.6040908@dreamscapesoftware.com> Bill Vlahos wrote: > I have an application in Rev I want to run as a Windows service because > I don't want the user to be able to quit it. > > How do I make a Rev app run this way? Well, I don't know about running a Rev Standalone as a service, but you could do the following... 1. Make a Setup program that installs your standalone and also adds an entry to the Registry to startup the program during Window's boot. 2. Set the decorations to empty. I know this removes the titleBar and window border, but it also removes the taskbar button. This way you could either hide the window (if it's a background service) or keep the window open but it can't be hidden. This should work just fine. Hope this helps. Oh, a great free setup program builder is called InnoSetup. Most major companies use it, and it's very expandable. Oh, it's free...can't beat that! Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From b.xavier at internet.lu Mon Aug 8 21:11:41 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 9 Aug 2005 03:11:41 +0200 Subject: Run as Windows service In-Reply-To: <42F7FCF6.6040908@dreamscapesoftware.com> Message-ID: <20050809005755.971BC824EBC@mail.runrev.com> Services are usually faceless applications Derek ;) In the windows resourcekit there is a programmed named srvany.exe. Search it in technet.Microsoft.com, you'll find what you're looking for. First you compile the application (with a startup handler to run it)... Then you set the srvany and link your application to a service that you create with srvany. That's it... when the service is started, you app should be running. It's useful to keep a text log of the operations to keep track of it's running status too... I've posted this previously in the list too. If you search the archives, you should find it... 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, August 09, 2005 02:47 > To: How to use Revolution > Subject: Re: Run as Windows service > > Bill Vlahos wrote: > > I have an application in Rev I want to run as a Windows service > > because I don't want the user to be able to quit it. > > > > How do I make a Rev app run this way? > > Well, I don't know about running a Rev Standalone as a > service, but you could do the following... > > > 1. Make a Setup program that installs your standalone and > also adds an > entry to the Registry to startup the program during Window's boot. > > 2. Set the decorations to empty. I know this removes the > titleBar and > window border, but it also removes the taskbar button. This way you > could either hide the window (if it's a background service) > or keep the > window open but it can't be hidden. > > > This should work just fine. Hope this helps. Oh, a great free setup > program builder is called InnoSetup. Most major companies > use it, and > it's very expandable. Oh, it's free...can't beat that! > > > Derek Bump > Dreamscape Software > _______________________________________________ > Compress Photos for the Web with JPEGCompress > http://www.dreamscapesoftware.com/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at bakody.net Mon Aug 8 21:19:29 2005 From: david at bakody.net (David Bakody) Date: Mon, 08 Aug 2005 18:19:29 -0700 Subject: Noob: Amazed yet confused - Dreamcard vs Revolution Message-ID: <42F804A1.1040200@bakody.net> Hello to this amazing group: I stumbled onto Dreamcard after linking to a forum posting regarding a review of the most recent release of RealBASIC on OSNews. One thing led to another and now here I am. I've been playing with the eval of Dreamcard and am amazed yet confused. On the one hand, I felt like waxing nostalgic for my old Hypercard days back in the late 1980's, so much so that I fired up an old Quadra 650 (still runs after all these years) and started toying around with Hypercard again to help jog my memory and gain a better understanding of Dreamcard. In so many ways I lament the things Apple has discarded (OpenDoc, Hypercard, GameSprockets, to name just a few...). I feel I should note that not only did I search the archives before asking a question, I downloaded and imported the ENTIRE archives into Thunderbird as the archives are THAT good. The answers I found kinda-sorta answered my question, but I remain a bit unclear... Here's my question: The only difference I can find between Dreamcard and Revolution is that the latter can produce standalone apps, whereas the former requires a player. Assuming I merely want to develop applications for myself that relate to my practice of real estate / law / etc, is Dreamcard sufficient? These will be modest applications (lead generation / tracking, client management, simple databases, case management, etc). Likewise, I envision sharing some of my work product with my peers to run on their own respective workstations (non-commercial, just plain old sharing and love), but I am a bit concerned as to whether or not the "player" will permit me to share my work in a usable manner. If indeed it does - Dreamcard is an incredible deal. Apologies in advance if this question has been asked a million times. From jacque at hyperactivesw.com Mon Aug 8 21:46:41 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 08 Aug 2005 20:46:41 -0500 Subject: MD5Digest values In-Reply-To: References: <42F7CF9E.9000901@hyperactivesw.com> Message-ID: <42F80B01.6010007@hyperactivesw.com> Brian Yennie wrote: > > * The digest is of a fixed length > * Since the digest is binary, you might want to hex or base64 encode it, > in which case you'll know the possible characters. > And Dave Cragg wrote: > I usually use the following function to store the digests as a hex string. > > function hexDigest pvalue > local tRes > put md5Digest(pValue) into tMD5 > get binaryDecode("H*",tMD5,tRes) > return tRes > end hexDigest Thanks guys, this helps. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rpresender at cox.net Mon Aug 8 22:03:19 2005 From: rpresender at cox.net (Robert Presender) Date: Mon, 8 Aug 2005 19:03:19 -0700 Subject: doMenu In-Reply-To: <20050808214601.1CC66824EFC@mail.runrev.com> References: <20050808214601.1CC66824EFC@mail.runrev.com> Message-ID: On Aug 8, 2005, at 2:46 PM, Ken Ray wrote: snip > However, if you are "stuck" with activating code that is *in* the > button, > you need to send the menuPick message along with the proper param to > the > button in question. Using the example above, that would be: > > send "menuPick" && quote & "Open" & quote to button "File" > of group "MenuGroup" > > Hope this helps, Thank you Ken. It helped a great deal .. just what I need. I had tried send "menuPick" but didn't have the && quote & etc format. I see now why that format is necessary. Regards ... Bob > > > Ken Ray > Sons of Thunder Software From bvlahos at mac.com Mon Aug 8 22:09:09 2005 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 8 Aug 2005 19:09:09 -0700 Subject: Run as Windows service In-Reply-To: <20050809005755.971BC824EBC@mail.runrev.com> References: <20050809005755.971BC824EBC@mail.runrev.com> Message-ID: <78681959c85af9d88dc94e72b7db2d3b@mac.com> Xavier, Will this process start a "normal" Rev application faceless or do I need to prep the Rev application somehow to run without a window? Can I tell when a user is logged into the computer? I want the Windows service application to launch a regular Rev windowed application but only when the user is logged in but not if the user has logged out. Thanks, Bill Vlahos On Aug 8, 2005, at 6:11 PM, MisterX wrote: > Services are usually faceless applications Derek ;) > > In the windows resourcekit there is a programmed named > srvany.exe. Search it in technet.Microsoft.com, you'll > find what you're looking for. > > First you compile the application (with a startup handler > to run it)... > > Then you set the srvany and link your application to a > service that you create with srvany. > > That's it... when the service is started, you app should be > running. It's useful to keep a text log of the operations to > keep track of it's running status too... > > I've posted this previously in the list too. If you search > the archives, you should find it... > > 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, August 09, 2005 02:47 >> To: How to use Revolution >> Subject: Re: Run as Windows service >> >> Bill Vlahos wrote: >>> I have an application in Rev I want to run as a Windows service >>> because I don't want the user to be able to quit it. >>> >>> How do I make a Rev app run this way? >> >> Well, I don't know about running a Rev Standalone as a >> service, but you could do the following... >> >> >> 1. Make a Setup program that installs your standalone and >> also adds an >> entry to the Registry to startup the program during Window's boot. >> >> 2. Set the decorations to empty. I know this removes the >> titleBar and >> window border, but it also removes the taskbar button. This way you >> could either hide the window (if it's a background service) >> or keep the >> window open but it can't be hidden. >> >> >> This should work just fine. Hope this helps. Oh, a great free setup >> program builder is called InnoSetup. Most major companies >> use it, and >> it's very expandable. Oh, it's free...can't beat that! >> >> >> Derek Bump >> Dreamscape Software >> _______________________________________________ >> Compress Photos for the Web with JPEGCompress >> http://www.dreamscapesoftware.com/ >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage >> your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From charles.hartman at conncoll.edu Mon Aug 8 22:25:04 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Mon, 8 Aug 2005 22:25:04 -0400 Subject: Noob: Amazed yet confused - Dreamcard vs Revolution In-Reply-To: <42F804A1.1040200@bakody.net> References: <42F804A1.1040200@bakody.net> Message-ID: <33BE6A95-B564-4A4E-988E-A07BE2CFE003@conncoll.edu> Others can give you an informed opinion -- I can offer one from somebody in a position like yours. I'm developing some moderately large tutorial stacks that my and my colleagues' students will download, along with a Windows or OSX Player. I've experimented enough to be confident that Dreamcard is going to work fine for this. The only drawback I see (for my purposes so far, and for yours as you describe them) is that you need to produce a set of foolproof instructions for users that's about two steps longer than it would be if one were producing standalones. The capabilities are otherwise the same, as far as I can tell, except for some fairly advanced stuff (commercial database queries for example) that -- so far -- I don't think I'll need. There's the amateur view. Those Who Know will tell you more. Charles Hartman On Aug 8, 2005, at 9:19 PM, David Bakody wrote: > Hello to this amazing group: > > I stumbled onto Dreamcard after linking to a forum posting > regarding a review of the most recent release of RealBASIC on > OSNews. One thing led to another and now here I am. > I've been playing with the eval of Dreamcard and am amazed yet > confused. On the one hand, I felt like waxing nostalgic for my old > Hypercard days back in the late 1980's, so much so that I fired up > an old Quadra 650 (still runs after all these years) and started > toying around with Hypercard again to help jog my memory and gain a > better understanding of Dreamcard. In so many ways I lament the > things Apple has discarded (OpenDoc, Hypercard, GameSprockets, to > name just a few...). > > I feel I should note that not only did I search the archives before > asking a question, I downloaded and imported the ENTIRE archives > into Thunderbird as the archives are THAT good. The answers I > found kinda-sorta answered my question, but I remain a bit unclear... > > Here's my question: > The only difference I can find between Dreamcard and Revolution is > that the latter can produce standalone apps, whereas the former > requires a player. Assuming I merely want to develop applications > for myself that relate to my practice of real estate / law / etc, > is Dreamcard sufficient? These will be modest applications (lead > generation / tracking, client management, simple databases, case > management, etc). Likewise, I envision sharing some of my work > product with my peers to run on their own respective workstations > (non-commercial, just plain old sharing and love), but I am a bit > concerned as to whether or not the "player" will permit me to share > my work in a usable manner. If indeed it does - Dreamcard is an > incredible deal. > > Apologies in advance if this question has been asked a million times. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From tsj at unimelb.edu.au Mon Aug 8 22:43:12 2005 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 9 Aug 2005 12:43:12 +1000 Subject: problems with popups In-Reply-To: <20050808214600.D5815824EFB@mail.runrev.com> References: <20050808214600.D5815824EFB@mail.runrev.com> Message-ID: <276998004721796e0e092035c566e9ed@unimelb.edu.au> I seem to be having a hard time getting popup menus to to 'stick' open under Windows. I'm using a 'rectangle' type button to popup the 'popup' type button (popup btn "historyMenu" at the bottomLeft of me) and the following happens (auto hilite of 'rectangle' button is true) on mouseDown 1. 'rectangle' button hilites 2. popup menu displays, and continues to display while the mouse is down but a mouseUp message is sent to the 'rectangle' button as soon as the popup displays and on mouseUp... 3. the 'rectangle' button's hilite stays on or off depending on its initial state when it was clicked I've been able to fix the hiliting problem by checking the state of the mouse in a mouseUp handler and sending messages to it until it is up and then setting the hilite correctly. However, to get the popup menu to 'stick' open I have to put a "wait until the mouse is up with messages" line in the mouseDown handler - before popping up the menu - but then (of course) it doesn't appear while the mouse is down. This stuff seems to behave correctly under OSX. Has anyone experienced these problems and if so can they suggest any solutions/workarounds. Cheers, Terry... BTW I can't get menus displayed using "popup stack [stackName]" to 'stick' on either OSX or Windows. 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 bryan at deepfoo.com Mon Aug 8 23:24:59 2005 From: bryan at deepfoo.com (Bryan McCormick) Date: Mon, 08 Aug 2005 23:24:59 -0400 Subject: graphic markers, can one set only one? Message-ID: <42F8220B.7090103@deepfoo.com> I was curious if it is possible to set only one marker in a polygon. why would I want to do this? In my application which is graphing, I need to set just one marker, in most cases the first or last vertex in the polygon. Ideally I'd want to be able to create and set the markers on any vertex I might choose. Any ideas? From katir at hindu.org Mon Aug 8 23:35:51 2005 From: katir at hindu.org (Sivakatirswami) Date: Mon, 8 Aug 2005 17:35:51 -1000 Subject: [Semi-OT] Interesting article In-Reply-To: <42F7D82D.9000702@chipp.com> References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> <42F7D82D.9000702@chipp.com> Message-ID: <02D0BE4A-72FA-47BB-BF0E-6AC5555247D6@hindu.org> This craving to make everything work inside a browser... endless building of complex contraptions to split a piece of wood, just wire two machines together and use an axe. I wonder how much actual "real" content these people ever deploy over a given 365 day period... Meanwhile looking at the Laszlo-in-ten-minutes we see something Rev could very well use in their model for development. font-externals: "Using Laszlo, you can embed fonts in your application using the tag. You use the name attribute to provide the font with a logical name used within your application, and the src attribute to point to a font file. Just like images, font files have to be available on the server. This approach guarantees that your application will look exactly the same, pixel by pixel, on all platforms." Could it be that hard adopt this approach in Rev? Is something like this already on the feature list? Sivakatirswami On Aug 08, 2005, at 12:09 PM, Chipp Walters wrote: > Here's your reason...their address. > > San Mateo, CA 94403 > > Don't you know by now, any technology in Silicon Valley is > automatically hyped by 2 orders of magnitude? Heck, this AJAX stuff > was going on over 2 years ago, it's just now some guy from San > Francisco says it's cool. > > LOL, I'm just a poor uneducated caveman. I do not understand you > fancy California technology names. Where I am from we use much > simpler ideas, such as Javascript, DHTML, XML and CSS. > > Chipp From bvlahos at mac.com Mon Aug 8 23:57:30 2005 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 8 Aug 2005 20:57:30 -0700 Subject: Noob: Amazed yet confused - Dreamcard vs Revolution In-Reply-To: <42F804A1.1040200@bakody.net> References: <42F804A1.1040200@bakody.net> Message-ID: David, Welcome to the Revolution. I believe you are pretty much the exact market for DreamCard. It should do nicely for you. Being able to create standalone applications is great and if you decide you want to be able to do that later you can simply upgrade then. There are some other advantages to Revolution but not for the uses you describe. Enjoy. Bill Vlahos On Aug 8, 2005, at 6:19 PM, David Bakody wrote: > Hello to this amazing group: > > I stumbled onto Dreamcard after linking to a forum posting regarding a > review of the most recent release of RealBASIC on OSNews. One thing > led to another and now here I am. > I've been playing with the eval of Dreamcard and am amazed yet > confused. On the one hand, I felt like waxing nostalgic for my old > Hypercard days back in the late 1980's, so much so that I fired up an > old Quadra 650 (still runs after all these years) and started toying > around with Hypercard again to help jog my memory and gain a better > understanding of Dreamcard. In so many ways I lament the things Apple > has discarded (OpenDoc, Hypercard, GameSprockets, to name just a > few...). > > I feel I should note that not only did I search the archives before > asking a question, I downloaded and imported the ENTIRE archives into > Thunderbird as the archives are THAT good. The answers I found > kinda-sorta answered my question, but I remain a bit unclear... > > Here's my question: > The only difference I can find between Dreamcard and Revolution is > that the latter can produce standalone apps, whereas the former > requires a player. Assuming I merely want to develop applications for > myself that relate to my practice of real estate / law / etc, is > Dreamcard sufficient? These will be modest applications (lead > generation / tracking, client management, simple databases, case > management, etc). Likewise, I envision sharing some of my work > product with my peers to run on their own respective workstations > (non-commercial, just plain old sharing and love), but I am a bit > concerned as to whether or not the "player" will permit me to share my > work in a usable manner. If indeed it does - Dreamcard is an > incredible deal. > > Apologies in advance if this question has been asked a million times. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From monte at sweattechnologies.com Tue Aug 9 00:01:16 2005 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 9 Aug 2005 13:31:16 +0930 Subject: graphic markers, can one set only one? References: <42F8220B.7090103@deepfoo.com> Message-ID: <010001c59c96$fe2b1170$0402a8c0@fred> Hi Bryan >I was curious if it is possible to set only one marker in a polygon. why >would I want to do this? In my application which is graphing, I need to set >just one marker, in most cases the first or last vertex in the polygon. > > Ideally I'd want to be able to create and set the markers on any vertex I > might choose. Any ideas? Try using a second graphic object above the line graphic with just the points you want to have markers on and use a linesize of 0. Cheers -- Monte Goulding BCompSci Sweat Technologies BAppSci (Hons) InstallGadget - How to create an installer in 10 seconds Download now from: http://www.sweattechnologies.com/InstallGadget From kray at sonsothunder.com Tue Aug 9 00:13:47 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 08 Aug 2005 23:13:47 -0500 Subject: problems with popups In-Reply-To: <276998004721796e0e092035c566e9ed@unimelb.edu.au> Message-ID: On 8/8/05 9:43 PM, "Terry Judd" wrote: > under Windows. I'm using a 'rectangle' type button to popup the 'popup' > type button (popup btn "historyMenu" at the bottomLeft of me) and the > following happens (auto hilite of 'rectangle' button is true) on > mouseDown > > 1. 'rectangle' button hilites > 2. popup menu displays, and continues to display while the mouse is > down but a mouseUp message is sent to the 'rectangle' button as soon as > the popup displays > > and on mouseUp... > > 3. the 'rectangle' button's hilite stays on or off depending on its > initial state when it was clicked > > I've been able to fix the hiliting problem by checking the state of the > mouse in a mouseUp handler and sending messages to it until it is up > and then setting the hilite correctly. However, to get the popup menu > to 'stick' open I have to put a "wait until the mouse is up with > messages" line in the mouseDown handler - before popping up the menu - > but then (of course) it doesn't appear while the mouse is down. This > stuff seems to behave correctly under OSX. > > Has anyone experienced these problems and if so can they suggest any > solutions/workarounds. Yes, I encountered the same thing and bugged it in Bugzilla (#423). You need to add this in your handler: if the platform is "Win32" then wait until the mouse is up with messages end if HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Tue Aug 9 00:16:18 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 08 Aug 2005 23:16:18 -0500 Subject: two more noob questions re "find" command In-Reply-To: Message-ID: On 8/8/05 7:14 PM, "Timothy Miller" wrote: > Hi, > > 1--If I use the "find" command in the single-line message box, is > there any way to get the foundchunk? How? get the foundChunk :-) You can also get the foundText, foundField, foundLine, and foundLoc. > 2--If I use the find command in a script, is there any way to script > the equivalent of hitting the return key (like when I click on a > button), so as to find the next item, as I would do if I were using > "find" in the single-line message box? How? Just continue to execute "find" - it will pick up from the last boxed selection. Look in the Dictionary under "find" and all your questions will be answered. :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From b.xavier at internet.lu Tue Aug 9 00:28:17 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 9 Aug 2005 06:28:17 +0200 Subject: Run as Windows service In-Reply-To: <78681959c85af9d88dc94e72b7db2d3b@mac.com> Message-ID: <20050809041425.6EA11824EEF@mail.runrev.com> Bill > Will this process start a "normal" Rev application faceless > or do I need to prep the Rev application somehow to run > without a window? > there's nothing you need to do for a faceless app, it's the way services run... > Can I tell when a user is logged into the computer? I want > the Windows service application to launch a regular Rev > windowed application but only when the user is logged in but > not if the user has logged out. maybe you should use the startup folder in the start menu for that... put it into the "All users" folder so all users will get it automatically. Dont forget to set the permissions to the shortcut so users cannot remove it... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Bill Vlahos > Sent: Tuesday, August 09, 2005 04:09 > To: How to use Revolution > Subject: Re: Run as Windows service > > Xavier, > > Will this process start a "normal" Rev application faceless > or do I need to prep the Rev application somehow to run > without a window? > > Can I tell when a user is logged into the computer? I want > the Windows service application to launch a regular Rev > windowed application but only when the user is logged in but > not if the user has logged out. > > Thanks, > Bill Vlahos > > > On Aug 8, 2005, at 6:11 PM, MisterX wrote: > > > Services are usually faceless applications Derek ;) > > > > In the windows resourcekit there is a programmed named srvany.exe. > > Search it in technet.Microsoft.com, you'll find what you're looking > > for. > > > > First you compile the application (with a startup handler to run > > it)... > > > > Then you set the srvany and link your application to a service that > > you create with srvany. > > > > That's it... when the service is started, you app should be > running. > > It's useful to keep a text log of the operations to keep > track of it's > > running status too... > > > > I've posted this previously in the list too. If you search the > > archives, you should find it... > > > > 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, August 09, 2005 02:47 > >> To: How to use Revolution > >> Subject: Re: Run as Windows service > >> > >> Bill Vlahos wrote: > >>> I have an application in Rev I want to run as a Windows service > >>> because I don't want the user to be able to quit it. > >>> > >>> How do I make a Rev app run this way? > >> > >> Well, I don't know about running a Rev Standalone as a > service, but > >> you could do the following... > >> > >> > >> 1. Make a Setup program that installs your standalone and > also adds > >> an entry to the Registry to startup the program during > Window's boot. > >> > >> 2. Set the decorations to empty. I know this removes the titleBar > >> and window border, but it also removes the taskbar button. > This way > >> you could either hide the window (if it's a background service) or > >> keep the window open but it can't be hidden. > >> > >> > >> This should work just fine. Hope this helps. Oh, a great > free setup > >> program builder is called InnoSetup. Most major companies > >> use it, and > >> it's very expandable. Oh, it's free...can't beat that! > >> > >> > >> Derek Bump > >> Dreamscape Software > >> _______________________________________________ > >> Compress Photos for the Web with JPEGCompress > >> http://www.dreamscapesoftware.com/ > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage > >> your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at bakody.net Tue Aug 9 00:33:24 2005 From: david at bakody.net (David Bakody) Date: Mon, 08 Aug 2005 21:33:24 -0700 Subject: Noob: Amazed yet confused - Dreamcard vs Revolution In-Reply-To: References: <42F804A1.1040200@bakody.net> Message-ID: <42F83214.9030404@bakody.net> Thanks for the help. It looks like this group ended up making another sale. The only thing I don't quite get is how this company can make any money on a product that in some ways should cost far more. I'm not complaining, but the revenue stream for such a product can't be anything to get excited about as the number of users I suspect is still quite small, unless it's the loss leader and leads to eventual Revolution or Enterprise licenses. Oh well. I'll leave that to the bean counters at Runtime Revolution LTD. Bill Vlahos wrote: > David, > > Welcome to the Revolution. > > I believe you are pretty much the exact market for DreamCard. It > should do nicely for you. > > Being able to create standalone applications is great and if you > decide you want to be able to do that later you can simply upgrade > then. There are some other advantages to Revolution but not for the > uses you describe. > > Enjoy. > > Bill Vlahos > > On Aug 8, 2005, at 6:19 PM, David Bakody wrote: > >> Hello to this amazing group: >> >> I stumbled onto Dreamcard after linking to a forum posting regarding >> a review of the most recent release of RealBASIC on OSNews. One >> thing led to another and now here I am. >> I've been playing with the eval of Dreamcard and am amazed yet >> confused. On the one hand, I felt like waxing nostalgic for my old >> Hypercard days back in the late 1980's, so much so that I fired up an >> old Quadra 650 (still runs after all these years) and started toying >> around with Hypercard again to help jog my memory and gain a better >> understanding of Dreamcard. In so many ways I lament the things >> Apple has discarded (OpenDoc, Hypercard, GameSprockets, to name just >> a few...). >> >> I feel I should note that not only did I search the archives before >> asking a question, I downloaded and imported the ENTIRE archives into >> Thunderbird as the archives are THAT good. The answers I found >> kinda-sorta answered my question, but I remain a bit unclear... >> >> Here's my question: >> The only difference I can find between Dreamcard and Revolution is >> that the latter can produce standalone apps, whereas the former >> requires a player. Assuming I merely want to develop applications >> for myself that relate to my practice of real estate / law / etc, is >> Dreamcard sufficient? These will be modest applications (lead >> generation / tracking, client management, simple databases, case >> management, etc). Likewise, I envision sharing some of my work >> product with my peers to run on their own respective workstations >> (non-commercial, just plain old sharing and love), but I am a bit >> concerned as to whether or not the "player" will permit me to share >> my work in a usable manner. If indeed it does - Dreamcard is an >> incredible deal. >> >> Apologies in advance if this question has been asked a million times. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Tue Aug 9 00:48:47 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 8 Aug 2005 21:48:47 -0700 Subject: [Semi-OT] Interesting article In-Reply-To: <42F7D82D.9000702@chipp.com> References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> <42F7D82D.9000702@chipp.com> Message-ID: <9648746613.20050808214847@ahsoftware.net> Chipp- Monday, August 8, 2005, 3:09:49 PM, you wrote: > DHTML, XML and CSS. I don't know, Chipp - I've always had trouble pronouncing those. Can I buy a vowel? -- -Mark Wieder mwieder at ahsoftware.net From chipp at chipp.com Tue Aug 9 02:14:28 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 09 Aug 2005 01:14:28 -0500 Subject: [Semi-OT] Interesting article In-Reply-To: <9648746613.20050808214847@ahsoftware.net> References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> <42F7D82D.9000702@chipp.com> <9648746613.20050808214847@ahsoftware.net> Message-ID: <42F849C4.6050803@chipp.com> Sorry, can't sell to those in California w/out some ridiculous out-of-state alphabet tax. Maybe an email to Arnold would help...course I hear he's been trying to buy vowels for sometime now :-) Mark Wieder wrote: > Chipp- > > Monday, August 8, 2005, 3:09:49 PM, you wrote: > > >>DHTML, XML and CSS. > > > I don't know, Chipp - I've always had trouble pronouncing those. > Can I buy a vowel? > From revdan at danshafer.com Tue Aug 9 03:13:47 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 9 Aug 2005 00:13:47 -0700 Subject: Noob: Amazed yet confused - Dreamcard vs Revolution In-Reply-To: <42F83214.9030404@bakody.net> References: <42F804A1.1040200@bakody.net> <42F83214.9030404@bakody.net> Message-ID: David.... Welcome to the Revolution from YAHR (Yet Another HyperCard Refugee). You're gonna love it over here. I feel the same way you do: RunRev *could* charge a LOT more for this product and justify it. But it's a competitive marketplace with lots of free and Open Source tools and technologies, so they might not be more successful doing that. DreamCard will, I suspect, play an increasing role in their revenue model as they bring online ways for people like you to deploy stacks to others who have the Player and pick up a little toll booth fee along the way. On Aug 8, 2005, at 9:33 PM, David Bakody wrote: > Thanks for the help. It looks like this group ended up making > another sale. > > The only thing I don't quite get is how this company can make any > money on a product that in some ways should cost far more. I'm not > complaining, but the revenue stream for such a product can't be > anything to get excited about as the number of users I suspect is > still quite small, unless it's the loss leader and leads to > eventual Revolution or Enterprise licenses. Oh well. I'll leave > that to the bean counters at Runtime Revolution LTD. > > Bill Vlahos wrote: > > >> David, >> >> Welcome to the Revolution. >> >> I believe you are pretty much the exact market for DreamCard. It >> should do nicely for you. >> >> Being able to create standalone applications is great and if you >> decide you want to be able to do that later you can simply upgrade >> then. There are some other advantages to Revolution but not for >> the uses you describe. >> >> Enjoy. >> >> Bill Vlahos >> >> On Aug 8, 2005, at 6:19 PM, David Bakody wrote: >> >> >>> Hello to this amazing group: >>> >>> I stumbled onto Dreamcard after linking to a forum posting >>> regarding a review of the most recent release of RealBASIC on >>> OSNews. One thing led to another and now here I am. >>> I've been playing with the eval of Dreamcard and am amazed yet >>> confused. On the one hand, I felt like waxing nostalgic for my >>> old Hypercard days back in the late 1980's, so much so that I >>> fired up an old Quadra 650 (still runs after all these years) and >>> started toying around with Hypercard again to help jog my memory >>> and gain a better understanding of Dreamcard. In so many ways I >>> lament the things Apple has discarded (OpenDoc, Hypercard, >>> GameSprockets, to name just a few...). >>> >>> I feel I should note that not only did I search the archives >>> before asking a question, I downloaded and imported the ENTIRE >>> archives into Thunderbird as the archives are THAT good. The >>> answers I found kinda-sorta answered my question, but I remain a >>> bit unclear... >>> >>> Here's my question: >>> The only difference I can find between Dreamcard and Revolution >>> is that the latter can produce standalone apps, whereas the >>> former requires a player. Assuming I merely want to develop >>> applications for myself that relate to my practice of real >>> estate / law / etc, is Dreamcard sufficient? These will be >>> modest applications (lead generation / tracking, client >>> management, simple databases, case management, etc). Likewise, I >>> envision sharing some of my work product with my peers to run on >>> their own respective workstations (non-commercial, just plain old >>> sharing and love), but I am a bit concerned as to whether or not >>> the "player" will permit me to share my work in a usable manner. >>> If indeed it does - Dreamcard is an incredible deal. >>> >>> Apologies in advance if this question has been asked a million >>> times. >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revdan at danshafer.com Tue Aug 9 03:15:32 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 9 Aug 2005 00:15:32 -0700 Subject: [Semi-OT] Interesting article In-Reply-To: <42F849C4.6050803@chipp.com> References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> <42F7D82D.9000702@chipp.com> <9648746613.20050808214847@ahsoftware.net> <42F849C4.6050803@chipp.com> Message-ID: <319E0313-B9E6-4D5A-A3D3-9A8906BDCC31@danshafer.com> He actually cornered the market on vowels and then re-defined it as a shortage. Gotta give him props. If you don't, he busts your head. Dan On Aug 8, 2005, at 11:14 PM, Chipp Walters wrote: > Sorry, can't sell to those in California w/out some ridiculous out- > of-state alphabet tax. Maybe an email to Arnold would help...course > I hear he's been trying to buy vowels for sometime now :-) > > > Mark Wieder wrote: > >> Chipp- >> Monday, August 8, 2005, 3:09:49 PM, you wrote: >> >>> DHTML, XML and CSS. >>> >> I don't know, Chipp - I've always had trouble pronouncing those. >> Can I buy a vowel? >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dburgun at dsl.pipex.com Tue Aug 9 04:34:34 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 9 Aug 2005 09:34:34 +0100 Subject: Barn Door Open Problem In-Reply-To: <319E0313-B9E6-4D5A-A3D3-9A8906BDCC31@danshafer.com> References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> <42F7D82D.9000702@chipp.com> <9648746613.20050808214847@ahsoftware.net> <42F849C4.6050803@chipp.com> <319E0313-B9E6-4D5A-A3D3-9A8906BDCC31@danshafer.com> Message-ID: Hi, That's got to be the weirdest subject line when you consider we are talking about a programming environment! I changed a script that was created by an older version of rev. It has a line in it: show image 1 with visual effect barn door open When I hit apply on the script I get a unquoted literal error, so I changed it to show image 1 with visual effect "barn door open" and now the image doesn't show! I have the preference set so that you have to declare local's within handlers, which is why I think it's complaining. What is the correct syntax for this? Thanks in Advance! All the Best Dave From tsj at unimelb.edu.au Tue Aug 9 06:16:52 2005 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 9 Aug 2005 20:16:52 +1000 Subject: problems with popups In-Reply-To: <20050808214600.D5815824EFB@mail.runrev.com> References: <20050808214600.D5815824EFB@mail.runrev.com> Message-ID: <40a2fcb1ca05a874d8fff435658a6d54@unimelb.edu.au> I wrote... > under Windows. I'm using a 'rectangle' type button to popup the 'popup' > type button (popup btn "historyMenu" at the bottomLeft of me) and the > following happens (auto hilite of 'rectangle' button is true) on > mouseDown > > 1. 'rectangle' button hilites > 2. popup menu displays, and continues to display while the mouse is > down but a mouseUp message is sent to the 'rectangle' button as soon as > the popup displays > > and on mouseUp... > > 3. the 'rectangle' button's hilite stays on or off depending on its > initial state when it was clicked > > I've been able to fix the hiliting problem by checking the state of the > mouse in a mouseUp handler and sending messages to it until it is up > and then setting the hilite correctly. However, to get the popup menu > to 'stick' open I have to put a "wait until the mouse is up with > messages" line in the mouseDown handler - before popping up the menu - > but then (of course) it doesn't appear while the mouse is down. This > stuff seems to behave correctly under OSX. > > Has anyone experienced these problems and if so can they suggest any > solutions/workarounds. Then Ken wrote... Yes, I encountered the same thing and bugged it in Bugzilla (#423). You need to add this in your handler: if the platform is "Win32" then wait until the mouse is up with messages end if --------------------------------------- Thanks Ken - I'd already found and tried your 'wait' workaround in Bugzilla, which gives me a 'sticky' menu but as I mentioned above doesn't actually popup the menu until you release the mouse button. Coming from the Mac side of things I'm more used to selecting items from a menu with the mouse down (even though Mac has supported 'sticky' menus for quite some time) but what's the deal on the Window's side of things? Are user more likely to expect the mouseDown style popup or the mouseUp style popup, given that they can only have one or the other (I actually managed to hack a workaround that used a timer and repopped the menu under a mouseUp handler but the resultant double menu flash was too ugly to live with). Cheers, Terry... From alen.ljubas at vk.t-com.hr Tue Aug 9 07:46:04 2005 From: alen.ljubas at vk.t-com.hr (Alen Ljubas) Date: Tue, 9 Aug 2005 13:46:04 +0200 Subject: use-revolution Digest, Vol 23, Issue 27 References: <20050808170005.E30D6824EC1@mail.runrev.com> Message-ID: <001501c59cd7$f0c23bd0$058e1dc3@alen0c04db1a8d> ----- Original Message ----- From: To: Sent: Monday, August 08, 2005 7:00 PM Subject: use-revolution Digest, Vol 23, Issue 27 > Send use-revolution mailing list submissions to > use-revolution at lists.runrev.com > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.runrev.com/mailman/listinfo/use-revolution > or, via email, send a message with subject or body 'help' to > use-revolution-request at lists.runrev.com > > You can reach the person managing the list at > use-revolution-owner at lists.runrev.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of use-revolution digest..." > > > you can find the archives for this list at: > > http://lists.runrev.com/pipermail/use-revolution/ > > and search them using this link: > > http://www.google.com/advanced_search?q=site:lists.runrev.com > > Today's Topics: > > 1. Re: Re: selection case (Muaadh salih) > 2. Alternate mouseDown Method (Thomas McGrath III) > 3. Re: selection case (John Ridge) > 4. Is there anyone in here using altBrowser??? (Ban Nguyen) > 5. Re: External Command Question (David Burgun) > 6. Re: selection case (Muaadh salih) > 7. Re: Is there anyone in here using altBrowser??? (Derek Bump) > 8. RE: Is there anyone in here using altBrowser??? (Ban Nguyen) > 9. command-period - On third thought... (Timothy Miller) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 8 Aug 2005 15:52:24 +0100 > From: Muaadh salih > Subject: Re: Re: selection case > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset="us-ascii" ; format="flowed" > > This sound silly question but how to get to raversalOn property in > the IDE, in the Inspector ? > > >>perhaps you need to set the C not in a script. >> >>At 8:20 PM +0000 8/7/05, Muaadh Salih wrote: >>> >>>Ken >>>I have just applied the following >>> >>> on mouseUp >>>set the traversalOn of field tp to true >>> do "select" && the clickChunk >>> put the selectedText into myWord >>> select empty >>> put myWord after field "btm" >>> put uniEncode(space,"UTF8") after fld "btm" >>> >>>End MouseUp >>> >>> >>>Again it gives back to front choice . i.e you click at the first >>>word to get the last one ...... >>> >>> >>>What runrev said is shows a structural problem for non-Roman script >>>fonts (languages)in Rev.! >>>The white flag is up ang high !! >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > > > > All the best > > > > Muaadh Salih > SOAS > Department of Near & Middle Eastern Studies > Tel . +44 (0)2078984354 > > > ------------------------------ > > Message: 2 > Date: Mon, 8 Aug 2005 10:54:14 -0400 > From: Thomas McGrath III <3mcgrath at adelphia.net> > Subject: Alternate mouseDown Method > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > > Dear List, > > Someone had hinted at using dragDrop as an way to see what control a > mouse was over during a mousedown, but I did not understand it then. > Well, I worked out this idea and it worked completely for what I was > needing. > I needed a real or simulated mouseUp, mouseLeave, and mouseEnter that > started from a mouseDown that DID NOT go to the control that started > the mouseDown but rather to the control the mouse was over. > > I have uploaded to my user area a stack that shows all of these states > in the way that I needed it to. > user: mcgrath3 > stack: Alternate MouseDown Method > > My code may not be optimized but the simulated states work great. Let > me know if I missed anything. > > Thank you, > > Tom > > > > ------------------------------ > > Message: 3 > Date: Mon, 8 Aug 2005 16:28:07 +0100 > From: John Ridge > Subject: Re: selection case > To: How to use Revolution > Message-ID: <2CED4150-B3F2-40BF-B506-434020453A72 at btinternet.com> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > > On 8 Aug 2005, at 15:52, Muaadh salih wrote: > > Try the Preferences menu item, General pane - select the second > button down, and the Inspector will now show the property name. Much > more useful when scripting! > >> This sound silly question but how to get to raversalOn property in >> the IDE, in the Inspector ? >> >> >> > > > Best wishes > John > ridge11103 at btinternet.com > > > > > > ------------------------------ > > Message: 4 > Date: Mon, 8 Aug 2005 09:16:36 -0700 > From: "Ban Nguyen" > Subject: Is there anyone in here using altBrowser??? > To: "How to use Revolution" > Message-ID: > > > Content-Type: text/plain; charset="us-ascii" > > Hello, > > How do you use altBrowser separate from the standalone app? How to set > it up? > > > Thank you > > > ------------------------------ > > Message: 5 > Date: Mon, 8 Aug 2005 17:24:08 +0100 > From: David Burgun > Subject: Re: External Command Question > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset="us-ascii" ; format="flowed" > > Thanks a lot! Knew it must be something like that! > > All the Best > Dave > > >>On Aug 8, 2005, at 3:01 AM, David Burgun wrote: >> >>>Hi, >>> >>>Just one quick question. Is it possible to have more than one >>>active "External" file in use by a stack at the same time? If so, >>>how do I set the "Externals" property to do this? >> >>Yes. Just separate each external using a return. >> >>set the externals of this stack to "myExternal1.dll"&cr& >>myExternal1.bundle" &cr& "myExternal2.dll" &cr& myExternal2.bundle" >> >> >> >>-- >>Trevor DeVore >>Blue Mango Multimedia >>trevor at mangomultimedia.com >> >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-revolution > > > > ------------------------------ > > Message: 6 > Date: Mon, 8 Aug 2005 17:32:43 +0100 > From: Muaadh salih > Subject: Re: selection case > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset="us-ascii" ; format="flowed" > > Hi John > many thanks but it does not work ?!( i.e. I does not emulate the real > selection ( as in Hypercard): When you click the the first Arabic or > Hebrew it select the last in the line ) > > >>On 8 Aug 2005, at 15:52, Muaadh salih wrote: >> >>Try the Preferences menu item, General pane - select the second >>button down, and the Inspector will now show the property name. Much >>more useful when scripting! >> >>>This sound silly question but how to get to raversalOn property in >>>the IDE, in the Inspector ? >>> >>> >> >> >>Best wishes >>John >>ridge11103 at btinternet.com >> >> >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > > > > All the best > > > > Muaadh Salih > SOAS > Department of Near & Middle Eastern Studies > Tel . +44 (0)2078984354 > > > ------------------------------ > > Message: 7 > Date: Mon, 08 Aug 2005 11:42:24 -0500 > From: Derek Bump > Subject: Re: Is there anyone in here using altBrowser??? > To: How to use Revolution > Message-ID: <42F78B70.1040402 at dreamscapesoftware.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Ban Nguyen wrote: >> How do you use altBrowser separate from the standalone app? How to set >> it up? > > I use altBrowser. altBrowser is an external, so you cannot use it > unless it is called from within a standalone. Now if you are asking > something else then I will need further clarification on what it is that > you're trying to do. > > Also, if you have any questions on how to setup altBrowser within your > stack, check the documentation that came with it when you purchased > altBrowser. > > > Derek Bump > Dreamscape Software > _______________________________________________ > Compress Photos for the Web with JPEGCompress > http://www.dreamscapesoftware.com/ > > > > ------------------------------ > > Message: 8 > Date: Mon, 8 Aug 2005 09:52:27 -0700 > From: "Ban Nguyen" > Subject: RE: Is there anyone in here using altBrowser??? > To: "How to use Revolution" > Message-ID: > > > Content-Type: text/plain; charset="us-ascii" > > > Ban Nguyen wrote: >> How do you use altBrowser separate from the standalone app? How to > set >> it up? > > ----------------------- > > I use altBrowser. altBrowser is an external, so you cannot use it > unless it is called from within a standalone. Now if you are asking > something else then I will need further clarification on what it is that > > you're trying to do. > > Also, if you have any questions on how to setup altBrowser within your > stack, check the documentation that came with it when you purchased > altBrowser. > > > Derek Bump > > > ---------------------- > > I have two buttons (on the standalone app) to go to 2 different > websites. I want to use ALTBrowser to display them. > > Is there anyway to display the website within the standalone? > ---------------------- > > > > > > ------------------------------ > > Message: 9 > Date: Mon, 8 Aug 2005 10:12:01 -0700 > From: Timothy Miller > Subject: command-period - On third thought... > To: use-revolution at lists.runrev.com > Message-ID: > Content-Type: text/plain; charset="us-ascii" ; format="flowed" > > Okay, a fresh download of Revzilla made Revzilla work. It doesn't > take long to get familiar with the interface, and now it is easy to > peruse bugzilla. > > The status of the command-period issue now seems unclear. One BZ item > suggests command-period should halt a script while debugging. > Apparently that's been resolved. > > The other relevant BZ item addresses a situation that sounds like a > loop that a command-period will not interrupt. It sounds like the > bug-reporter was talking about an endless and rapid succession of > answer dialogs. That's similar to my concern, but not identical. The > reply on BZ is ambiguous. Maybe it isn't technically possible, though > that isn't clear. The status of the concern is "assigned," way back > in an early version. > > My issue is much simpler. If an answer dialog is waiting on the > screen, command-period, would, in a perfect world, exit to top. As > far as I can tell, no keyboard entry will make that happen. > > I'm reluctant to submit this to BZ, because the list might have been > over and over it already. Or it might be obvious to insiders that it > isn't technically possible. > > Does anyone else wish for this relatively minor improvement? Is it > technically possible? > > > Cheers, > > > > Tim > > > ------------------------------ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > End of use-revolution Digest, Vol 23, Issue 27 > ********************************************** > From wmb at internettrainer.com Tue Aug 9 07:53:37 2005 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Tue, 9 Aug 2005 13:53:37 +0200 Subject: [Semi-OT] Interesting article In-Reply-To: <42F849C4.6050803@chipp.com> References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> <42F7D82D.9000702@chipp.com> <9648746613.20050808214847@ahsoftware.net> <42F849C4.6050803@chipp.com> Message-ID: <47FB85E8-7D50-4017-B075-A836FC8F67F9@internettrainer.com> On 09.08.2005, at 08:14, Chipp Walters wrote: > Sorry, can't sell to those in California w/out some ridiculous out- > of-state alphabet tax. Maybe an email to Arnold would help... pls don?t, even the smalles insult could force him going back to Austria... brrrrrrrrrr!! ==;o( regards Wolfgang M. Bereuter T-mapping? is PhotoLearning Mindmaps! ............................... http://www.internettrainer.com wmb at internettrainer.com ............................... Edelhofg. 17/11, A-1180 Wien, Austria Tel: ++43/1/ 479 6410 Fax: ++43/1/ 955 14 64-198 From mcdomi at free.fr Tue Aug 9 09:50:56 2005 From: mcdomi at free.fr (Dom) Date: Tue, 9 Aug 2005 15:50:56 +0200 Subject: Noob: Amazed yet confused - Dreamcard vs Revolution In-Reply-To: Message-ID: <1h11ag1.91fm161ofs9dsM%mcdomi@free.fr> Dan Shafer wrote: > DreamCard will, I suspect, play an increasing role in their revenue > model as they bring online ways for people like you to deploy stacks > to others who have the Player and pick up a little toll booth fee > along the way. Pardon me for jumping in the waggon ;-) I recently switched the launching app for my Diary stack from a unique-to-this-purpose app (a Rev 1.x standalone) to the Player... (I upagraded to DC 2.X) It runs nicely, excepted for this d***** "revOnline Viewer" which pops every time ;-> How to get rid of this one??? I remember I saw some writings about that here, but can't retrieve the info... -- Revolutionario (not so much) From alex at tweedly.net Tue Aug 9 10:01:40 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 09 Aug 2005 15:01:40 +0100 Subject: Noob: Amazed yet confused - Dreamcard vs Revolution In-Reply-To: <1h11ag1.91fm161ofs9dsM%mcdomi@free.fr> References: <1h11ag1.91fm161ofs9dsM%mcdomi@free.fr> Message-ID: <42F8B744.6090609@tweedly.net> Dom wrote: > >It runs nicely, excepted for this d***** "revOnline Viewer" which pops >every time ;-> > > In the IDE - menu Edit / Preferences / General - uncheck "Automatically launch RevOnline" In the Player - click on Rev logo (top-right) and check either "Never check for updates" or "Check updates once per session". -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 From dburgun at dsl.pipex.com Tue Aug 9 10:15:48 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 9 Aug 2005 15:15:48 +0100 Subject: Standalone App Question In-Reply-To: <47FB85E8-7D50-4017-B075-A836FC8F67F9@internettrainer.com> References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> <42F7D82D.9000702@chipp.com> <9648746613.20050808214847@ahsoftware.net> <42F849C4.6050803@chipp.com> <47FB85E8-7D50-4017-B075-A836FC8F67F9@internettrainer.com> Message-ID: Hi All, I have an external command that I have tested running under the RunRev IDE. I now want to build a standalone. I have setup the Standalone Structure as follows. I have Stack that is a basically just a Splash Screen. It just displays an image for a few seconds and then calls another stack which is in another folder called "Stacks" as so: Splash.rev Stacks/Stack1.rev Stacks/Stack2.rev Stacks/Stack3.rev In the Splash Stack, I have setup the Standalone options as follows: In the Copy Files Section: I have Stacks/Stack1.rev, Stacks/Stack2.rev and Stacks/Stack3.rev From this I have the following questions: 1. How do I setup the externals property in a Standalone App 2. I assume I have to do it in Splash.rev, is this correct or do I have to do in seperately in each on Stack1.rev, Stack2.rev and Stack3.rev Any help on this would be really appreciated. Thanks a lot Dave From pevensen at siboneylg.com Tue Aug 9 10:25:18 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 09 Aug 2005 09:25:18 -0500 Subject: Noob: Amazed yet confused - Dreamcard vs Revolution In-Reply-To: <42F8B744.6090609@tweedly.net> References: <1h11ag1.91fm161ofs9dsM%mcdomi@free.fr> <42F8B744.6090609@tweedly.net> Message-ID: <6.2.1.2.2.20050809092256.29241fa8@exchange.slg.com> It was my understanding that the online viewer launches in the Player every time, because there is NO OTHER WAY to open a stack! Again I say this is bad UI design. Unless you know to hit the folder icon, you don't know how to open your stack file. Most Players I've seen, if they don't receive a doc to open at start up, open up a standard Open File dialog asking "What file would you like to run?" BTW, I just tried it, and turning off the check for updates does not get rid of the online viewer. At 09:01 AM 8/9/2005, you wrote: >Dom wrote: > >> >>It runs nicely, excepted for this d***** "revOnline Viewer" which pops >>every time ;-> >> >In the IDE - menu Edit / Preferences / General - uncheck "Automatically >launch RevOnline" > >In the Player - click on Rev logo (top-right) and check either "Never >check for updates" or "Check updates once per session". > >-- >Alex Tweedly http://www.tweedly.net > > > >-- >No virus found in this outgoing message. >Checked by AVG Anti-Virus. >Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From charles.hartman at conncoll.edu Tue Aug 9 10:31:27 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 9 Aug 2005 10:31:27 -0400 Subject: Noob: Amazed yet confused - Dreamcard vs Revolution In-Reply-To: <6.2.1.2.2.20050809092256.29241fa8@exchange.slg.com> References: <1h11ag1.91fm161ofs9dsM%mcdomi@free.fr> <42F8B744.6090609@tweedly.net> <6.2.1.2.2.20050809092256.29241fa8@exchange.slg.com> Message-ID: <3C139FEC-6404-4B6F-8A50-1808D24B5AD2@conncoll.edu> Hear, hear! If you want to BZ this, I'll certainly vote for it. Charles Hartman On Aug 9, 2005, at 10:25 AM, Peter T. Evensen wrote: > It was my understanding that the online viewer launches in the > Player every time, because there is NO OTHER WAY to open a stack! > Again I say this is bad UI design. Unless you know to hit the > folder icon, you don't know how to open your stack file. > > Most Players I've seen, if they don't receive a doc to open at > start up, open up a standard Open File dialog asking "What file > would you like to run?" > From charles.hartman at conncoll.edu Tue Aug 9 10:45:41 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 9 Aug 2005 10:45:41 -0400 Subject: Noob: Amazed yet confused - Dreamcard vs Revolution In-Reply-To: <6.2.1.2.2.20050809092256.29241fa8@exchange.slg.com> References: <1h11ag1.91fm161ofs9dsM%mcdomi@free.fr> <42F8B744.6090609@tweedly.net> <6.2.1.2.2.20050809092256.29241fa8@exchange.slg.com> Message-ID: By the way, this does NOT happen if you open the player by double- clicking the stack. (This assumes that, under OSX for instance, the stack's "Open With" is set to the Player rather than to Dreamcard.) So that's as it should be. But the user ought to be able to do it the other way (start the player, open the stack) without elaborate instructions. Charles Hartman On Aug 9, 2005, at 10:25 AM, Peter T. Evensen wrote: > It was my understanding that the online viewer launches in the > Player every time, because there is NO OTHER WAY to open a stack! > Again I say this is bad UI design. Unless you know to hit the > folder icon, you don't know how to open your stack file. > From Roger.E.Eller at sealedair.com Tue Aug 9 10:48:18 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Tue, 9 Aug 2005 10:48:18 -0400 Subject: Noob: Amazed yet confused - Dreamcard vs Revolution Message-ID: > It was my understanding that the online viewer launches in the Player every > time, because there is NO OTHER WAY to open a stack! Again I say this is > bad UI design. Unless you know to hit the folder icon, you don't know how > to open your stack file. You can also just drag a .rev stack onto the player icon on the desktop. It still opens RevOnline though. Roger Eller Dear all, I noticed a few issues with my stack (I had the very stupid idea to do a cosmetic change and then recompile and upload a new version of the files) and I posted a revised version of my stack, now called "Trim Outliers" For the rev file (look for trim outliers): For the standalone (mac, windows, unix): A demo data file has been added to let you test the application. Explanation on how to use it are in the documentation page above. I have done my best to track all possible problems but I only have a mac available here. If you happen to try the application and notice anything strange, please let me know. On PhP, I prefer PhP for the web, mostly because I find everything I need available for free. Also because it is easier to generate web content on the fly. Simple things like "and here come some text with $aVariable" or 'here is some "quoted text"'. I find the need to write strings like "here is some" && quote && "quoted text" && quote causing management problems. That's true that it would be very easy to write a function webify("and here come some text with $aVariable") but "here is some" & quoted("quoted text") doesn't really do it. That flexibility in the use of ' and " is a great php feature. Also, you can do on the fly image manipulation with php (GD library). Marielle ------------------------------------------------------------------------ --------------------------------- Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From alex at tweedly.net Tue Aug 9 11:05:57 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 09 Aug 2005 16:05:57 +0100 Subject: Noob: Amazed yet confused - Dreamcard vs Revolution In-Reply-To: <6.2.1.2.2.20050809092256.29241fa8@exchange.slg.com> References: <1h11ag1.91fm161ofs9dsM%mcdomi@free.fr> <42F8B744.6090609@tweedly.net> <6.2.1.2.2.20050809092256.29241fa8@exchange.slg.com> Message-ID: <42F8C655.4030900@tweedly.net> Peter T. Evensen wrote: > It was my understanding that the online viewer launches in the Player > every time, because there is NO OTHER WAY to open a stack! Again I > say this is bad UI design. Unless you know to hit the folder icon, > you don't know how to open your stack file. > There are other ways (drag/drop, double-click), but I agree about the UI - I think I got the first three Bugzilla entries about the Player :-) > Most Players I've seen, if they don't receive a doc to open at start > up, open up a standard Open File dialog asking "What file would you > like to run?" > Yeah - I guess RunRev were thinking that most usage would be of stacks on RevOnline (and local stacks would be more often run by dragging or double-clicking), so didn't feel that was a good default behaviour. But that's only my guess. > BTW, I just tried it, and turning off the check for updates does not > get rid of the online viewer. > Sorry - I was mis-remembering. Turning off the check for updates does eliminate the problems caused by having a network connection but no internet connection (e.g. on a LAN behind a router which is disconnected), and that was misleading me into thinking it stopped the RevOnline check as well. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 From pevensen at siboneylg.com Tue Aug 9 11:36:27 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 09 Aug 2005 10:36:27 -0500 Subject: Noob: Amazed yet confused - Dreamcard vs Revolution In-Reply-To: <3C139FEC-6404-4B6F-8A50-1808D24B5AD2@conncoll.edu> References: <1h11ag1.91fm161ofs9dsM%mcdomi@free.fr> <42F8B744.6090609@tweedly.net> <6.2.1.2.2.20050809092256.29241fa8@exchange.slg.com> <3C139FEC-6404-4B6F-8A50-1808D24B5AD2@conncoll.edu> Message-ID: <6.2.1.2.2.20050809103454.29c08f50@exchange.slg.com> BZ 2379 is close to this. It deals with turning off the RevOnline. For my money, what it should do is present a dialog with two buttons (perhaps nice large pictures, like RevOnline): "Open a Stack from Online" and "Open a Stack on Your Computer" The first would bring up the RevOnline viewer, the second, a standard open file dialog. At 09:31 AM 8/9/2005, you wrote: >Hear, hear! > >If you want to BZ this, I'll certainly vote for it. > > >Charles Hartman > > >On Aug 9, 2005, at 10:25 AM, Peter T. Evensen wrote: > >>It was my understanding that the online viewer launches in the >>Player every time, because there is NO OTHER WAY to open a stack! >>Again I say this is bad UI design. Unless you know to hit the >>folder icon, you don't know how to open your stack file. >> >>Most Players I've seen, if they don't receive a doc to open at >>start up, open up a standard Open File dialog asking "What file >>would you like to run?" > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From jacque at hyperactivesw.com Tue Aug 9 11:44:23 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 09 Aug 2005 10:44:23 -0500 Subject: Noob: Amazed yet confused - Dreamcard vs Revolution In-Reply-To: <42F8B744.6090609@tweedly.net> References: <1h11ag1.91fm161ofs9dsM%mcdomi@free.fr> <42F8B744.6090609@tweedly.net> Message-ID: <42F8CF57.2000405@hyperactivesw.com> Dom wrote: > >> > It runs nicely, excepted for this d***** "revOnline Viewer" which pops > every time ;-> On Macs, the Online Viewer will display if you leave the Player in the same folder as the IDE. If you move the Player outside that folder, Rev Online will not open. I thought it was the same for Windows too, but some people say it does not work. If anyone wants to do a quick test, I'd like to know. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From 3mcgrath at adelphia.net Tue Aug 9 12:03:02 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 9 Aug 2005 12:03:02 -0400 Subject: Has anyone used VEX Robtics with Revolution? Message-ID: Has anyone used the VEX Robotics with Revolution? It currently uses a PICs processor with a C compiler and EasyC. It is a serial device so I'm sure a Keyspan High Speed Serial Adapter will work for USB interface. There was talk earlier about USB control from within Rev and this might be a great project for that. I love the idea of robotics but really do feel a more 'simple' approach in programming is what is needed to free up the creative aspects of exploring them and in that regard a solution in Revolution would fit the bill, do the trick. Anyone else feel this way? They are located at: http://www.vexrobotics.com No affiliation with me at all. Tom Thomas J McGrath III 3mcgrath at adelphia.net Lazy River Software? -under construction http://homepage.mac.com/mcgrath3/lazyriver.html From jhurley at infostations.com Tue Aug 9 12:14:43 2005 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 9 Aug 2005 09:14:43 -0700 Subject: ANN: Dragging along a fixed path In-Reply-To: <20050809134930.EB769824FC7@mail.runrev.com> References: <20050809134930.EB769824FC7@mail.runrev.com> Message-ID: The stack below allows one to drag a control along a constrained path, e.g. a graphic or image along a closed polygon path--see cards 2 and 3. (The polygon may not have any obtuse angles--angles greater than 180 degrees.) (Of course one can easily program the control to move along a graphic: "Move button "My Button" to the points of graphic "My Curve".) In the message box: go stack url "http://home.infostations.net/jhurley/LineCircleIntersection.rev" Jim From rjearp at hotmail.com Tue Aug 9 12:16:32 2005 From: rjearp at hotmail.com (Bob Earp) Date: Tue, 09 Aug 2005 09:16:32 -0700 Subject: ActiveX control for Rev in PowerPoint ? Message-ID: Does anybody know of an ActiveX control that will enable a stand-alone stack to be run in PowerPoint as an embedded object, just like you can with Flash ? Tnx, Bob... Bob Earp - White Rock, BC _________________________________________________________________ Take charge with a pop-up guard built on patented Microsoft? SmartScreen Technology http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN? Premium right now and get the first two months FREE*. From mcdomi at free.fr Tue Aug 9 12:19:17 2005 From: mcdomi at free.fr (Dom) Date: Tue, 9 Aug 2005 18:19:17 +0200 Subject: Noob: Amazed yet confused - Dreamcard vs Revolution In-Reply-To: <42F8CF57.2000405@hyperactivesw.com> Message-ID: <1h11hc4.1qc9ho51kmih1nM%mcdomi@free.fr> J. Landman Gay wrote: > On Macs, the Online Viewer will display if you leave the Player in the > same folder as the IDE. If you move the Player outside that folder, Rev > Online will not open. Thanks, that does the trick! :-) But -- if the changes in my stack are correctly saved, I can no more *delete* a card (I can create one, though) ! I had to "re-register" my stack to be opened with the Player, to be noted. Also: the Player refuses to launch alone, when double-clicked itself -- it must be launched via a stack, it seems... (hence the famous revonline viewer?) -- Revolutionario From mcdomi at free.fr Tue Aug 9 12:19:16 2005 From: mcdomi at free.fr (Dom) Date: Tue, 9 Aug 2005 18:19:16 +0200 Subject: Noob: Amazed yet confused - Dreamcard vs Revolution In-Reply-To: Message-ID: <1h11e3z.1ogxfi4ril9i4M%mcdomi@free.fr> Charles Hartman wrote: > By the way, this does NOT happen if you open the player by double- > clicking the stack. (This assumes that, under OSX for instance, the > stack's "Open With" is set to the Player rather than to Dreamcard.) But -- this is exactly what I am doing!!! I am clicking on my stack's icon in then dock. this launches the Player (if not already opened)* And I get the dreadful viewer every time! Also, I set my Diary's "open" with the Player. * if the development environment is already running, it will open the stack (not the Player). I am satisfied with this behaviour ;-) -- Revolutionario (but puzzled) From revdan at danshafer.com Tue Aug 9 12:41:09 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 9 Aug 2005 09:41:09 -0700 Subject: Barn Door Open Problem In-Reply-To: References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> <42F7D82D.9000702@chipp.com> <9648746613.20050808214847@ahsoftware.net> <42F849C4.6050803@chipp.com> <319E0313-B9E6-4D5A-A3D3-9A8906BDCC31@danshafer.com> Message-ID: <6397D647-A096-4A6C-9B8E-38D42706E1B1@danshafer.com> Dave... Just a SWAG but I suspect the complaint about the unquoted literal applies to the name of the image, not the visual effect. Since you have preferences set to declare locals within handlers, there's probably no declaration for an image called "1". On Aug 9, 2005, at 1:34 AM, David Burgun wrote: > Hi, > > That's got to be the weirdest subject line when you consider we are > talking about a programming environment! > > I changed a script that was created by an older version of rev. It > has a line in it: > > > show image 1 with visual effect barn door open > > When I hit apply on the script I get a unquoted literal error, so I > changed it to > > show image 1 with visual effect "barn door open" > > and now the image doesn't show! > > I have the preference set so that you have to declare local's > within handlers, which is why I think it's complaining. What is the > correct syntax for this? > > Thanks in Advance! > All the Best > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From dburgun at dsl.pipex.com Tue Aug 9 13:10:29 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 9 Aug 2005 18:10:29 +0100 Subject: Barn Door Open Problem In-Reply-To: <6397D647-A096-4A6C-9B8E-38D42706E1B1@danshafer.com> References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> <42F7D82D.9000702@chipp.com> <9648746613.20050808214847@ahsoftware.net> <42F849C4.6050803@chipp.com> <319E0313-B9E6-4D5A-A3D3-9A8906BDCC31@danshafer.com> <6397D647-A096-4A6C-9B8E-38D42706E1B1@danshafer.com> Message-ID: Hi, No, the image is definitely there, since other parts of the code reference it just fine, also this was working before and only broke when change something completely unrelated. Also if I do the exact same from the Message Box it works fine. Thanks anyway Dave >Dave... > >Just a SWAG but I suspect the complaint about the unquoted literal >applies to the name of the image, not the visual effect. > >Since you have preferences set to declare locals within handlers, >there's probably no declaration for an image called "1". > > >On Aug 9, 2005, at 1:34 AM, David Burgun wrote: > >>Hi, >> >>That's got to be the weirdest subject line when you consider we are >>talking about a programming environment! >> >>I changed a script that was created by an older version of rev. It >>has a line in it: >> >> >>show image 1 with visual effect barn door open >> >>When I hit apply on the script I get a unquoted literal error, so I >>changed it to >> >>show image 1 with visual effect "barn door open" >> >>and now the image doesn't show! >> >>I have the preference set so that you have to declare local's >>within handlers, which is why I think it's complaining. What is the >>correct syntax for this? >> >>Thanks in Advance! >>All the Best >>Dave >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Dan Shafer, Revolution Consultant and Author >http://www.shafermedia.com >Get my book, "Revolution: Software at the Speed of Thought" >From http://www.revolutionpros.com, Click "My Stuff" > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Tue Aug 9 13:36:40 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 9 Aug 2005 10:36:40 -0700 Subject: Standalone App Question In-Reply-To: References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> <42F7D82D.9000702@chipp.com> <9648746613.20050808214847@ahsoftware.net> <42F849C4.6050803@chipp.com> <47FB85E8-7D50-4017-B075-A836FC8F67F9@internettrainer.com> Message-ID: <9452C28C-83A5-4390-A6CC-C202B7C26F43@mangomultimedia.com> On Aug 9, 2005, at 7:15 AM, David Burgun wrote: > Splash.rev > Stacks/Stack1.rev > Stacks/Stack2.rev > Stacks/Stack3.rev > > In the Splash Stack, I have setup the Standalone options as follows: > In the Copy Files Section: I have Stacks/Stack1.rev, Stacks/ > Stack2.rev and Stacks/Stack3.rev > > From this I have the following questions: > > 1. How do I setup the externals property in a Standalone App > > 2. I assume I have to do it in Splash.rev, is this correct or do I > have to do in seperately in each on Stack1.rev, Stack2.rev and > Stack3.rev > > Any help on this would be really appreciated. You can do this a number of different ways. One way is to set the externals property of the "Splash.rev" stack. When you build it as a standalone it will load the external when the app launches. The trick is to use the "Splash.rev" as a library so that the external handlers are available to all stacks running in the standalone. So in stack "Stack1.rev" you might do the following: start using stack "Splash.rev" Now you can call any of handlers that are available (externalFunctions of stack "Splash.rev" and externalCommands of stack "Splash.rev") in any stack. That being said, I prefer a different method when dealing with externals. When using externals I like to be able to load/unload the external whenever I want. This is necessary if you want the ability to update an external while your application is running. Now, in order to unload an external it must be attached to a stack that 1) has the destroyWindow property set to true and 2) is open, not just in memory. With that in mind, whenever an application launches it can create a stack at runtime (never actually exists on disk) that has the properties we need. For example: on loadAppExternals local tExternals ---------- --> EXTERNALS ---------- put "myExternal.bundle" &cr& "myExternal.dll" into tExternals ---------- --> CREATE EXTERNALS STACK IN MEMORY ---------- if tExternals <> empty then if there is not a stack "myExternals" then reset templateStack set destroyWindow of templateStack to true set destroyStack of templateStack to true set visible of templateStack to false set externals of templateStack to tExternals create stack "myExternals" reset templateStack end if go stack "myExternals" start using stack "myExternals" end if end loadAppExternals Now you can call loadAppExternals whenever you need to load externals for your application. If you need to unload the externals just close the stack: close stack "myExternals" The externals will be unloaded from memory and you can update the external files on disk. If you ever need to check if an external loaded correctly or is available you can check the externalPackages property of the "myExternals" stack. Every external has a string identifier that the person who made the external assigns to it. This shows up in the externalPackages property of the stack only when the external has successfully loaded. So if you have an external that is identified with the string "MySuperExternal" you could have some code like this: on checkAppExternals local tRequiredExternals,tExternal if there is not a stack "myExternals" then answer "You didn't bother loading the externals stack. Try again." return empty end if put "MySuperExternal" into tRequiredExternals repeat for each line tExternal in tRequiredExternals if tExternal is not among lines of externalPackages of stack "myExternals" then answer "Oh where, oh where has my external gone?" return empty end if end repeat end checkAppExternals This method of working with externals has proven to work really well for me. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From revdan at danshafer.com Tue Aug 9 13:51:57 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 9 Aug 2005 10:51:57 -0700 Subject: Barn Door Open Problem In-Reply-To: References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> <42F7D82D.9000702@chipp.com> <9648746613.20050808214847@ahsoftware.net> <42F849C4.6050803@chipp.com> <319E0313-B9E6-4D5A-A3D3-9A8906BDCC31@danshafer.com> <6397D647-A096-4A6C-9B8E-38D42706E1B1@danshafer.com> Message-ID: I didn't make myself clear. The image is undoubtedly still there. But if, inside your script, you have explicit declaration of variables required, then my question -- and I don't have the answer at hand -- is whether if you named the image, say "pic1" and then did: show image "pic1" with visual effect "barn door dissolve" it would work. From the Message Box, you'd expect the behavior to be different since the explicitVariables declaration wouldn't be effective there. It's just a thought. May be completely off target. I never use explicitVariables. On Aug 9, 2005, at 10:10 AM, David Burgun wrote: > Hi, > > No, the image is definitely there, since other parts of the code > reference it just fine, also this was working before and only broke > when change something completely unrelated. Also if I do the exact > same from the Message Box it works fine. > > Thanks anyway > Dave > > > >> Dave... >> >> Just a SWAG but I suspect the complaint about the unquoted literal >> applies to the name of the image, not the visual effect. >> >> Since you have preferences set to declare locals within handlers, >> there's probably no declaration for an image called "1". >> >> >> On Aug 9, 2005, at 1:34 AM, David Burgun wrote: >> >> >>> Hi, >>> >>> That's got to be the weirdest subject line when you consider we >>> are talking about a programming environment! >>> >>> I changed a script that was created by an older version of rev. >>> It has a line in it: >>> >>> >>> show image 1 with visual effect barn door open >>> >>> When I hit apply on the script I get a unquoted literal error, so >>> I changed it to >>> >>> show image 1 with visual effect "barn door open" >>> >>> and now the image doesn't show! >>> >>> I have the preference set so that you have to declare local's >>> within handlers, which is why I think it's complaining. What is >>> the correct syntax for this? >>> >>> Thanks in Advance! >>> All the Best >>> Dave >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Dan Shafer, Revolution Consultant and Author >> http://www.shafermedia.com >> Get my book, "Revolution: Software at the Speed of Thought" >> From http://www.revolutionpros.com, Click "My Stuff" >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From kray at sonsothunder.com Tue Aug 9 13:52:07 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 09 Aug 2005 12:52:07 -0500 Subject: Standalone App Question In-Reply-To: Message-ID: On 8/9/05 9:15 AM, "David Burgun" wrote: > 1. How do I setup the externals property in a Standalone App > > 2. I assume I have to do it in Splash.rev, is this correct or do I > have to do in seperately in each on Stack1.rev, Stack2.rev and > Stack3.rev OK. Here's the situation - as I understand it (Trevor, chime in if I'm offbase here), externals are only available to the stack that they are attached to, and their substacks. Basically, it follows the message passing hierarchy, so if you have two stacks in a folder ("Stack 1" and "Stack 2"), and you attach the externals to Stack 1, when you open Stack 2, it *cannot* use the externals unless it *also* has the externals attached to it. However, there is an approach that gets around all of this (suggested to me by Trevor and it works great): make a stack (I call it "externals"), and attach all of your external to it. Then, when your first stack loads, load up the "Externals" stack as a library with "start using". This will not only allow you to easily activate the externals, but it will also make the functions in the externals available to all currently open stacks. Now this "Externals" stack can either be a separate stack file on disk, or it can be a substack. Either way, when it is put into use with "start using", it will be available to all currently open stacks. So suppose you had a folder with Stack1.rev, Stack.rev and Stack3.rev. Stack1.rev has a substack called "Externals" which you had opened in the RevIDE and "set the externals of this stack to " and then saved it and quit. In Stack1.rev you have: start using "Externals" >From this point on, the externals are available to all the currently open stacks. Hope this helps, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From lists at mangomultimedia.com Tue Aug 9 14:01:28 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 9 Aug 2005 11:01:28 -0700 Subject: Standalone App Question In-Reply-To: References: Message-ID: <8F4E8140-CD75-41EE-81C0-60BFF5EE3F48@mangomultimedia.com> On Aug 9, 2005, at 10:52 AM, Ken Ray wrote: > However, there is an approach that gets around all of this > (suggested to me > by Trevor and it works great): make a stack (I call it > "externals"), and > attach all of your external to it. Then, when your first stack > loads, load > up the "Externals" stack as a library with "start using". This will > not only > allow you to easily activate the externals, but it will also make the > functions in the externals available to all currently open stacks. > Now this > "Externals" stack can either be a separate stack file on disk, or > it can be > a substack. Either way, when it is put into use with "start using", > it will > be available to all currently open stacks. On thing to note here Ken, is that if you assign the externals to a substack then removing the externals from memory isn't as straightforward as just closing the substack. Assigning the externals to a stack that does nothing else but load/ unload externals is the easiest, most reliable method I could come up with. Of course, if you don't have to worry about unloading your externals then this isn't an issue. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dburgun at dsl.pipex.com Tue Aug 9 14:02:11 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 9 Aug 2005 19:02:11 +0100 Subject: Barn Door Open Problem In-Reply-To: References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> <42F7D82D.9000702@chipp.com> <9648746613.20050808214847@ahsoftware.net> <42F849C4.6050803@chipp.com> <319E0313-B9E6-4D5A-A3D3-9A8906BDCC31@danshafer.com> <6397D647-A096-4A6C-9B8E-38D42706E1B1@danshafer.com> Message-ID: Ok, I see, well if I just do: show image 1 hide image 1 set the fileName of image 1 to "myfile.jpg" Or anything that doesn't use "visual effects" it works fine. In fact if I use one-word effects like dissolve it works too. Just tried doing this: show image "ImageSplash" with "barn door open" and it still doesn't work! Although show image "ImageSplash" does! A mystery! Bye for now Dave >I didn't make myself clear. > >The image is undoubtedly still there. But if, inside your script, >you have explicit declaration of variables required, then my >question -- and I don't have the answer at hand -- is whether if you >named the image, say "pic1" and then did: > >show image "pic1" with visual effect "barn door dissolve" > >it would work. > >From the Message Box, you'd expect the behavior to be different >since the explicitVariables declaration wouldn't be effective there. > >It's just a thought. May be completely off target. I never use >explicitVariables. > > >On Aug 9, 2005, at 10:10 AM, David Burgun wrote: > >>Hi, >> >>No, the image is definitely there, since other parts of the code >>reference it just fine, also this was working before and only broke >>when change something completely unrelated. Also if I do the exact >>same from the Message Box it works fine. >> >>Thanks anyway >>Dave >> >> >>>Dave... >>> >>>Just a SWAG but I suspect the complaint about the unquoted literal >>>applies to the name of the image, not the visual effect. >>> >>>Since you have preferences set to declare locals within handlers, >>>there's probably no declaration for an image called "1". >>> >>> >>>On Aug 9, 2005, at 1:34 AM, David Burgun wrote: >>> >>>>Hi, >>>> >>>>That's got to be the weirdest subject line when you consider we >>>>are talking about a programming environment! >>>> >>>>I changed a script that was created by an older version of rev. >>>>It has a line in it: >>>> >>>> >>>>show image 1 with visual effect barn door open >>>> >>>>When I hit apply on the script I get a unquoted literal error, so >>>>I changed it to >>>> >>>>show image 1 with visual effect "barn door open" >>>> >>>>and now the image doesn't show! >>>> >>>>I have the preference set so that you have to declare local's >>>>within handlers, which is why I think it's complaining. What is >>>>the correct syntax for this? >>>> >>>>Thanks in Advance! >>>>All the Best >>>>Dave >>>>_______________________________________________ >>>>use-revolution mailing list >>>>use-revolution at lists.runrev.com >>>>Please visit this url to subscribe, unsubscribe and manage your >>>>subscription preferences: >>>>http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>> >>> >>> >>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>Dan Shafer, Revolution Consultant and Author >>>http://www.shafermedia.com >>>Get my book, "Revolution: Software at the Speed of Thought" >>>From http://www.revolutionpros.com, Click "My Stuff" >>> >>> >>> >>>_______________________________________________ >>>use-revolution mailing list >>>use-revolution at lists.runrev.com >>>Please visit this url to subscribe, unsubscribe and manage your >>>subscription preferences: >>>http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Dan Shafer, Revolution Consultant and Author >http://www.shafermedia.com >Get my book, "Revolution: Software at the Speed of Thought" >From http://www.revolutionpros.com, Click "My Stuff" > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From revdan at danshafer.com Tue Aug 9 14:07:10 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 9 Aug 2005 11:07:10 -0700 Subject: Noob: Amazed yet confused - Dreamcard vs Revolution In-Reply-To: <1h11e3z.1ogxfi4ril9i4M%mcdomi@free.fr> References: <1h11e3z.1ogxfi4ril9i4M%mcdomi@free.fr> Message-ID: <803DD501-3D9A-4761-AA8D-A7D0315A906D@danshafer.com> Maybe the DC Player is just not well understood or described. There's precious little in the docs about it. I found, e.g., that if I copy the Player and put it into a folder outside the Rev app folder and put a Rev stack in the same folder, the following behavior is true: 1. Double-clicking on the Player produces no result at all. The Player appears to start and stop in an instant. 2. Double-clicking the stack in the Player's folder launches the IDE even when the IDE isn't running. 3. Dragging and dropping the stack onto the Player launches the stack in the Player as expected. #1 makes no sense to me unless the Player needs some supporting file (s) to be copied with it. I don't think so, though, because double- clicking it in place in the Rev folder has a similar but more disconcerting outcome: a splash screen appears with the word "preparing" in the lower right and just stays there forever until I quit the Player. #2 probably makes sense because of the file association mechanism. #3 makes perfect sense. But I'm not seeing the Player launch and open RevOnline as others are complaining. On Aug 9, 2005, at 9:19 AM, Dom wrote: > Charles Hartman wrote: > > >> By the way, this does NOT happen if you open the player by double- >> clicking the stack. (This assumes that, under OSX for instance, the >> stack's "Open With" is set to the Player rather than to Dreamcard.) >> > > But -- this is exactly what I am doing!!! > I am clicking on my stack's icon in then dock. > this launches the Player (if not already opened)* > And I get the dreadful viewer every time! > > Also, I set my Diary's "open" with the Player. > > * if the development environment is already running, it will open the > stack (not the Player). I am satisfied with this behaviour ;-) > > -- > Revolutionario (but puzzled) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Tue Aug 9 14:23:42 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 09 Aug 2005 11:23:42 -0700 Subject: Barn Door Open Problem In-Reply-To: Message-ID: Recently, David Burgun wrote: > show image 1 > hide image 1 > set the fileName of image 1 to "myfile.jpg" > > Or anything that doesn't use "visual effects" it works fine. In fact > if I use one-word effects like dissolve it works too. > > Just tried doing this: > > show image "ImageSplash" with "barn door open" and it still doesn't work! > > Although > > show image "ImageSplash" does! > > A mystery! You must be missing the "visual" reference. The following test works here: on mouseUp if the vis of img 1 then hide img 1 with visual "barn door close" else show img 1 with visual "barn door open" end mouseUp Note that the barn door effect is a completely separate effect from dissolve. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From revdan at danshafer.com Tue Aug 9 14:24:45 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 9 Aug 2005 11:24:45 -0700 Subject: Barn Door Open Problem In-Reply-To: References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> <42F7D82D.9000702@chipp.com> <9648746613.20050808214847@ahsoftware.net> <42F849C4.6050803@chipp.com> <319E0313-B9E6-4D5A-A3D3-9A8906BDCC31@danshafer.com> <6397D647-A096-4A6C-9B8E-38D42706E1B1@danshafer.com> Message-ID: OK, so my SWAG was wrong. Sorry. So I did some testing. Rev 2.6.1 on OS X 10.4.2. Script: on mouseUp set the explicitVariables to true hide image 1 show image 1 with visual barn door open set the explicitVariables to false end mouseUp Everything works exactly as I expect. I tried removing the word "visual". Still works. I tried quoting the effect. Still works. I even tried using the same syntax as the line you said didn't work. Works fine. So there's evidently something else going on in your stack or there's a platform-specific issue here. Dan On Aug 9, 2005, at 11:02 AM, David Burgun wrote: > Ok, I see, well if I just do: > > show image 1 > hide image 1 > set the fileName of image 1 to "myfile.jpg" > > Or anything that doesn't use "visual effects" it works fine. In > fact if I use one-word effects like dissolve it works too. > > Just tried doing this: > > show image "ImageSplash" with "barn door open" and it still doesn't > work! > > Although > > show image "ImageSplash" does! > > A mystery! > > Bye for now > Dave > > > >> I didn't make myself clear. >> >> The image is undoubtedly still there. But if, inside your script, >> you have explicit declaration of variables required, then my >> question -- and I don't have the answer at hand -- is whether if >> you named the image, say "pic1" and then did: >> >> show image "pic1" with visual effect "barn door dissolve" >> >> it would work. >> >> From the Message Box, you'd expect the behavior to be different >> since the explicitVariables declaration wouldn't be effective there. >> >> It's just a thought. May be completely off target. I never use >> explicitVariables. >> >> >> On Aug 9, 2005, at 10:10 AM, David Burgun wrote: >> >> >>> Hi, >>> >>> No, the image is definitely there, since other parts of the code >>> reference it just fine, also this was working before and only >>> broke when change something completely unrelated. Also if I do >>> the exact same from the Message Box it works fine. >>> >>> Thanks anyway >>> Dave >>> >>> >>> >>>> Dave... >>>> >>>> Just a SWAG but I suspect the complaint about the unquoted >>>> literal applies to the name of the image, not the visual effect. >>>> >>>> Since you have preferences set to declare locals within >>>> handlers, there's probably no declaration for an image called "1". >>>> >>>> >>>> On Aug 9, 2005, at 1:34 AM, David Burgun wrote: >>>> >>>> >>>>> Hi, >>>>> >>>>> That's got to be the weirdest subject line when you consider we >>>>> are talking about a programming environment! >>>>> >>>>> I changed a script that was created by an older version of rev. >>>>> It has a line in it: >>>>> >>>>> >>>>> show image 1 with visual effect barn door open >>>>> >>>>> When I hit apply on the script I get a unquoted literal error, >>>>> so I changed it to >>>>> >>>>> show image 1 with visual effect "barn door open" >>>>> >>>>> and now the image doesn't show! >>>>> >>>>> I have the preference set so that you have to declare local's >>>>> within handlers, which is why I think it's complaining. What is >>>>> the correct syntax for this? >>>>> >>>>> Thanks in Advance! >>>>> All the Best >>>>> Dave >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>> >>>>> >>>> >>>> >>>> >>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>> Dan Shafer, Revolution Consultant and Author >>>> http://www.shafermedia.com >>>> Get my book, "Revolution: Software at the Speed of Thought" >>>> From http://www.revolutionpros.com, Click "My Stuff" >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Dan Shafer, Revolution Consultant and Author >> http://www.shafermedia.com >> Get my book, "Revolution: Software at the Speed of Thought" >> From http://www.revolutionpros.com, Click "My Stuff" >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sims at ezpzapps.com Tue Aug 9 14:40:44 2005 From: sims at ezpzapps.com (sims) Date: Tue, 9 Aug 2005 20:40:44 +0200 Subject: Barn Door Open Problem In-Reply-To: References: Message-ID: >Recently, David Burgun wrote: > >> show image 1 >> hide image 1 >> set the fileName of image 1 to "myfile.jpg" >> >> Or anything that doesn't use "visual effects" it works fine. In fact >> if I use one-word effects like dissolve it works too. >> >> Just tried doing this: >> >> show image "ImageSplash" with "barn door open" and it still doesn't work! >> >> Although >> >> show image "ImageSplash" does! >> >> A mystery! Is this on a Mac? Is it on a PC with QuickTime installed? ciao, sims From gandalf at doctorTimothyMiller.com Tue Aug 9 14:56:00 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Tue, 9 Aug 2005 11:56:00 -0700 Subject: two more noob questions re "find" command In-Reply-To: References: Message-ID: Hi Ken, >On 8/8/05 7:14 PM, "Timothy Miller" wrote: > >> Hi, >> >> 1--If I use the "find" command in the single-line message box, is >> there any way to get the foundchunk? How? > >get the foundChunk > >:-) Well, thanks, you did try to help, and sent a smiley too. I knew that. Typing "put the foundchunk" into the single-line message box would be nearly pointless, except maybe under unusual circumstances. I meant, "Is there any way to write a script that will put the foundchunk into a container when I use "find" in the single-line message box?" Now that you've put me on the right track with the "find" command, the question is less important, though I'd still be interested to know. > >You can also get the foundText, foundField, foundLine, and foundLoc. > >> 2--If I use the find command in a script, is there any way to script >> the equivalent of hitting the return key (like when I click on a >> button), so as to find the next item, as I would do if I were using >> "find" in the single-line message box? How? > >Just continue to execute "find" - it will pick up from the last boxed >selection. You're right. I tried that already, of course. A scripting error led me to the erroneous conclusion that the find command doesn't work that way. That's why I inquired. >Look in the Dictionary under "find" and all your questions will >be answered. That is not exactly helpful advice. I am not happy with the implication that I use this group as a substitute for the documentation. The following smiley didn't soften your remark effectively. I always study the documentation before inquiring on the group. Unfortunately, the dictionary is not exactly user friendly, and I don't always understand the documentation. I have a doctoral degree and I'm a reasonably seasoned amateur hyperCard scripter. If I don't always understand the documentation, it couldn't be ALL my fault. We've been over that topic several times lately. Take a look at the subject line. If you don't like dumb noob questions, don't answer them. If everyone stops answering mine, I will start paying Jacque for her time whenever I get stuck. Have a nice day anyway. You probably didn't mean it quite the way it sounded. Tim > >:-) > >Ken Ray >Sons of Thunder Software >Web site: http://www.sonsothunder.com/ >Email: kray at sonsothunder.com > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Tue Aug 9 15:52:01 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 09 Aug 2005 14:52:01 -0500 Subject: Standalone App Question In-Reply-To: <8F4E8140-CD75-41EE-81C0-60BFF5EE3F48@mangomultimedia.com> Message-ID: On 8/9/05 1:01 PM, "Trevor DeVore" wrote: > On thing to note here Ken, is that if you assign the externals to a > substack then removing the externals from memory isn't as > straightforward as just closing the substack. Good point, Trevor. > Assigning the externals to a stack that does nothing else but load/ > unload externals is the easiest, most reliable method I could come up > with. Of course, if you don't have to worry about unloading your > externals then this isn't an issue. Yeah, I usually load externals on startup, and then they're automatically disposed when my app closes, so I don't worry about manually unloading externals (at least not *yet*... ;-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Tue Aug 9 16:03:13 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 09 Aug 2005 15:03:13 -0500 Subject: two more noob questions re "find" command In-Reply-To: Message-ID: On 8/9/05 1:56 PM, "Timothy Miller" wrote: > Hi Ken, > >> On 8/8/05 7:14 PM, "Timothy Miller" wrote: >> >>> Hi, >>> >>> 1--If I use the "find" command in the single-line message box, is >>> there any way to get the foundchunk? How? >> >> get the foundChunk >> >> :-) > > > Well, thanks, you did try to help, and sent a smiley too. > > I knew that. Typing "put the foundchunk" into the single-line message > box would be nearly pointless, except maybe under unusual > circumstances. Sorry, I misread what you were trying to do (I thought you were trying to do this in a script). Actually you can probably get what you want by executing multiple statements in the message box, separated by a semicolon like: find "Hello" in field 1;put the foundChunk and then you should see what the foundChunk returned. >> Look in the Dictionary under "find" and all your questions will >> be answered. > > > That is not exactly helpful advice. I am not happy with the > implication that I use this group as a substitute for the > documentation. The following smiley didn't soften your remark > effectively. That wasn't the implication, Tim, and I'm sorry if you took it that way. It was just that I found myself starting to type the documentation to the find command in my email response, and thought it would be easier to just point to it. > Take a look at the subject line. If you don't like dumb noob > questions, don't answer them. Whoa! Tim, if you've been watching my posts, you'll see that I have *absolutely no problem* answering noob questions; in fact, I try to help out wherever I can for *anyone* who has questions related to Transcript or Rev. > Have a nice day anyway. You probably didn't mean it quite the way it sounded. I'm sorry you took my response as being flip or offensive in any way - it wasn't my intention. I know the docs are sometime difficult to work with or find things (believe me, I still have trouble finding stuff), so my assumption was not that you hadn't checked the docs, but that you *had* checked it and not found what you were looking for. Regardless, I'll re-read my posts in the future and make sure I've really responded to the actual question posted. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From b.xavier at internet.lu Tue Aug 9 16:06:37 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 9 Aug 2005 22:06:37 +0200 Subject: [Semi-OT] Interesting article In-Reply-To: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> Message-ID: <20050809195235.86E36824DC0@mail.runrev.com> Marielle said, > Hi Geoff, > > Yes, the topic is very hot. Everybody is moving in that direction: The proof by the absurd! Well done Marielle! So many choices, so many unsecure issues on the net... as we know, revolutions (not an intented pun but an interesting meme twister agent) happen in a flash... we dont know the IDE product time scale because it is a wavy thing... and xTalk's is incredibly long... With a reputation to base it's reliability on too... Yet the low down level languages get the app crust of the planet and the scripts get the higher-level user interfaces... all over the web... Where is rev in a web-oriented world? We got the web in our stacks but the web is still without our stacks... What is wrong with that picture? We fight revServers against Java death-star adversaries in an over-diluted (if not pirated) market. Even comparing Flash to Rev can be humiliating in graphics and speed terms... Kevin, i love you for what you do... But not for what you refuse to aknowledge... My thoughts are that rev needs a new graphic engine below the new object model... OS -> GL -> GUI -> Controls -> anything If windows' GUI and HIGs are not improved, and like opengl, you refuse to integrate it, im certain rev will not last another 5 years... We can't be stuck in 1990's plain color technology forever... Another cue is leveraging the COM architecture on PCs as you have with the Mac Toolbox and Co. The bulk of the market is on cheap PCs, thin clients (read about it's ROIs on enterprise IT prod delivery), and 5% pros using a real creative machines like the Macs... the problem is we dont see rev on the web or it doesn't look as good on a pc as it does on the Mac... Unless you wipe up your own GUI... ahem... That being said, CPU based apps like Rev are not going away... The player is a good (but lame) answer to delivering small app packages to the user but without a windows-document double-click standard behavior, it's back to square one... without mac and linux compilers i can't triple my revenue faster to get more features from rev's newer features... Rev is a good security shelter... but we still need a web plugin player cause those wont ever go away... and it's not like we wont have vir1i on xtalk one day... it's happened before (is rev ready for another?)... maybe OT: without a serious MS certified badge, the enterprise world isn't going to look seriously at Rev... I know, marketing is expensive... But the big boys need assurance to cover their hinds... Some solutions in enterprise are not even looked at if they dont cost a minimum of 50000$ per host or per tera byte handled! in hardware terms, for storage, a "drive" is minimum 10000 EUs a piece for enterprise... do they care for a 999$ license when it comes to 2000 client's deployment??? You get the idea... the scales are not in favor of Rev for Macs but for Mac-made Rev stuff for web clients on pc terminals... That's the economy of IT today. I can't always word it like that but take my word for it... My academic specialty is IT [industrial] economics... Feels like OpenDoc time all over again dont it? ;) And... surprise... it gets smart later... uh, what? yes, everything ;) http://monsieurX.com Soon sporting S.E.X. for Rev and MC! From mdswindell at charter.net Tue Aug 9 16:49:23 2005 From: mdswindell at charter.net (Mark Swindell) Date: Tue, 9 Aug 2005 13:49:23 -0700 Subject: computerized speech Message-ID: <29FD86CE-51AE-494C-87EF-C73C20FE4398@charter.net> Is Apple's built in text-to-speech the best there is or are there alternatives that give more natural sounding results? How about on the Windows side? Thanks Mark From chipp at chipp.com Tue Aug 9 16:47:39 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 09 Aug 2005 15:47:39 -0500 Subject: Cool External load unLoad libary stack handler Script (was:Standalone App Question) In-Reply-To: <9452C28C-83A5-4390-A6CC-C202B7C26F43@mangomultimedia.com> References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> <42F7D82D.9000702@chipp.com> <9648746613.20050808214847@ahsoftware.net> <42F849C4.6050803@chipp.com> <47FB85E8-7D50-4017-B075-A836FC8F67F9@internettrainer.com> <9452C28C-83A5-4390-A6CC-C202B7C26F43@mangomultimedia.com> Message-ID: <42F9166B.5030003@chipp.com> Had to rename this gem so that it could be easily searched and found in the Rev Use-List!!! Thanks Trevor :-) -Chipp Trevor DeVore wrote: > > That being said, I prefer a different method when dealing with externals. > > When using externals I like to be able to load/unload the external > whenever I want. This is necessary if you want the ability to update > an external while your application is running. Now, in order to unload > an external it must be attached to a stack that 1) has the > destroyWindow property set to true and 2) is open, not just in memory. > With that in mind, whenever an application launches it can create a > stack at runtime (never actually exists on disk) that has the > properties we need. For example: > > on loadAppExternals > local tExternals > > ---------- > --> EXTERNALS > ---------- > put "myExternal.bundle" &cr& "myExternal.dll" into tExternals > > ---------- > --> CREATE EXTERNALS STACK IN MEMORY > ---------- > if tExternals <> empty then > if there is not a stack "myExternals" then > reset templateStack > set destroyWindow of templateStack to true > set destroyStack of templateStack to true > set visible of templateStack to false > set externals of templateStack to tExternals > > create stack "myExternals" > reset templateStack > end if > > go stack "myExternals" > start using stack "myExternals" > end if > end loadAppExternals > > Now you can call loadAppExternals whenever you need to load externals > for your application. If you need to unload the externals just close > the stack: > > close stack "myExternals" > > The externals will be unloaded from memory and you can update the > external files on disk. > > If you ever need to check if an external loaded correctly or is > available you can check the externalPackages property of the > "myExternals" stack. Every external has a string identifier that the > person who made the external assigns to it. This shows up in the > externalPackages property of the stack only when the external has > successfully loaded. So if you have an external that is identified > with the string "MySuperExternal" you could have some code like this: > > on checkAppExternals > local tRequiredExternals,tExternal > > if there is not a stack "myExternals" then > answer "You didn't bother loading the externals stack. Try > again." > return empty > end if > > put "MySuperExternal" into tRequiredExternals > > repeat for each line tExternal in tRequiredExternals > if tExternal is not among lines of externalPackages of stack > "myExternals" then > answer "Oh where, oh where has my external gone?" > return empty > end if > end repeat > end checkAppExternals > > This method of working with externals has proven to work really well > for me. > > From davis.phil at comcast.net Tue Aug 9 17:02:34 2005 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 09 Aug 2005 14:02:34 -0700 Subject: computerized speech In-Reply-To: <29FD86CE-51AE-494C-87EF-C73C20FE4398@charter.net> References: <29FD86CE-51AE-494C-87EF-C73C20FE4398@charter.net> Message-ID: <42F919EA.1050802@comcast.net> Mark - Check out "Conversational Computers", an article on speech synthesis in Scientific American, June 2005, starting on p. 64. Among all else there, you'll find some excellent sources of additional voices offered by vendors like IBM, AT&T and many others. Some of the vendors let you download voices to try out (with 'nag phrases' inserted at the start of each speech), and some of the voices are *way* better than anything you've heard that comes standard on any computer. There are also voices for many non-English languages. You can download the article (for a fee) at http://sciam.com/ . Phil Davis Mark Swindell wrote: > Is Apple's built in text-to-speech the best there is or are there > alternatives that give more natural sounding results? How about on the > Windows side? > > Thanks > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From gandalf at doctorTimothyMiller.com Tue Aug 9 17:16:07 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Tue, 9 Aug 2005 14:16:07 -0700 Subject: two more noob questions re "find" command In-Reply-To: References: Message-ID: Thank you for your kind reply, Ken. I understand you didn't mean it as I heard it. It's a constant danger with email, especially on lists and newsgroups. I admit I was defensive. It still seems like I am the only amateur do-it-yourself end user on the list. It's easy to be defensive, in that position, though that's no excuse. I also admit I'm prone to absent minded scripting errors. I still wonder if Dreamcard is intended for people like me, and, if it is, if the intention is realistic. Regarding the single-line message box command, I was trying to enhance the "find" script that Sarah generously posted for my benefit. It uses the single-line message box. Thanks to your helpful comments, I think I can now write a simple utility stack -- possibly modal -- that offers the user, i.e., me, a variety of easy-to-use and fast "find" options for stack underneath it in the stacks. The native command-F find and replace feature is way too slow for some of my larger stacks with many fields per card. Best regards, Tim >On 8/9/05 1:56 PM, "Timothy Miller" wrote: > >> Hi Ken, >> >>> On 8/8/05 7:14 PM, "Timothy Miller" >>> wrote: >>> >>>> Hi, >>>> >>>> 1--If I use the "find" command in the single-line message box, is >>>> there any way to get the foundchunk? How? >>> >>> get the foundChunk >>> >>> :-) >> >> >> Well, thanks, you did try to help, and sent a smiley too. >> >> I knew that. Typing "put the foundchunk" into the single-line message >> box would be nearly pointless, except maybe under unusual >> circumstances. > >Sorry, I misread what you were trying to do (I thought you were trying to do >this in a script). Actually you can probably get what you want by executing >multiple statements in the message box, separated by a semicolon like: > > find "Hello" in field 1;put the foundChunk > >and then you should see what the foundChunk returned. > >>> Look in the Dictionary under "find" and all your questions will >>> be answered. >> >> >> That is not exactly helpful advice. I am not happy with the >> implication that I use this group as a substitute for the >> documentation. The following smiley didn't soften your remark >> effectively. > >That wasn't the implication, Tim, and I'm sorry if you took it that way. It >was just that I found myself starting to type the documentation to the find >command in my email response, and thought it would be easier to just point >to it. > >> Take a look at the subject line. If you don't like dumb noob >> questions, don't answer them. > >Whoa! Tim, if you've been watching my posts, you'll see that I have >*absolutely no problem* answering noob questions; in fact, I try to help out >wherever I can for *anyone* who has questions related to Transcript or Rev. > >> Have a nice day anyway. You probably didn't mean it quite the way >>it sounded. > >I'm sorry you took my response as being flip or offensive in any way - it >wasn't my intention. I know the docs are sometime difficult to work with or >find things (believe me, I still have trouble finding stuff), so my >assumption was not that you hadn't checked the docs, but that you *had* >checked it and not found what you were looking for. > >Regardless, I'll re-read my posts in the future and make sure I've really >responded to the actual question posted. > > >Ken Ray >Sons of Thunder Software >Web site: http://www.sonsothunder.com/ >Email: kray at sonsothunder.com > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From alex at tweedly.net Tue Aug 9 17:33:13 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 09 Aug 2005 22:33:13 +0100 Subject: two more noob questions re "find" command In-Reply-To: References: Message-ID: <42F92119.1090900@tweedly.net> Timothy Miller wrote: > > It still seems like I am the only amateur do-it-yourself end user on > the list. It's easy to be defensive, in that position, though that's > no excuse. I also admit I'm prone to absent minded scripting errors. I > still wonder if Dreamcard is intended for people like me, and, if it > is, if the intention is realistic. > Far from it Tim - count me as another amateur, write scripts (mostly) for personal use and fun. I did upgrade from DC to Studio, but that was only because my wife disliked the Player (and there are or were some problems with it on WinXP). I wouldn't be surprised if the great majority of the people on the list were amateurs like us - just most of them are quiet most of the time (and then there are a few of us who are quite vocal). -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 From mdswindell at charter.net Tue Aug 9 19:05:57 2005 From: mdswindell at charter.net (Mark Swindell) Date: Tue, 9 Aug 2005 16:05:57 -0700 Subject: computerized speech In-Reply-To: <42F919EA.1050802@comcast.net> References: <29FD86CE-51AE-494C-87EF-C73C20FE4398@charter.net> <42F919EA.1050802@comcast.net> Message-ID: Thanks Phil. ATT seems to have the best sounding synthesizer of those I could demo. Much clearer than OS X's. Not cheap, though. I never use Windows... does XP have built in speech as Macs do, or does one have to supply one with a Rev project to be sure TTS works? What about earlier versions of Windows? Anyone? Mark On Aug 9, 2005, at 2:02 PM, Phil Davis wrote: > Mark - > > Check out "Conversational Computers", an article on speech > synthesis in Scientific American, June 2005, starting on p. 64. > Among all else there, you'll find some excellent sources of > additional voices offered by vendors like IBM, AT&T and many > others. Some of the vendors let you download voices to try out > (with 'nag phrases' inserted at the start of each speech), and some > of the voices are *way* better than anything you've heard that > comes standard on any computer. There are also voices for many non- > English languages. > > You can download the article (for a fee) at http://sciam.com/ . > > Phil Davis > > > > Mark Swindell wrote: > >> Is Apple's built in text-to-speech the best there is or are there >> alternatives that give more natural sounding results? How about >> on the Windows side? >> Thanks >> Mark >> From rp011s7075 at blueyonder.co.uk Tue Aug 9 19:18:44 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Wed, 10 Aug 2005 00:18:44 +0100 Subject: [Semi-OT] Interesting article Message-ID: <19239A3D-5760-41FF-94B1-E38DBB4F7425@blueyonder.co.uk> > The proof by the absurd! Well done Marielle! You show a good ability to read between the lines :-). I have been reading a huge deal on web applications recently. Honestly, it made me anxious about the future of revolution. > My thoughts are that rev needs a new graphic engine below the new > object > model... > If windows' GUI and HIGs are not improved, and like opengl, you > refuse to > integrate it, im certain rev will not last another 5 years... We > can't be > stuck in 1990's plain color technology forever... Agreed on this. But the major hurdle is even before users get to complain about the low graphic quality. A ***VERY*** important limit is the revonline solution. All stacks produced by the community are ***hidden****. How can you hope attract new users if you cannot show them anything sexy. I did set up the education gallery to help out. The scripting conferences are stored as stacks, etc., etc. I don't get it. Revolution's company has pure gold in its hands. If revolution had spent a bit more more effort on the good look, good website and attractive demo applications, it would have taken the place of konfabulator, dashboard, and all the other ones that start to appear. But it hasn't and nearly 3 years after the launch of runtime revolution (2002, I believe), I am still not in a position to convince colleagues and friends to adopt revolution because they are unable to understand what revolution is about. That's to attract newcomers that I designed the revolution wiki and the education gallery. I wonder, what has been the "oohhh, this is interesting" moment for the new users on this list. What was the page or document that convinced them to pay closer attention to revolution, look for more information and download the trial version? Was it the runrev website alone or rather some page or content contributed by members of the community? I am not from an Hypercard background (too young, PC user in the 80s and early 90s). My path was: (1) Coming across the "beyond the browser" article when looking for 4GL languages (I was actually actively looking for an application like revolution). http://www.fourthworld.com/embassy/articles/ netapps.html (2) Paying a visit to the runrev website, this really sucks (that was before the makeover). Where can I find the information I need. How much does it cost? Ho my god, I need to start a transaction just to get to know the price of this product. Installing the demo application. Heeee, this is good. (3) http://www.tactilemedia.com/download/ This is **really nice** (4) http://www.sosmartsoftware.com/?r=logiciels&l=en This is **clever** Revolution is the *perfect* solution for rich web applications (but the 10 lines of script limit is a serious handicap, there should be a license that would allow to get rid of it). It is a fantastic solution for the academic community. It's an excellent Development Environment for software composition (doing the gluing and interfacing between specialized applications). So why is there so little mention of it out there on the web? Google hits: dreamcard revolution: 7,940 dreamcard: 20,500 "macromedia flex": 107,000 "dashboard widget": 198,000 konfabulator: 920,000 laszlo: 3,010,000 "web application": 7,430,000 If you want to help, be the first user to rate it at download.com: http://www.download.com/Dreamcard/3000-2207_4-10377428.html? tag=pop.feed&tag=feed&part=cnet Marielle -------------------------------- Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From charles.hartman at conncoll.edu Tue Aug 9 19:12:00 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 9 Aug 2005 19:12:00 -0400 Subject: computerized speech In-Reply-To: References: <29FD86CE-51AE-494C-87EF-C73C20FE4398@charter.net> <42F919EA.1050802@comcast.net> Message-ID: <991FB674-07E6-4425-A7D4-81B5E8D3307F@conncoll.edu> And is there any way to convince the TTS system -- on Mac or Windows -- to stress a word differently (or more strongly) than the internal dictionary tells it? (Recent example from the news: do we say "SUBmariner" or "subMAriner".) Is this something that can be controlled through Rev's interface to the speech system? Charles On Aug 9, 2005, at 7:05 PM, Mark Swindell wrote: > Thanks Phil. > > ATT seems to have the best sounding synthesizer of those I could > demo. Much clearer than OS X's. Not cheap, though. > > I never use Windows... does XP have built in speech as Macs do, or > does one have to supply one with a Rev project to be sure TTS > works? What about earlier versions of Windows? > > Anyone? > > Mark > > > > > On Aug 9, 2005, at 2:02 PM, Phil Davis wrote: > > >> Mark - >> >> Check out "Conversational Computers", an article on speech >> synthesis in Scientific American, June 2005, starting on p. 64. >> Among all else there, you'll find some excellent sources of >> additional voices offered by vendors like IBM, AT&T and many >> others. Some of the vendors let you download voices to try out >> (with 'nag phrases' inserted at the start of each speech), and >> some of the voices are *way* better than anything you've heard >> that comes standard on any computer. There are also voices for >> many non-English languages. >> >> You can download the article (for a fee) at http://sciam.com/ . >> >> Phil Davis >> >> >> >> Mark Swindell wrote: >> >> >>> Is Apple's built in text-to-speech the best there is or are >>> there alternatives that give more natural sounding results? How >>> about on the Windows side? >>> Thanks >>> Mark >>> >>> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From charles.hartman at conncoll.edu Tue Aug 9 19:20:51 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 9 Aug 2005 19:20:51 -0400 Subject: [Semi-OT] Interesting article In-Reply-To: <19239A3D-5760-41FF-94B1-E38DBB4F7425@blueyonder.co.uk> References: <19239A3D-5760-41FF-94B1-E38DBB4F7425@blueyonder.co.uk> Message-ID: <237FA412-A680-4C30-A869-658CEF4C0EEE@conncoll.edu> On Aug 9, 2005, at 7:18 PM, Marielle Lange wrote: > I wonder, what has been the "oohhh, this is interesting" moment for > the new users on this list. My 2 more cents: I think elsewhere in your post you put your finger on part of the problem. Many people on the list came to Rev from Hypercard. To take myself as a still-very-newbie example, I was programming happily away in Python until I got this project of reviving a tutorial I'd written in Hypercard 835 years ago -- and Dreamcard was the obvious way to do it. (The thought of building all that interface in wxPython was depressing, because here's an app that's practically ALL interface & no computational guts.) But if I hadn't had Hypercard in my head as a model, would it have occurred to me? If you know Hypercard the attractions of Rev are obvious; but if you don't . . . I think it's those who don't (didn't) who need The Demo. (Even wxPython, by the way, has a nice package of small demos that comes with the download, exemplifying just about every widget. Porting that to Rev might be fun.) Charles From rp011s7075 at blueyonder.co.uk Tue Aug 9 19:54:19 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Wed, 10 Aug 2005 00:54:19 +0100 Subject: [FR][EN] French Resources Message-ID: <8D4711E4-B2F3-4E64-B693-566E7FE98009@blueyonder.co.uk> Bonjour, Je suis tomb?e sur ceci par chance: Un forum sur revolution en fran?ais. Dans ce forum, il est mentionn? que la documentation de revolution serait maintenant disponible en fran?ais. ------------------------------------------------------------------------ -------------------------- Came across this by chance: A French forum on revolution. There is mention that the revolution documentation has now been translated in french. Enjoy, Marielle From jperryl at ecs.fullerton.edu Tue Aug 9 20:42:01 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 9 Aug 2005 17:42:01 -0700 (PDT) Subject: computerized speech In-Reply-To: <29FD86CE-51AE-494C-87EF-C73C20FE4398@charter.net> Message-ID: Mark, Wasn't there a thread a while back on this? I seem to recall people liking voices by AT&T? But they were commercial voices... Sorry. Wish I could recall better. Judy On Tue, 9 Aug 2005, Mark Swindell wrote: > Is Apple's built in text-to-speech the best there is or are there > alternatives that give more natural sounding results? How about on > the Windows side? From katir at hindu.org Tue Aug 9 21:17:47 2005 From: katir at hindu.org (Sivakatirswami) Date: Tue, 9 Aug 2005 15:17:47 -1000 Subject: Repeat until (0r "while") not working Message-ID: I'm missing something very simple here, Goal: delete empty lines beginning and end of text chunk --------------- put fld "transcript" into tFinalTranscript # clean up extra lines at beginning and end repeat while ((line 1 of tFinalTranscript) is empty) delete line 1 of tFinalTranscript end repeat repeat until ((the last line of tFinalTranscript) is not empty) delete the last line of tFinalTranscript end repeat put tFinalTranscript exit to top ------------ It still has all the empty lines top and bottom. If I globalize the temp variable for a bit, then test the field or the variable from the msg box: "line 1 of tFinalTranscript is empty" returns true "the last line of fld "transcript" is empty" returns true But these handlers are not deleting the blank lines as expected.. what am I doing wrong? I don't think I need all those parentheses... only added to try to get it to work... still doesn't TIA Sivakatirswami From sarahr at genesearch.com.au Tue Aug 9 21:50:48 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 10 Aug 2005 11:50:48 +1000 Subject: Icon Composer File Stopped Working In-Reply-To: <8A36D061-3DFD-4ED6-8940-D96FE1C0C002@mac.com> References: <8A36D061-3DFD-4ED6-8940-D96FE1C0C002@mac.com> Message-ID: <701C68A2-0988-47C9-B313-C56D771A159B@genesearch.com.au> > I just noticed this, so I'm not sure exactly when it happened, but > my Icon Composer file for the OS X standalone icons no longer > works. I can still see the icons using Preview, and it's still set > to use the proper file in Standalone Application Settings, but my > standalone builds no longer sport my custom icon. Any ideas? Compress the application (the easiest way is just to use Finder's built-in "Create archive of ..." that appears in the contextual menu when you control-click on a file), then delete the original and uncompress the zip file. Your icon will magically re-appear. Cheers, Sarah From kray at sonsothunder.com Tue Aug 9 22:36:17 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 09 Aug 2005 21:36:17 -0500 Subject: Repeat until (0r "while") not working In-Reply-To: Message-ID: On 8/9/05 8:17 PM, "Sivakatirswami" wrote: > I'm missing something very simple here, > > Goal: delete empty lines beginning and end of text chunk Try this: function trim pWhat local tRetVal get matchText(pWhat, "(?s)^\s*(.*?)\s*$", tRetVal) return tRetVal end trim Trims all forms of whitespace (CRs, spaces, tabs, etc.) from the beginning and end of a text chunk. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From tjframe at gmail.com Tue Aug 9 23:19:52 2005 From: tjframe at gmail.com (TJ Frame) Date: Tue, 9 Aug 2005 20:19:52 -0700 Subject: ANN: Dragging along a fixed path In-Reply-To: References: <20050809134930.EB769824FC7@mail.runrev.com> Message-ID: <7348a9e805080920193b95456b@mail.gmail.com> Very useful Jim.. I can se that coming in handy with my PerspectiveTools app.. I'll share it with the group when it's ready for prime time On 8/9/05, Jim Hurley wrote: > > The stack below allows one to drag a control along a constrained > path, e.g. a graphic or image along a closed polygon path--see cards > 2 and 3. (The polygon may not have any obtuse angles--angles greater > than 180 degrees.) > > (Of course one can easily program the control to move along a > graphic: "Move button "My Button" to the points of graphic "My > Curve".) > > In the message box: > > go stack url " > http://home.infostations.net/jhurley/LineCircleIntersection.rev" > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Tue Aug 9 23:22:50 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 09 Aug 2005 22:22:50 -0500 Subject: Repeat until (0r "while") not working In-Reply-To: References: Message-ID: <42F9730A.40704@chipp.com> Katir, If you wanted to do it in a repeat loop: repeat with x = the number of lines in tFinalTranscript down to 1 if line x of tFinalTranscript is "" then delete line x of tFinalTranscript end repeat Sivakatirswami wrote: > I'm missing something very simple here, > > Goal: delete empty lines beginning and end of text chunk > > --------------- > > put fld "transcript" into tFinalTranscript > > # clean up extra lines at beginning and end > > repeat while ((line 1 of tFinalTranscript) is empty) > delete line 1 of tFinalTranscript > end repeat > > repeat until ((the last line of tFinalTranscript) is not empty) > delete the last line of tFinalTranscript > end repeat > > put tFinalTranscript > exit to top > ------------ > It still has all the empty lines top and bottom. If I globalize the > temp variable for a bit, then test the field or the variable from the > msg box: > > "line 1 of tFinalTranscript is empty" returns true > "the last line of fld "transcript" is empty" returns true > > But these handlers are not deleting the blank lines as expected.. what > am I doing wrong? I don't think I need all those parentheses... only > added to try to get it to work... still doesn't > > TIA > Sivakatirswami From sarahr at genesearch.com.au Tue Aug 9 23:25:01 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 10 Aug 2005 13:25:01 +1000 Subject: two more noob questions re "find" command In-Reply-To: References: Message-ID: <5E1FF6C9-095D-4D74-B399-BCC4B8E7C4E0@genesearch.com.au> > Regarding the single-line message box command, I was trying to > enhance the "find" script that Sarah generously posted for my > benefit. It uses the single-line message box. > Tim, You can easily change my script to se the multi-line message box instead. Cheers, Sarah From 3mcgrath at adelphia.net Tue Aug 9 23:37:12 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 9 Aug 2005 23:37:12 -0400 Subject: computerized speech In-Reply-To: <29FD86CE-51AE-494C-87EF-C73C20FE4398@charter.net> References: <29FD86CE-51AE-494C-87EF-C73C20FE4398@charter.net> Message-ID: There are other voices around for use with Apple's built-in speech. I don't remember where I found mine. Also there are opensource and third party voices as well. search the net Tom On Aug 9, 2005, at 4:49 PM, Mark Swindell wrote: > Is Apple's built in text-to-speech the best there is or are there > alternatives that give more natural sounding results? How about on > the Windows side? > > Thanks > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J McGrath III 3mcgrath at adelphia.net Lazy River Software? http://homepage.mac.com/mcgrath3/lazyriver.html Meeting Wear? - Unique Apparel Design http://www.cafepress.com/meetingwear From revdan at danshafer.com Wed Aug 10 00:29:15 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 9 Aug 2005 21:29:15 -0700 Subject: [Slightly OT] - Of Ajax, Ruby on Rails, and 37 Signals Message-ID: After the discussion here over the last couple of days about the Ajax programming technology for quick-response Web apps, the Universe converges once again in a piece on Salon.com focusing on a Chicago- based firm called 37 Signals and its well-received Web apps. The apps were written in an Ajax-style framework called Ruby on Rails, which the company created in an effort to make it easier to build internal tools for client management use. The article on Salon.com is cautiously effusive. Interestingly for me, Ruby on Rails is available as a free add-on on the hosting service I use (Dreamhost.com) so I can go poke at it easily. I may decide to do that. But I keep wondering why this stuff isn't being driven by Rev instead of by Ruby, which is a text-only development tool. The article in question is at: http://www.salon.com/tech/feature/ 2005/08/10/37signals/index.html ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From mcdomi at free.fr Wed Aug 10 03:50:42 2005 From: mcdomi at free.fr (Dom) Date: Wed, 10 Aug 2005 09:50:42 +0200 Subject: [FR][EN] French Resources In-Reply-To: <8D4711E4-B2F3-4E64-B693-566E7FE98009@blueyonder.co.uk> Message-ID: <1h12oci.1jbhaud1fgwkzkM%mcdomi@free.fr> Marielle Lange wrote: > Je suis tomb?e sur ceci par chance: > > > Un forum sur revolution en fran?ais. Dans ce forum, il est mentionn? > que la documentation de revolution serait maintenant disponible en > fran?ais. > Ahem, c'est la doc pour Revolution 1.1 ! rien de nouveau depuis... Et puis, c'est faire offense ? FreDOS que d'?crire : << Elle est de mauvaise qualit? car c'est certainement une traduction automatis?>> !!! Frederic RINALDI a travaill? un moment avec RR (pour RR ?). je l'avais vu a une AppleExpo, ?tant dans le stand d'? c?t? (eHUG) > ------------------------------------------------------------------------ > Came across this by chance: > > > A French forum on revolution. There is mention that the revolution > documentation has now been translated in french. > Eeeeer, this an old translation, for Revolution 1.1 ! No news of a new translation... Also, the message insults Frederic RINALDI by saying (in substance) that "it is poorly translated, obviously an automatic translation" !!! Frederic RINALDI worked a time with RR (for RR?). I saw him at an AppleExpo, as I was at the booth near RR's (namely, eHUG) -- Revolutionario From dcragg at lacscentre.co.uk Wed Aug 10 04:44:45 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 10 Aug 2005 09:44:45 +0100 Subject: Repeat until (0r "while") not working In-Reply-To: References: Message-ID: <003E27F0-1F95-4F9B-988A-E88004C85C1D@lacscentre.co.uk> On 10 Aug 2005, at 02:17, Sivakatirswami wrote: > I'm missing something very simple here, > > Goal: delete empty lines beginning and end of text chunk > > --------------- > > put fld "transcript" into tFinalTranscript > > # clean up extra lines at beginning and end > > repeat while ((line 1 of tFinalTranscript) is empty) > delete line 1 of tFinalTranscript > end repeat This part works here, with or without the parentheses. Thoughts: Are the leading lines really empty? For example, you don't have a crlf there instead of a normal return. Or possibly you have set a different lineDelimiter. > > repeat until ((the last line of tFinalTranscript) is not empty) > delete the last line of tFinalTranscript > end repeat This may not do what you expect if the last char is a return. Although it displays as though there is a blank line, Rev will consider the last line to be the line before the final return. You could add this after the second loop: if char -1 of tFinalTranscript is return then delete char -1 of tFinalTranscript Cheers Dave From jbondy at sover.net Wed Aug 10 07:58:50 2005 From: jbondy at sover.net (Jon) Date: Wed, 10 Aug 2005 07:58:50 -0400 Subject: Repeat until (0r "while") not working In-Reply-To: References: Message-ID: <42F9EBFA.8060103@sover.net> Ken and Chipp are being very helpful when they provide useful/working code, but I'm more curious about why the original code did not work. It looked reasonable to me: the kind of code I might actually use some day, and get stuck on. Any thoughts? :) Jon On 8/9/05 8:17 PM, "Sivakatirswami" wrote: >I'm missing something very simple here, > >Goal: delete empty lines beginning and end of text chunk > > Chipp Walters wrote: > Katir, > > If you wanted to do it in a repeat loop: > > repeat with x = the number of lines in tFinalTranscript down to 1 > if line x of tFinalTranscript is "" then delete line x of tFinalTranscript > end repeat Ken Ray wrote: > Try this: > >function trim pWhat > local tRetVal > get matchText(pWhat, "(?s)^\s*(.*?)\s*$", tRetVal) > return tRetVal >end trim > > >Trims all forms of whitespace (CRs, spaces, tabs, etc.) from the beginning >and end of a text chunk. > From alex at tweedly.net Sat Aug 6 18:48:19 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 06 Aug 2005 23:48:19 +0100 Subject: European Revolution Conference Reminder In-Reply-To: <42F4FD72.9020408@ehug.info> References: <42F4FD72.9020408@ehug.info> Message-ID: <42F53E33.2070603@tweedly.net> Mark Schonewille wrote: > Dear Revolution users, > > A week ago, I posted a message about plans to organise a revolution > conference. Several of you have written me off-list, expressing their > interest. Two people, who will be contacted within a few days, have > offered to be a speaker. > > To know that organising a conference is worth the trouble, I need to > know from you whether you are interested. It would also be great if > more people would like to present cool tricks or demo their own > products. Please contact me if you are interested in participating. > Don't think that you don't need to, assuming that others will contact > me, because your name on the list might exactly make the difference. > > I am thinking of a conference in Germany or the Netherlands, which > would be a little different from the conferences we already had. Also, > by organising it in a different location, I would like to give those > who couldn't make it to Malta or Moneterey an opportunity to attend a > conference. > > It will aim at beginners, although it could be an opportunity for > professionals to meet each other. There will be extensive problem > solving sessions and a number of parallel sessions that give you the > opportunity to demo your latest products or cool tricks. Participants > who want to lead a session are likely to get a discount. > > The conference fee is expected to be between 300 and 400 euro. This > should include three nights in a simple hotel. The conference itself > may last 2 days, 3 if there are many participants. I prefer to let the > conference start in about 6 weeks from now, but the exact date depends > on you. At the time of writing this reminder, this 6 weeks term has > not changed. In response to received suggestions, I might postpone the > conference by several weeks. I'd be interested - but an honest guess would be no more than 60% likely to be able to come even if everything could be organized to my specifications. But 6 weeks isn't enough lead time for me. If it's before end of September, I know I can't come. If it's after end of Sept (and the dates can be fixed up soon) then my chances go up to 50%. And if there are direct flights from Edinburgh (or maybe Glasgow) then it goes up to 60% :-) I'm sorry I can't commit better than that - but I'd rather be accurate than overly optimistic. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 From alex at tweedly.net Wed Aug 10 08:53:21 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 10 Aug 2005 13:53:21 +0100 Subject: European Revolution Conference Reminder In-Reply-To: <42F53E33.2070603@tweedly.net> References: <42F4FD72.9020408@ehug.info> <42F53E33.2070603@tweedly.net> Message-ID: <42F9F8C1.9010801@tweedly.net> Sigh. Sorry. That last mail was supposed to go direct to Mark. It shouldn't have cluttered the list. Please don't follow my bad example - send any replies direct to Mark. If you haven't done so yet, now would be a good time. Sorry again. In fact, I probably shouldn't compound the error by cluttering the list with this apology..... Alex Tweedly wrote: > Mark Schonewille wrote: -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 From dburgun at dsl.pipex.com Wed Aug 10 09:53:12 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 10 Aug 2005 14:53:12 +0100 Subject: What's wrong with this? In-Reply-To: <42F9F8C1.9010801@tweedly.net> References: <42F4FD72.9020408@ehug.info> <42F53E33.2070603@tweedly.net> <42F9F8C1.9010801@tweedly.net> Message-ID: Hi, I am getting a crashing problem in revolution when I do this: put empty into myNewList put the folders into myFolderList repeat for each line myFolder in myFolderList if char 1 of myFolder is a "." then next repeat put myNewList & myFolder into myNewList end repeat It crashes on the "if" statement, if I change it to this: if char 1 of myFolder = "." then it works! Can't understand by RunRev should crash! All the Best Dave From xbury.cs at clearstream.com Wed Aug 10 09:59:29 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 10 Aug 2005 15:59:29 +0200 Subject: What's wrong with this? In-Reply-To: Message-ID: GOOD Catch Dave!!! It crashes even MC2.6 -- in the msg but should work... but how come it compiles this error? put this to that -- outputs to the msg without compile errors... but it doesn't crash rev... happy bugzilla trip! Xavier use-revolution-bounces at lists.runrev.com wrote on 10/08/2005 15:53:12: > Hi, > > I am getting a crashing problem in revolution when I do this: > > put empty into myNewList > put the folders into myFolderList > repeat for each line myFolder in myFolderList > if char 1 of myFolder is a "." then next repeat > > put myNewList & myFolder into myNewList > end repeat > > It crashes on the "if" statement, if I change it to this: > > if char 1 of myFolder = "." > > then it works! Can't understand by RunRev should crash! > > All the Best > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- 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 Roger.E.Eller at sealedair.com Wed Aug 10 10:09:13 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 10 Aug 2005 10:09:13 -0400 Subject: What's wrong with this? Message-ID: > if char 1 of myFolder is a "." then next repeat > ... > All the Best > Dave Hi Dave, Have you tried this? if char 1 of myFolder is "." then next repeat I wonder if the "a" could be the problem. Roger Eller References: Message-ID: Hi, I am getting an error saying it can't find background of button "choosefile", so I hit the debug button in the error window and then from the message box I type: put the label of button "choosefile" and it displays correctly Why it not finding the button correctly in the script? There are loads and loads of these little quirks that I am finding. I really have never worked in such a buggy development environment as RunRev. Any suggestions greatly appreciated. All the Best Dave From jacque at hyperactivesw.com Wed Aug 10 11:07:50 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Aug 2005 10:07:50 -0500 Subject: Another Mystery In-Reply-To: References: Message-ID: <42FA1846.5090903@hyperactivesw.com> David Burgun wrote: > Hi, > > I am getting an error saying it can't find background of button > "choosefile", so I hit the debug button in the error window and then > from the message box I type: > > put the label of button "choosefile" > > and it displays correctly > > Why it not finding the button correctly in the script? > > There are loads and loads of these little quirks that I am finding. I > really have never worked in such a buggy development environment as RunRev. Doesn't sound like a bug to me. It sounds like you are asking Rev to locate a background button but your button is actually on the card. Your message box test is looking for a card button too. If you put in the message box: put the label of bg button "choosefile" Do you get the same error? Your script should probably ask for "button 'choosefile'" instead of "bg button", if my guess is right. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dburgun at dsl.pipex.com Wed Aug 10 11:14:40 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 10 Aug 2005 16:14:40 +0100 Subject: Another Mystery In-Reply-To: <42FA1846.5090903@hyperactivesw.com> References: <42FA1846.5090903@hyperactivesw.com> Message-ID: >David Burgun wrote: >>Hi, >> >>I am getting an error saying it can't find background of button >>"choosefile", so I hit the debug button in the error window and >>then from the message box I type: >> >>put the label of button "choosefile" >> >>and it displays correctly >> >>Why it not finding the button correctly in the script? >> >>There are loads and loads of these little quirks that I am finding. >>I really have never worked in such a buggy development environment >>as RunRev. > >Doesn't sound like a bug to me. It sounds like you are asking Rev to >locate a background button but your button is actually on the card. >Your message box test is looking for a card button too. If you put >in the message box: > > put the label of bg button "choosefile" > >Do you get the same error? > >Your script should probably ask for "button 'choosefile'" instead of >"bg button", if my guess is right. No that works fine, the script actually reads: put the label of button "choosefile" of group "Artwork" In the script it reads: send "mouseUp" to button "choosefile" of group "Artwork" I just abbreviated it to save typing. All the Best Dave From jacque at hyperactivesw.com Wed Aug 10 11:22:08 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Aug 2005 10:22:08 -0500 Subject: Another Mystery In-Reply-To: References: <42FA1846.5090903@hyperactivesw.com> Message-ID: <42FA1BA0.8010308@hyperactivesw.com> David Burgun wrote: >> David Burgun wrote: >> >>> Hi, >>> >>> I am getting an error saying it can't find background of button >>> "choosefile", so I hit the debug button in the error window and then >>> from the message box I type: >>> >>> put the label of button "choosefile" >>> >>> and it displays correctly >>> >>> Why it not finding the button correctly in the script? >>> >>> There are loads and loads of these little quirks that I am finding. I >>> really have never worked in such a buggy development environment as >>> RunRev. >> >> >> Doesn't sound like a bug to me. It sounds like you are asking Rev to >> locate a background button but your button is actually on the card. >> Your message box test is looking for a card button too. If you put in >> the message box: >> >> put the label of bg button "choosefile" >> >> Do you get the same error? >> >> Your script should probably ask for "button 'choosefile'" instead of >> "bg button", if my guess is right. > > > No that works fine, the script actually reads: > > put the label of button "choosefile" of group "Artwork" > > In the script it reads: > > send "mouseUp" to button "choosefile" of group "Artwork" > > I just abbreviated it to save typing. What happens if you leave off the "group" reference in the script: send "mouseup" to btn "choosefile" If your group has background behavior set to true, then you might also try: send "mouseup" to btn "choosefile" of bg "artwork" Do either of these work? It does sound like an issue with scope to me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dburgun at dsl.pipex.com Wed Aug 10 11:39:14 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 10 Aug 2005 16:39:14 +0100 Subject: Another Mystery In-Reply-To: <42FA1BA0.8010308@hyperactivesw.com> References: <42FA1846.5090903@hyperactivesw.com> <42FA1BA0.8010308@hyperactivesw.com> Message-ID: I've dug deeper and I reckon it's because another stack window which is invisible is in front of the current window. I call a function in a global stack which loads externals and this creates a temp stack and does: go stack "newstack" start using stack "newstack" If I take out this call all works ok. Is there anyway to make the current stack the frontmost? Or should I not be doing the go stack? Thanks for your help All the Best Dave From bann at sunncomm.com Wed Aug 10 11:57:41 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Wed, 10 Aug 2005 08:57:41 -0700 Subject: Problem with "Wrong Disk Volume......" Message-ID: Hello everyone, I have had this problem and I don't know why: I finished the application and burned the .exe file into a CD from my computer (the computer which I used to create the application). I took the CD to open the application on other computers (played for a while then took it out). An error message displayed: "Wrong Disk Volume......" "Please reinsert ...*.exe....." Has anyone had this problem before? Thank you From klaus at major-k.de Wed Aug 10 12:05:12 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 10 Aug 2005 18:05:12 +0200 Subject: Problem with "Wrong Disk Volume......" In-Reply-To: References: Message-ID: Hi Ban, > Hello everyone, > > > I have had this problem and I don't know why: > > I finished the application and burned the .exe file into a CD from my > computer (the computer which I used to create the application). I > took > the CD to open the application on other computers (played for a while > then took it out). An error message displayed: > > "Wrong Disk Volume......" > "Please reinsert ...*.exe....." > > Has anyone had this problem before? maybe a stupid question but did you really close/quit the application before taking the cd out of the drive? Windows does NOT like that and often rewards this with a blue screen ;-) > Thank you Regards Klaus Major klaus at major-k.de http://www.major-k.de P.S. A propos: Here is a lovely IT Haiku I found on the net some time ago: Windows NT crashed I am the blue screen of death Noone hears you cry :-) From bann at sunncomm.com Wed Aug 10 12:07:11 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Wed, 10 Aug 2005 09:07:11 -0700 Subject: Problem with "Wrong Disk Volume......" Message-ID: > Hello everyone, > > > I have had this problem and I don't know why: > > I finished the application and burned the .exe file into a CD from my > computer (the computer which I used to create the application). I > took > the CD to open the application on other computers (played for a while > then took it out). An error message displayed: > > "Wrong Disk Volume......" > "Please reinsert ...*.exe....." > > Has anyone had this problem before? ----------------- maybe a stupid question but did you really close/quit the application before taking the cd out of the drive? Windows does NOT like that and often rewards this with a blue screen ;-) Thank you -------------------- Yes I did close the application -------------------- From bann at sunncomm.com Wed Aug 10 12:11:00 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Wed, 10 Aug 2005 09:11:00 -0700 Subject: Problem with "Wrong Disk Volume......" Message-ID: > Hello everyone, > > > I have had this problem and I don't know why: > > I finished the application and burned the .exe file into a CD from my > computer (the computer which I used to create the application). I > took > the CD to open the application on other computers (played for a while > then took it out). An error message displayed: > > "Wrong Disk Volume......" > "Please reinsert ...*.exe....." > > Has anyone had this problem before? ----------------- maybe a stupid question but did you really close/quit the application before taking the cd out of the drive? Windows does NOT like that and often rewards this with a blue screen ;-) Thank you -------------------- Yes I did close the application -------------------- FYI: In the close button I have this script: On mouseUp Close this stack End mouseUp I used an empty control, and created a close button with the script above to close the application. Did I miss any code? From klaus at major-k.de Wed Aug 10 12:20:21 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 10 Aug 2005 18:20:21 +0200 Subject: Problem with "Wrong Disk Volume......" In-Reply-To: References: Message-ID: <202814AE-923E-4964-8806-5077CC3E3B8B@major-k.de> Hi Ban, >> ... >> the CD to open the application on other computers (played for a while >> then took it out). An error message displayed: >> "Wrong Disk Volume......" >> "Please reinsert ...*.exe....." >> Has anyone had this problem before? > ----------------- > maybe a stupid question but did you really close/quit the application > before taking the cd out of the drive? > Windows does NOT like that and often rewards this with a blue > screen ;-) > > Thank you > -------------------- > > Yes I did close the application > FYI: In the close button I have this script: > > On mouseUp > Close this stack > End mouseUp > > I used an empty control, ??? Sorry, what do you mean by "empty control"? > and created a close button with the script > above to close the application. Did I miss any code? To be sure you should write: On mouseUp quit End mouseUp Just in case there are some hidden stacks somewhere. But should work if that is the last or only stack! Sorry, no more ideas in the moment. Regards Klaus Major klaus at major-k.de http://www.major-k.de From dburgun at dsl.pipex.com Wed Aug 10 12:20:30 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 10 Aug 2005 17:20:30 +0100 Subject: Problem with "Wrong Disk Volume......" In-Reply-To: References: Message-ID: Try: close this stack quit Just a guess Dave > > Hello everyone, >> >> >> I have had this problem and I don't know why: >> >> I finished the application and burned the .exe file into a CD from my >> computer (the computer which I used to create the application). I >> took >> the CD to open the application on other computers (played for a while >> then took it out). An error message displayed: >> >> "Wrong Disk Volume......" >> "Please reinsert ...*.exe....." >> >> Has anyone had this problem before? > >----------------- > >maybe a stupid question but did you really close/quit the application >before taking the cd out of the drive? > >Windows does NOT like that and often rewards this with a blue screen ;-) > >Thank you > >-------------------- > >Yes I did close the application > > >-------------------- > > >FYI: In the close button I have this script: > >On mouseUp > Close this stack >End mouseUp > > >I used an empty control, and created a close button with the script >above to close the application. Did I miss any code? > > > > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From sims at ezpzapps.com Wed Aug 10 12:27:24 2005 From: sims at ezpzapps.com (sims) Date: Wed, 10 Aug 2005 18:27:24 +0200 Subject: auto-start from flash drive Message-ID: Is it possible to auto-start an application (Windows or OS X) from a flash drive? ciao, sims From b.xavier at internet.lu Wed Aug 10 12:39:50 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 10 Aug 2005 18:39:50 +0200 Subject: auto-start from flash drive In-Reply-To: Message-ID: <20050810162542.BB6E9824E5D@mail.runrev.com> Sims On windows, you just add the same "stuff" as in a cd... you need an autorun.inf file (not INI) [autorun] OPEN=GTRLaunch.exe ICON=setup.exe,0 label=GTR - FIA GT Racing Game see the technet website for more details cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of sims > Sent: Wednesday, August 10, 2005 18:27 > To: use-revolution at lists.runrev.com > Subject: auto-start from flash drive > > Is it possible to auto-start an application (Windows or OS X) > from a flash drive? > > ciao, > sims > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus at major-k.de Wed Aug 10 12:41:57 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 10 Aug 2005 18:41:57 +0200 Subject: auto-start from flash drive In-Reply-To: References: Message-ID: Hi sims, > Is it possible to auto-start an application (Windows or OS X) from > a flash drive? NO way on a Mac! Since one of the extremely rare Mac virii used the autostart mechanism to spread in the old HyperCard days, this is a Mac NoNo :-) See Xavier's post concerning windows, where this ANTI-feature is kind of standard, but can be disabled by the user! > ciao, > sims Regards Klaus Major klaus at major-k.de http://www.major-k.de From b.xavier at internet.lu Wed Aug 10 12:47:37 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 10 Aug 2005 18:47:37 +0200 Subject: auto-start from flash drive In-Reply-To: Message-ID: <20050810163323.F03A6824F01@mail.runrev.com> well he asked so i answered... i didn't want to mention the old wdef and cdef virii for the mac and why that (awful) feature got condemned but you're right... most 'self-respecting' pc-users would disable this after inserting 2 cds in any PC ;) cheers Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Klaus Major > Sent: Wednesday, August 10, 2005 18:42 > To: How to use Revolution > Subject: Re: auto-start from flash drive > > Hi sims, > > > Is it possible to auto-start an application (Windows or OS > X) from a > > flash drive? > > NO way on a Mac! > > Since one of the extremely rare Mac virii used the autostart > mechanism to spread in the old HyperCard days, this is a Mac NoNo :-) > > See Xavier's post concerning windows, where this ANTI-feature > is kind of standard, but can be disabled by the user! > > > ciao, > > sims > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sims at ezpzapps.com Wed Aug 10 12:47:14 2005 From: sims at ezpzapps.com (sims) Date: Wed, 10 Aug 2005 18:47:14 +0200 Subject: auto-start from flash drive In-Reply-To: References: Message-ID: At 6:41 PM +0200 8/10/05, Klaus Major wrote: >Since one of the extremely rare Mac virii used the autostart >mechanism to spread >in the old HyperCard days, this is a Mac NoNo :-) > >See Xavier's post concerning windows, where this ANTI-feature is >kind of standard, >but can be disabled by the user! Yup, I understand that. This is for a specialty application and not for release to the public. ciao, sims From b.xavier at internet.lu Wed Aug 10 13:00:35 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 10 Aug 2005 19:00:35 +0200 Subject: auto-start from flash drive In-Reply-To: Message-ID: <20050810164621.3E66F824E5D@mail.runrev.com> funny, Rev screwed up a copy to clipboard [again] and i pasted [autorun] in firefox and it took me to... surprise cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of sims > Sent: Wednesday, August 10, 2005 18:47 > To: How to use Revolution > Subject: Re: auto-start from flash drive > > At 6:41 PM +0200 8/10/05, Klaus Major wrote: > >Since one of the extremely rare Mac virii used the autostart > mechanism > >to spread in the old HyperCard days, this is a Mac NoNo :-) > > > >See Xavier's post concerning windows, where this > ANTI-feature is kind > >of standard, but can be disabled by the user! > > Yup, I understand that. This is for a specialty application > and not for release to the public. > > ciao, > sims > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bann at sunncomm.com Wed Aug 10 13:54:00 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Wed, 10 Aug 2005 10:54:00 -0700 Subject: Problem with "Wrong Disk Volume......" Message-ID: Thanks Dave and Klaus. It works ------------------ Try: close this stack quit Just a guess Dave > > Hello everyone, >> >> >> I have had this problem and I don't know why: >> >> I finished the application and burned the .exe file into a CD from my >> computer (the computer which I used to create the application). I >> took >> the CD to open the application on other computers (played for a while >> then took it out). An error message displayed: >> >> "Wrong Disk Volume......" >> "Please reinsert ...*.exe....." >> >> Has anyone had this problem before? > >----------------- > >maybe a stupid question but did you really close/quit the application >before taking the cd out of the drive? > >Windows does NOT like that and often rewards this with a blue screen ;-) > >Thank you > >-------------------- > >Yes I did close the application > > >-------------------- > > >FYI: In the close button I have this script: > >On mouseUp > Close this stack >End mouseUp > > >I used an empty control, and created a close button with the script >above to close the application. Did I miss any code? > > > > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From rodneys at io.com Wed Aug 10 13:54:10 2005 From: rodneys at io.com (Rodney Somerstein) Date: Wed, 10 Aug 2005 13:54:10 -0400 Subject: [Slightly OT] - Of Ajax, Ruby on Rails, and 37 Signals In-Reply-To: References: Message-ID: >But I keep wondering why this stuff isn't being driven by Rev >instead of by Ruby, which is a text-only development tool. Easy. Ruby on Rails is free and open source. Much easier to get the developer nerds of the world excited about something that makes their life easier and is free than a commercial product. That's just a fact of life. Similar reasons for why Python is much more popular than Rev. It isn't a matter of capabilities and ease of use. It's a matter of what is easily available, known, and free also helps. Of course, the fact that text-based environments lend themselves to team development projects much better than Rev probably also helps. The fact that only one person can work on a Rev stack at a time is a big downside to trying to use Rev for projects that take more than one person. I know that everyone could work on their own stack and have it call other stacks, but due to the interactive nature of stack development, this just doesn't feel as clean as working on a source file, submitting it to a source control system, then having someone build it for testing. Not to mention the fact that Ajax, which the article says Ruby on Rails gives easy access to, utilizes existing web technologies such as JavaScript. This is instead of requiring developers to scrap everything they already know to switch to Rev. Instead the developers just learn one more environment that fits seamlessly into their existing development process. I really like Rev, but unfortunately there are some environments that it doesn't fit into as well as more traditional languages. It has a huge learning curve compared to more traditional environments. For one person projects or a very small team working closely together, Rev can be a better environment to work in. But it requires a major shift in mind set from most other languages/development environments. It requires depending on RunRev to add features/bug fixes, and it is a commercial product. All of that being said, as a person who programs for a hobby, rather than for a living, I enjoy working with Rev more than the other languages/environments than I have looked at. Revolution definitely has its place and can help me finish projects much more easily than other environments. But, I come from a HyperCard background (at one point when working in evangelism at Apple, I was responsible for dealing with both HyperCard and Applescript as well as other development environments and I was the lead for a fee-based scripting support group at Apple). This has made understanding how to use Revolution much easier, but I still struggle a lot with how to do some seemingly simple things easily and efficiently. Sorry about the extended rant, but you did ask. ;-) -Rodney From revdan at danshafer.com Wed Aug 10 14:17:36 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 10 Aug 2005 11:17:36 -0700 Subject: Another Mystery In-Reply-To: References: <42FA1846.5090903@hyperactivesw.com> <42FA1BA0.8010308@hyperactivesw.com> Message-ID: <9F8DF969-70D3-41C7-BEC3-03610702B43D@danshafer.com> David.... No offense intended here, but I have to tell you that well over 95% of the time that I think I've found a bug in the language or the IDE, it's something like this: I've done something wrong, made a bad assumption, misunderstood a command syntax, or have some object addressing issue. That's why when people make comments like yours in your original email -- "There are loads and loads of these little quirks that I am finding. I really have never worked in such a buggy development environment as RunRev." -- I cringe. Newcomers read this list often before getting involved with the product and comments like that just drive prospective customers away. When they are, more often than not, really not accurate observations, it's particularly damaging. I'm not saying Rev is perfect. It's not. And it's certainly not bug- free. But to say there are "loads and loads of...quirks" and that the environment is the buggiest you've worked in doesn't really help anyone, including you and those who are trying to help. I know how tempting it is when you've beat your forehead bloody against what seems ultimately like a bug not to vent just a bit. I've done in myself. But maybe before you post a strongly negative general comment like that in the future, you could take three deep breaths? On Aug 10, 2005, at 8:39 AM, David Burgun wrote: > I've dug deeper and I reckon it's because another stack window > which is invisible is in front of the current window. > > I call a function in a global stack which loads externals and this > creates a temp stack and does: > > go stack "newstack" > start using stack "newstack" > > If I take out this call all works ok. > > Is there anyway to make the current stack the frontmost? Or should > I not be doing the go stack? > > Thanks for your help > All the Best > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revdan at danshafer.com Wed Aug 10 14:32:22 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 10 Aug 2005 11:32:22 -0700 Subject: [Slightly OT] - Of Ajax, Ruby on Rails, and 37 Signals In-Reply-To: References: Message-ID: <7E59972A-43CE-4774-974C-FB181A7F00F7@danshafer.com> Rodney..... I have to say this is one of the most reasoned and intelligent responses I've seen to the implied question, "Why doesn't everyone use Revolution?" It serves as a good reminder of a couple of great Truths of Programming. First, no one tool is suited for everything. Second, busy programmers often can't take time to learn a new tool even if it's a lot better than the old ones they know, especially if the new one is a big paradigm shift. The point about Rev in a team environment is particularly well taken. Thanks for sharing. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From jacque at hyperactivesw.com Wed Aug 10 14:45:14 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Aug 2005 13:45:14 -0500 Subject: Another Mystery In-Reply-To: References: <42FA1846.5090903@hyperactivesw.com> <42FA1BA0.8010308@hyperactivesw.com> Message-ID: <42FA4B3A.2090404@hyperactivesw.com> David Burgun wrote: > I've dug deeper and I reckon it's because another stack window which is > invisible is in front of the current window. Yes, that'd do it. While the stack isn't visible, it still is frontmost. > > I call a function in a global stack which loads externals and this > creates a temp stack and does: > > go stack "newstack" > start using stack "newstack" > > If I take out this call all works ok. > > Is there anyway to make the current stack the frontmost? Or should I not > be doing the go stack? Yes, you can omit the "go" statement and the stack will still be put in use. Or if you need to, you can also do: toplevel to bring the main stack to the front again. So, not a bug. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rodneys at io.com Wed Aug 10 14:55:44 2005 From: rodneys at io.com (Rodney Somerstein) Date: Wed, 10 Aug 2005 14:55:44 -0400 Subject: Looking for suggestions/advice Message-ID: I have owned a copy of Rev for several years and am trying to decide if it is appropriate for a project that I want to do. I haven't done that much work with Rev, just played around with it. I have a pretty good background in HyperCard, so the basic concepts of Revolution make sense to me. I have dabbled quite a bit in other programming languages and am pretty familiar with object oriented programming and programming in general. I am not a computer science major, so there is a lot that I don't know as well. Now, on to what I want to ask for help with. I want to develop an application which is a design/play environment for board/card games - particularly European-style modern games. This program should allow for people to create an add-on module to implement a particular game. Initially, it will just allow people to import graphics for playing pieces, cards, etc. and set up some very simple rules, such as how many cards to draw at one time, whether cards are public or private information, etc. Eventually I would like to allow the program to completely handle the rules of the game including score keeping, enforcement of all game rules, etc. I will start out very simple and add complexity as time goes on. The first iterations will require the user to do everything manually just to make sure I can handle dragging pieces around, dealing cards, etc. Then I will start to automate each of these things. I know that Revolution can easily handle the multi-player aspects via communication with a central server that broadcasts the information to everyone involved in the game. I'm not sure if this server should be written in Rev or something else such as PHP. I know that Revolution can make the graphical aspects of the program much easier than more traditional languages. I'm still not sure about being able to easily zoom in and out (scaling) the view of the game board, but I suspect it can be handled dynamically in Rev as well. For my real dilemma, though. I brought up some ideas about this a couple of years ago looking for advice. People seemed to indicate that this should be a workable project in Rev. Now I'm looking for ideas as to how to go about implementing things. Here are my questions/concerns: This application is going to require a scripting language. My understanding is that Transcript isn't a viable scripting language for this purpose (correct me if I'm wrong, please) because there are limits as to how much can be done on the fly from an imported script rather than one built into the stack. For example, I don't think that I can have a user write a script that could be imported as a module into a Revolution stack and executed without limiting that script to 10 lines. Since a game could have several hundred pieces including cards, game boards, scoring tracks, decks of cards, etc. that need to have rules set for them, how can I go about this? Do I create XML tags to allow this? Do I write my own interpreter that Rev then uses to execute the scripts? I've never actually written a programming language, but I know there are better methods than one big if-then structure to parse through a line of code to figure out what it needs to do. Any suggestions on how to easily learn what I need to do here would be appreciated. I would like to allow the games to have computer players as well as human. That ratchets up the requirements for a scripting language even more. Is this something that Revolution is well suited to? Or should I really be looking at other languages such as Java? I could let users script things via Python or Ruby if I used Java. I know the downsides of developing in a language such as Java rather than Revolution. I just have this nagging feeling that it may actually make for a better cross-platform development system than Rev for what I want to do. I'd be happy to be disabused of this notion. Thanks for any help/suggestions that you can offer. -Rodney From pevensen at siboneylg.com Wed Aug 10 14:56:37 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Wed, 10 Aug 2005 13:56:37 -0500 Subject: RealBasic got on eWeek Message-ID: <6.2.1.2.2.20050810135619.2be7c730@exchange.slg.com> http://www.eweek.com/article2/0,1895,1843900,00.asp Why hasn't Rev? Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From mp31199 at students.nebo.edu Wed Aug 10 15:14:30 2005 From: mp31199 at students.nebo.edu (Matthew) Date: Wed, 10 Aug 2005 13:14:30 -0600 Subject: External for running one instance on windows In-Reply-To: Message-ID: On Tue, 19 Jul 2005 12:24:47 -0700 Trevor DeVore wrote: >On Jul 19, 2005, at 11:35 AM, Matthew wrote: > >>There is another way to check if an instance is running >>that will >>work on all OS. When you start the program you create a >>file if it >>is not already there. If it is there then you close the >>program. >> >>I hope this helps. > >Unfortunately you will run into problems if your >application crashes. The file will stay around and when >you try to launch your app again it thinks it is already >running. You can come up with schemes to work around >this but using a mutex is much more reliable and easier >on Windows. On Mac you don't have to worry about >multiple instances for each user. I don't do any Linux >development right now so I can't comment on that. > >The file method would work better if Revolution would >allow you to get a lock on a file so that nobody else >can access it. I didn't see a way to do this with open >file. If this were the case then I think you could open >the file and lock anybody else out from reading it. > Then if another instance of your app launched and >tried to open the file an error would be returned. If >the app crashed then I think the lock on the file would >be released. > > I don't think that there is a way to lock a file in revolution but I thought of another solution. Every half-second or so you could put the current date and time. Then when you open it up again it would check and see if it was very recent and if it was it can wait about a second and do the same check again. Of cource if you were using a long repeat loop you would have problems but you could always figure out a different way to do the loop. Sincerely, Matt From kray at sonsothunder.com Wed Aug 10 15:27:53 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 10 Aug 2005 14:27:53 -0500 Subject: Repeat until (0r "while") not working In-Reply-To: <42F9EBFA.8060103@sover.net> Message-ID: On 8/10/05 6:58 AM, "Jon" wrote: > Ken and Chipp are being very helpful when they provide useful/working code, > but I'm more curious about why the original code did not work. It looked > reasonable to me: the kind of code I might actually use some day, and get > stuck on. > > Any thoughts? Thanks for posting this, Jon... it will help others as well. Here's the stuff I found when I put (CR & CR & "This is a test" & CR & CR) into a field and then ran the original code: > put fld "transcript" into tFinalTranscript > > # clean up extra lines at beginning and end > > repeat while ((line 1 of tFinalTranscript) is empty) > delete line 1 of tFinalTranscript > end repeat > > repeat until ((the last line of tFinalTranscript) is not empty) > delete the last line of tFinalTranscript > end repeat > > put tFinalTranscript > exit to top - It removed all the CRs from the beginning of the string - I removed the only one of the CRs from the end of the string Leaving me with: "This is a test" & CR As to why the original test seemed to leave what appeared to be CRs at the beginning made me think that some other whitespace (space, tab, etc.) was on the line which is why it couldn't be deleted. As to why there were CRs left at the *end*, seemed to prove out in my test. The reason is that when you delete the last line, that doesn't remove the preceding CR which is at the end of the previous line. So you'll always end up with a trailing CR (as I did). This is why I proposed my Trim function, since it handles all these things. However the original code would work, so long as: 1) You can be guaranteed that the leading/trailing whitespace is only CRs, and 2) That you add the following line just before you do the "put": if char -1 of tFinalTranscript = CR then delete char -1 of tFinalTranscript HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From gandalf at doctorTimothyMiller.com Wed Aug 10 16:50:40 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 10 Aug 2005 13:50:40 -0700 Subject: two more noob questions re "find" command In-Reply-To: <5E1FF6C9-095D-4D74-B399-BCC4B8E7C4E0@genesearch.com.au> References: <5E1FF6C9-095D-4D74-B399-BCC4B8E7C4E0@genesearch.com.au> Message-ID: >>Regarding the single-line message box command, I was trying to >>enhance the "find" script that Sarah generously posted for my >>benefit. It uses the single-line message box. >> > >Tim, > >You can easily change my script to se the multi-line message box instead. > >Cheers, >Sarah > Thanks, Sarah, I'm still using your script. It's a lot better than anything I had before. I have a "Sarah" button on the backgrounds of all the stacks I need to search now and then. It's remarkably fast. I think I'll try to cobble together a "find" utility stack that will search any stack I want, with a few extra features, as fast as the find in the message box. Now that I have stopped outsmarting myself regarding the "find" command, I think I can bypass the message box. You inspired me! Cheers, Tim From dick.kriesel at mail.com Wed Aug 10 17:45:20 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Wed, 10 Aug 2005 14:45:20 -0700 Subject: Repeat until (0r "while") not working In-Reply-To: Message-ID: On 8/9/05 7:36 PM, "Ken Ray" wrote: > On 8/9/05 8:17 PM, "Sivakatirswami" wrote: > >> I'm missing something very simple here, >> >> Goal: delete empty lines beginning and end of text chunk > > Try this: > > function trim pWhat > local tRetVal > get matchText(pWhat, "(?s)^\s*(.*?)\s*$", tRetVal) > return tRetVal > end trim > > > Trims all forms of whitespace (CRs, spaces, tabs, etc.) from the beginning > and end of a text chunk. Or try the following if you want only to strip all occurrences of a character, such as "return," from the beginning and/or ending of a string: function strip pString,pSide,pChar if pString is not empty then put pString into tString if pChar is empty then put return into tChar else put pChar into tChar switch pSide case "" case "both" put strip(tString,"left",tChar) into tString put strip(tString,"right",tChar) into tString break case "left" repeat until char 1 of tString is not tChar delete char 1 of tString end repeat break case "right" repeat until char -1 of tString is not tChar delete char -1 of tString end repeat break end switch return tString end if end strip From gbojsza at gmail.com Wed Aug 10 18:01:33 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 10 Aug 2005 18:01:33 -0400 Subject: Standalone Encrypt feature Message-ID: <3d8af4150508101501400ba5bf@mail.gmail.com> Hello, I have a stack that contains several other stacks. In standalone properties I : 1.Select the Encrypt feature. 2. Save the stack. 3. Build a standalone. When I run my application my button's script don't work. If I deselect the Encrypt feature and build a standalone then the application runs like it should. Does the Encrypt feature have limitations or restrictions that need to be met? thanks, From dick.kriesel at mail.com Wed Aug 10 18:08:09 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Wed, 10 Aug 2005 15:08:09 -0700 Subject: Repeat until (0r "while") not working In-Reply-To: <42F9730A.40704@chipp.com> Message-ID: On 8/9/05 8:22 PM, "Chipp Walters" wrote: > If you wanted to do it in a repeat loop: > > repeat with x = the number of lines in tFinalTranscript down to 1 > if line x of tFinalTranscript is "" then delete line x of > tFinalTranscript > end repeat Or, if you wanted to delete all the empty lines without a repeat loop, you could do as Jan Decroos suggested a year ago: filter field "transcript" without empty From sarahr at genesearch.com.au Wed Aug 10 18:40:18 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 11 Aug 2005 08:40:18 +1000 Subject: Standalone Encrypt feature In-Reply-To: <3d8af4150508101501400ba5bf@mail.gmail.com> References: <3d8af4150508101501400ba5bf@mail.gmail.com> Message-ID: <84A1DB0B-534D-48B6-AE6A-97687961D12F@genesearch.com.au> > I have a stack that contains several other stacks. > > In standalone properties I : > > 1.Select the Encrypt feature. > > 2. Save the stack. > > 3. Build a standalone. > > When I run my application my button's script don't work. > > If I deselect the Encrypt feature and build a standalone then the > application runs like it should. What does the button do? Does it use any Rev libraries or dialogs that might be missing e.g. answer, speech or something similar? Do other scripts owrk or is it just that one? What do you see if you turn on error reporting? You may have to turn of "Search for inclusions" and specify them manually as the Standalone builder may not be able to search an encrypted stack. HTH, Sarah From gbojsza at gmail.com Wed Aug 10 19:36:10 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 10 Aug 2005 19:36:10 -0400 Subject: Standalone Encrypt feature In-Reply-To: <84A1DB0B-534D-48B6-AE6A-97687961D12F@genesearch.com.au> References: <3d8af4150508101501400ba5bf@mail.gmail.com> <84A1DB0B-534D-48B6-AE6A-97687961D12F@genesearch.com.au> Message-ID: <3d8af415050810163650d1519d@mail.gmail.com> Thanks Sarah for the ideas. The mainstack opens up a substack which the user selects certain features, does the calculations and then places images in particular places on the mainstack. I tried building a standalone with all the substacks ecrypted and the mainstack NOT encrypted. This standalone works fine. I am not using any rev libraries nor do I seem to be missing anything. The stack in the IDE works perfectly fine. I don't think you can turn on error reporting in a standalone? Can you? Finally, I am not certain what you mean when you refer to "turning off search for inclusions"? I'm happy that the substacks were encrypted but the mainstack should also be encrypted IMHO. regards, On 8/10/05, Sarah Reichelt wrote: > > I have a stack that contains several other stacks. > > > > In standalone properties I : > > > > 1.Select the Encrypt feature. > > > > 2. Save the stack. > > > > 3. Build a standalone. > > > > When I run my application my button's script don't work. > > > > If I deselect the Encrypt feature and build a standalone then the > > application runs like it should. > > What does the button do? Does it use any Rev libraries or dialogs > that might be missing e.g. answer, speech or something similar? Do > other scripts owrk or is it just that one? What do you see if you > turn on error reporting? > > You may have to turn of "Search for inclusions" and specify them > manually as the Standalone builder may not be able to search an > encrypted stack. > > HTH, > Sarah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dweeble at wi.rr.com Wed Aug 10 20:13:48 2005 From: dweeble at wi.rr.com (Michael) Date: Wed, 10 Aug 2005 19:13:48 -0500 Subject: Registry DWORD Value Message-ID: <1123719229.3783.8.camel@localhost.localdomain> Hi all I'm looking to pull a SerialNumber dword value from the win registry and place into variable then to a field, a hexadecimal value, now how to get the true value, baseconvert this data or is there a better way ? Thanks for any help MichaelD From erikhans08 at yahoo.com Wed Aug 10 20:12:32 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Wed, 10 Aug 2005 17:12:32 -0700 (PDT) Subject: a Rev function() saying which .exe files are open after a shell(launch)? In-Reply-To: Message-ID: <20050811001232.96720.qmail@web33009.mail.mud.yahoo.com> is there a Rev function() saying which .exe files are open after a shell(launch)? in Windows? i looked in Rev & Windows Help, Find, menus but could not locate this. Thank you, 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 Wed Aug 10 20:17:59 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 11 Aug 2005 10:17:59 +1000 Subject: Standalone Encrypt feature In-Reply-To: <3d8af415050810163650d1519d@mail.gmail.com> References: <3d8af4150508101501400ba5bf@mail.gmail.com> <84A1DB0B-534D-48B6-AE6A-97687961D12F@genesearch.com.au> <3d8af415050810163650d1519d@mail.gmail.com> Message-ID: > I tried building a standalone with all the substacks ecrypted and the > mainstack NOT encrypted. This standalone works fine. > > I am not using any rev libraries nor do I seem to be missing anything. > > The stack in the IDE works perfectly fine. I don't think you can turn > on error reporting in a standalone? Can you? In the Standalone settings, the right-most button gets you to where you can set the error reporting. > > Finally, I am not certain what you mean when you refer to "turning off > search for inclusions"? In the General section of the Standalone settings, you can choose "Search for required inclusions..." which makes the Standalone builder search your stacks to see if you need the various libraries, dialogs, cursors, icons etc. There have been problems reported with this, so you might be better to choose "Select inclusions for the standalone application" and manually telling the Standalone builder what you want in your app. > > I'm happy that the substacks were encrypted but the mainstack should > also be encrypted IMHO. I agree, this should definitely be possible. Cheers, Sarah From mwieder at ahsoftware.net Thu Aug 11 00:18:36 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 10 Aug 2005 21:18:36 -0700 Subject: OT: Bug reports Message-ID: <19943851485.20050810211836@ahsoftware.net> The next time you feel like griping about Bugzilla: After every flight, pilots fill out a form, called a gripe sheet, that conveys to the mechanics problems encountered with the aircraft during the flight that need repair or correction. The mechanics read and correct the problem, and then respond in writing on the lower half of the form what remedial action was taken, and the pilot reviews the gripe sheets before the next flight. Ground crews and engineers do not lack a sense of humor. Here are some actual logged maintenance complaints and problems as submitted by Qantas pilots and the solution recorded by maintenance engineers. (P = The problem logged by the pilot.) (S = The solution and action taken by the mechanics.) P: Left inside main tire almost needs replacement. S: Almost replaced left inside main tire. P: Test flight OK, except auto-land very rough. S: Auto-land not installed on this aircraft. P: Something loose in cockpit. S: Something tightened in cockpit. P: Dead bugs on windshield. S: Live bugs on back-order. P: Autopilot in altitude-hold mode produces a 200 feet per minute descent. S: Cannot reproduce problem on ground. P: Evidence of leak on right main landing gear. S: Evidence removed. P: DME volume unbelievably loud. S: DME volume set to more believable level. P: Friction locks cause throttle levers to stick. S: That's what they're there for. P: IFF inoperative. S: IFF always inoperative in OFF mode. P: Suspected crack in windshield. S: Suspect you're right. P: Number 3 engine missing. S: Engine found on right wing after brief search. P: Aircraft handles funny. S: Aircraft warned to straighten up, fly right, and be serious. P: Target radar hums. S: Reprogrammed target radar with lyrics. P: Mouse in cockpit. S: Cat installed. P: Noise coming from under instrument panel. Sounds like a midget pounding on something with a hammer. S: Took hammer away from midget. -- Mark Wieder mwieder at ahsoftware.net From michaell at unimelb.edu.au Thu Aug 11 00:43:42 2005 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Thu, 11 Aug 2005 14:43:42 +1000 Subject: Repeat until (0r "while") not working Message-ID: Tried this in the message box: put the number of lines in ("This is a test" & CR) =>1 The transcript does what it should. The confusion is that the CR is part of the line that it ends, not the second line whose existence it seems to imply. At 11:03 PM -0500 10/8/05, Ken Ray wrote: >Here's the >stuff I found when I put (CR & CR & "This is a test" & CR & CR) into a field >and then ran the original code: > >> put fld "transcript" into tFinalTranscript >> >> # clean up extra lines at beginning and end >> >> repeat while ((line 1 of tFinalTranscript) is empty) >> delete line 1 of tFinalTranscript >> end repeat >> >> repeat until ((the last line of tFinalTranscript) is not empty) >> delete the last line of tFinalTranscript >> end repeat >> >> put tFinalTranscript >> exit to top > > >- It removed all the CRs from the beginning of the string >- I removed the only one of the CRs from the end of the string > >Leaving me with: "This is a test" & CR -- 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 revdan at danshafer.com Thu Aug 11 02:15:05 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 10 Aug 2005 23:15:05 -0700 Subject: Bug 2722 on WIndows? Message-ID: <01CFA3C0-6D89-466F-ACEB-BBAD8A11F196@danshafer.com> I just updated BZ#2722 which deals with OS X's lack of recognition of the word "words" in any context I can find. I'm not near my Windows machine for a day or two but if someone can check this and confirm that it's Mac or OS X only, I'd appreciate it. And vote for the bug if you want. It's probably not hugely serious but the docs clearly say you can use "words" but only the singular works. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revdan at danshafer.com Thu Aug 11 02:37:59 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 10 Aug 2005 23:37:59 -0700 Subject: Why can't I send tabKey? Message-ID: <08809DB5-58B5-44AE-A346-5B22D624F5EE@danshafer.com> Unless I'm losing it -- a distinct possibility -- there's an intriguing bug in Rev. I can use the "send" command to send all kinds of system messages to various objects. But if I try to send tabKey, with or without quotation marks and with or without a target, I always get a "can't find handler" error. Rev 2.6.1 on OS X 10.4.2. Can anyone confirm before I BZ this sucker? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From xbury.cs at clearstream.com Thu Aug 11 03:02:53 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 11 Aug 2005 09:02:53 +0200 Subject: # POSSIBLY SPAM #::Why can't I send tabKey? In-Reply-To: <08809DB5-58B5-44AE-A346-5B22D624F5EE@danshafer.com> Message-ID: > Unless I'm losing it -- a distinct possibility -- there's an > intriguing bug in Rev. > > I can use the "send" command to send all kinds of system messages to > various objects. > > But if I try to send tabKey, with or without quotation marks and with > or without a target, I always get a "can't find handler" error. > > Rev 2.6.1 on OS X 10.4.2. Can anyone confirm before I BZ this sucker? same with send "ResizeStack" I posted a mail to this respect some time ago... the trick is to on tabkey dotabkey end tabkey on dotabkey the script here end dotabkey send dotabkey... and that works! Note that if you do this with a stackinuse or frontscript and try to debug the doresizestack, you may crash rev (as usual) ;) cheers ---------------------=--------------------- Xavier Bury use-revolution-bounces at lists.runrev.com wrote on 11/08/2005 08:37:59: > Unless I'm losing it -- a distinct possibility -- there's an > intriguing bug in Rev. > > I can use the "send" command to send all kinds of system messages to > various objects. > > But if I try to send tabKey, with or without quotation marks and with > or without a target, I always get a "can't find handler" error. > > Rev 2.6.1 on OS X 10.4.2. Can anyone confirm before I BZ this sucker? > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From gcanyon at inspiredlogic.com Thu Aug 11 03:19:38 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Thu, 11 Aug 2005 00:19:38 -0700 Subject: Looking for suggestions/advice In-Reply-To: References: Message-ID: <01D4C63D-F7CD-4DE3-ADC1-C1AE8430E285@inspiredlogic.com> On Aug 10, 2005, at 11:55 AM, Rodney Somerstein wrote: > This application is going to require a scripting language. My > understanding is that Transcript isn't a viable scripting language > for this purpose (correct me if I'm wrong, please) because there > are limits as to how much can be done on the fly from an imported > script rather than one built into the stack. For example, I don't > think that I can have a user write a script that could be imported > as a module into a Revolution stack and executed without limiting > that script to 10 lines. By far the easiest way to handle this would be by exposing Transcript to your users. Send an email to the rev crew directly regarding your needs. The ten-line limit in executables is an artificial limit designed to prevent you from creating your own development environment in Rev and distributing it. It happened with SuperCard many years back. In the past, the rev crew have expressed at least a willingness to consider a separate license specifically to cover a situation like yours. gc From gcanyon at inspiredlogic.com Thu Aug 11 03:27:33 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Thu, 11 Aug 2005 00:27:33 -0700 Subject: Repeat until (0r "while") not working In-Reply-To: References: Message-ID: <41C2D365-6C57-4BD2-BEBB-E38F6AE1F97E@inspiredlogic.com> Others have answered the question of why your code might not be working. As to (possible) better methods, I like this one: put word 1 to -1 of tString into tString Note that this will also remove any leading whitespace on the first line that contains text, and any trailing whitespace on the final line that contains text, and any lines that contain only spaces or tabs. gc On Aug 9, 2005, at 6:17 PM, Sivakatirswami wrote: > I'm missing something very simple here, > > Goal: delete empty lines beginning and end of text chunk > From rodneys at io.com Thu Aug 11 03:31:20 2005 From: rodneys at io.com (Rodney Somerstein) Date: Thu, 11 Aug 2005 03:31:20 -0400 Subject: Looking for suggestions/advice In-Reply-To: <01D4C63D-F7CD-4DE3-ADC1-C1AE8430E285@inspiredlogic.com> References: <01D4C63D-F7CD-4DE3-ADC1-C1AE8430E285@inspiredlogic.com> Message-ID: >By far the easiest way to handle this would be by exposing >Transcript to your users. Send an email to the rev crew directly >regarding your needs. The ten-line limit in executables is an >artificial limit designed to prevent you from creating your own >development environment in Rev and distributing it. It happened with >SuperCard many years back. In the past, the rev crew have expressed >at least a willingness to consider a separate license specifically >to cover a situation like yours. Thanks for the advice Jeff. I agree with what you say as being best. I am creating a free program, so I don't want to spend more money on this hobby. I've already been paying for my Pro license each year. That is already more than I should spend on this product. I suppose that it wouldn't hurt to ask just in case they are willing to let me do it at no extra charge. Personally, I suspect it might end up selling a few extra licenses when people see what they can do so easily and I tell them where to go for an environment that would let them create programs of their own like that. But, short of that, does anyone have any other suggestions? -Rodney From tjframe at gmail.com Thu Aug 11 03:45:53 2005 From: tjframe at gmail.com (TJ Frame) Date: Thu, 11 Aug 2005 00:45:53 -0700 Subject: Upcoming features Message-ID: <7348a9e8050811004541bf05f6@mail.gmail.com> Does anyone know of a place where likely future enhancements and features are listed. I love Rev and, naturally, I'm curious as to what's coming down the road. For example, after browsing through the archives I noticed some talk of anti-aliased vector graphics and perhaps faster arrays through fixed size declarations etc . Has RunRev made any offical comments on what to expect in the coming months? - TJ From rjb at robelko.com Thu Aug 11 03:48:55 2005 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 11 Aug 2005 09:48:55 +0200 Subject: Looking for suggestions/advice In-Reply-To: References: <01D4C63D-F7CD-4DE3-ADC1-C1AE8430E285@inspiredlogic.com> Message-ID: >>By far the easiest way to handle this would be by exposing >>Transcript to your users. Send an email to the rev crew directly >>regarding your needs. The ten-line limit in executables is an >>artificial limit designed to prevent you from creating your own >>development environment in Rev and distributing it. It happened >>with SuperCard many years back. In the past, the rev crew have >>expressed at least a willingness to consider a separate license >>specifically to cover a situation like yours. > >Thanks for the advice Jeff. I agree with what you say as being best. >I am creating a free program, so I don't want to spend more money on >this hobby. I've already been paying for my Pro license each year. >That is already more than I should spend on this product. I suppose >that it wouldn't hurt to ask just in case they are willing to let me >do it at no extra charge. Personally, I suspect it might end up >selling a few extra licenses when people see what they can do so >easily and I tell them where to go for an environment that would let >them create programs of their own like that. > >But, short of that, does anyone have any other suggestions? > >-Rodney An alternative could be to have users who want to do more advanced scripting to purchase a copy of DreamCard. Robert From xbury.cs at clearstream.com Thu Aug 11 04:23:16 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 11 Aug 2005 10:23:16 +0200 Subject: Looking for suggestions/advice In-Reply-To: Message-ID: Rodney, One way to go around this limitation is to build an interpreter for the users. What the users could do is work on a list of instructions that your script interpreter would execute for them. This way you dont have the 10 line limit... However you have to wrap into handlers all the instructions you need to execute... Depends on the breath of the application naturally. Writing an interpreter is not as hard as it seems. Word 1 is a verb like doget, doset, doplay, doprint, doput, etc... Checking the parameters after this verb is where it gets interesting but the simpler you make it, the easier naturally. cheers Xavier use-revolution-bounces at lists.runrev.com wrote on 11/08/2005 09:31:20: > >By far the easiest way to handle this would be by exposing > >Transcript to your users. Send an email to the rev crew directly > >regarding your needs. The ten-line limit in executables is an > >artificial limit designed to prevent you from creating your own > >development environment in Rev and distributing it. It happened with > >SuperCard many years back. In the past, the rev crew have expressed > >at least a willingness to consider a separate license specifically > >to cover a situation like yours. > > Thanks for the advice Jeff. I agree with what you say as being best. > I am creating a free program, so I don't want to spend more money on > this hobby. I've already been paying for my Pro license each year. > That is already more than I should spend on this product. I suppose > that it wouldn't hurt to ask just in case they are willing to let me > do it at no extra charge. Personally, I suspect it might end up > selling a few extra licenses when people see what they can do so > easily and I tell them where to go for an environment that would let > them create programs of their own like that. > > But, short of that, does anyone have any other suggestions? > > -Rodney > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From douggilliland at gmail.com Thu Aug 11 06:01:58 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Thu, 11 Aug 2005 06:01:58 -0400 Subject: Disable the Home and End keys on a Mac Message-ID: <890e3d26050811030145ce440e@mail.gmail.com> Is there a way to disable the Home and End keys on a Mac? I have authored stacks for my high school students and don't want them to bypass my questions by hitting these keys to go forward or backward in the stack. Searched the Documentation (use the disable command?) and Shafer's book but none of my disable scripts would work. Thanks, Doug Gilliland Sarasota, FL From klaus at major-k.de Thu Aug 11 06:19:03 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 11 Aug 2005 12:19:03 +0200 Subject: Disable the Home and End keys on a Mac In-Reply-To: <890e3d26050811030145ce440e@mail.gmail.com> References: <890e3d26050811030145ce440e@mail.gmail.com> Message-ID: <53FF4711-C09C-4A0D-9478-317F6A58D4BD@major-k.de> Hi Doug, > Is there a way to disable the Home and End keys on a Mac? I have > authored stacks for my high school students and don't want them to > bypass my questions by hitting these keys to go forward or backward in > the stack. Searched the Documentation (use the disable command?) and > Shafer's book but none of my disable scripts would work. although these keys (Home/End) do NOT work anyhow here on my mac, try this: ... set the navigationarrows to false ... That will disable navigation between cards using the arrow keys and maybe the above mentioned keys also... At least worth a try :-) > Thanks, > Doug Gilliland > Sarasota, FL Regards Klaus Major klaus at major-k.de http://www.major-k.de From dweeble at wi.rr.com Thu Aug 11 07:59:09 2005 From: dweeble at wi.rr.com (Michael) Date: Thu, 11 Aug 2005 06:59:09 -0500 Subject: Help with Windows Registry Message-ID: <1123761550.10233.12.camel@localhost.localdomain> Hello I've run into getting the hexadecimal data from the windows registry. I need to pull the Value Data from a Dword Value but I just get a "0". I'm trying this: put queryRegistry("HKEY_LOCAL_MACHINE\CurrentControSet\Control \IDConfigDB\Alias\0001\ProfileNumber\")into field tNum Do I need to convert this Value Data since its Hexadecimal or can the value be read and placed into a field without conversion ? Any help with this would be great MichaelD From xbury.cs at clearstream.com Thu Aug 11 08:18:53 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 11 Aug 2005 14:18:53 +0200 Subject: Help with Windows Registry In-Reply-To: <1123761550.10233.12.camel@localhost.localdomain> Message-ID: Michael it is in hex so you have to read it as a hex (if the value is larger than 9, a-f will not make sense in decimal notation... so yes, you need to read it, convert it to hex (via baseconvert for example)and then put it into the field for editing. Reverse the line above to write it... cheers Xavier use-revolution-bounces at lists.runrev.com wrote on 11/08/2005 13:59:09: > Hello > I've run into getting the hexadecimal data from the windows registry. I > need to pull the Value Data from a Dword Value but I just get a "0". I'm > trying this: > put queryRegistry("HKEY_LOCAL_MACHINE\CurrentControSet\Control > \IDConfigDB\Alias\0001\ProfileNumber\")into field tNum > Do I need to convert this Value Data since its Hexadecimal or can the > value be read and placed into a field without conversion ? > Any help with this would be great > MichaelD > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From alex at tweedly.net Thu Aug 11 08:30:08 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 11 Aug 2005 13:30:08 +0100 Subject: Looking for suggestions/advice In-Reply-To: References: Message-ID: <42FB44D0.6080601@tweedly.net> Some big question here Rodney. I could do with another day or two to mull it all over before replying - but I know this weekend is going to be very busy, so I'll reply now - and maybe correct myself a bit on Monday or Tuesday. btw - I don't know what you mean by European-style modern games. I've previously thought about some of these issues specifically for card games (see RevOnline under user alextweedly for TriPeaks - this includes a PlayingCard library which you are welcome to use or take bits from as you wish). I've also done, but not yet posted, a Cribbage game - and it's definitely in the future plans to extend the number of games handled, and to make them networked so multiple people can play against each other and/or user-written stacks and/or the built-in rather basic game play). [ but I haven't resolved the questions I raise below about allocation of intelligence and game knowledge between the server and client - so that's on hold for now ] Rodney Somerstein wrote: > Now, on to what I want to ask for help with. I want to develop an > application which is a design/play environment for board/card games - > particularly European-style modern games. This program should allow > for people to create an add-on module to implement a particular game. > Initially, it will just allow people to import graphics for playing > pieces, cards, etc. and set up some very simple rules, such as how > many cards to draw at one time, whether cards are public or private > information, etc. Eventually I would like to allow the program to > completely handle the rules of the game including score keeping, > enforcement of all game rules, etc. I will start out very simple and > add complexity as time goes on. The first iterations will require the > user to do everything manually just to make sure I can handle dragging > pieces around, dealing cards, etc. Then I will start to automate each > of these things. > > I know that Revolution can easily handle the multi-player aspects via > communication with a central server that broadcasts the information to > everyone involved in the game. I'm not sure if this server should be > written in Rev or something else such as PHP. I'd do it in Rev - and probably use socket communication rather than http. That will make it easier to handle the asynchronous nature of some games. A large design decision is whether to make the server generic, or make it be scriptable for each game. Indeed, you could go to the other extreme and make *only* the server be scripted, and use a general purpose client. In that design, the client has no knowledge of the game being played - it simply receives commands from the server - here a list of named positions, and co-ords - put these pieces at these co-ords (visible or not) - enable these positions for user input - etc. I think this is how I will eventually do the networked card games (but I'm not yet sure). I also decided that I would have no reliance on information hiding in the client - if a card is "face down" for a client, the server does not say - 3 of spades, face down on the heap it simply says - a card face down on the heap This prevents anyone from writing (or modifying) their client to give them an advantage. Note this means the server does not broadcast info on what is happening - it must either customize the info for each client - deal 3 spades to player A [to player A] - deal a card to player A [ to players B, C, D] or use an encoding scheme to limit information visibility. (I'm going to do the latter, to simplify the server). > > I know that Revolution can make the graphical aspects of the program > much easier than more traditional languages. I'm still not sure about > being able to easily zoom in and out (scaling) the view of the game > board, but I suspect it can be handled dynamically in Rev as well. > No reason why it shouldn't be. > For my real dilemma, though. I brought up some ideas about this a > couple of years ago looking for advice. People seemed to indicate that > this should be a workable project in Rev. Now I'm looking for ideas as > to how to go about implementing things. > > Here are my questions/concerns: > > This application is going to require a scripting language. My > understanding is that Transcript isn't a viable scripting language for > this purpose (correct me if I'm wrong, please) because there are > limits as to how much can be done on the fly from an imported script > rather than one built into the stack. For example, I don't think that > I can have a user write a script that could be imported as a module > into a Revolution stack and executed without limiting that script to > 10 lines. Since a game could have several hundred pieces including > cards, game boards, scoring tracks, decks of cards, etc. that need to > have rules set for them, how can I go about this? Do I create XML tags > to allow this? Do I write my own interpreter that Rev then uses to > execute the scripts? I've never actually written a programming > language, but I know there are better methods than one big if-then > structure to parse through a line of code to figure out what it needs > to do. Any suggestions on how to easily learn what I need to do here > would be appreciated. > Again, I'm not sure about the kinds of games you want to allow. But for card games, it is not at all trivial to codify the rules and actions needed for a game. If you have a narrow range of games (analogous to "only whist family" or "only rummy games") then I think it would be feasible (and easier for your users to add a plug-in) with a task-specific language. But if you want to handle a wider range (e.g. points scoring in Cribbage) then I think you'd want a general purpose language such as Transcript. And given that anyone writing such a game is going to put in tens or hundreds of hours doing so, I'd suggest that they should accept the cost of a DC license. This will also give them an IDE and debugging environment, which is likely to be valuable, if not necessary, for any real game. For you to provide an IDE/debug environment for a task-specific language would be difficult. > I would like to allow the games to have computer players as well as > human. That ratchets up the requirements for a scripting language even > more. Is this something that Revolution is well suited to? Or should I > really be looking at other languages such as Java? I could let users > script things via Python or Ruby if I used Java. I know the downsides > of developing in a language such as Java rather than Revolution. I > just have this nagging feeling that it may actually make for a better > cross-platform development system than Rev for what I want to do. I'd > be happy to be disabused of this notion. > I'd design the client-server protocol carefully to be language-neutral. And the people can code up "players" in any language they like - and indeed you'll be free to make this decision for yourself independent of what you decided for the server and/or GUI client. Personally, I'd only consider dynamic languages - Transcript, Python maybe Ruby. I don't see advantages for this purpose for Java or C# or others. If the idea of requiring a DC license would be a big problem, then I'd consider doing the server (including the rules-interpreter) in Python, and the client / GUI in Rev. But I think some people who could readily learn enough Transcript to write a plug-in will find it harder or impossible to use Python - so that might cut down on your plug-in developer base. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 From DanielWenger at worldnet.att.net Thu Aug 11 08:53:29 2005 From: DanielWenger at worldnet.att.net (Daniel Wenger) Date: Thu, 11 Aug 2005 05:53:29 -0700 Subject: AppleScript issue with returns in database (FMP) fields Message-ID: I have an AppleScript script in a Revolution stack. The script, when tested via the (AppleScript) Script Editor, gets records from a File Maker Pro (ver. 5) database without problem. Some fields in the FMP database have returns separating lines of text. The Script Editor brings the returns into the result with no problem. When the script is executed in Revolution via a "do as AppleScript" command the result returns the information from the FMP fields with the return chars missing. All lines from within the FMP field are joined together. Any ideas as to how to fix this? I am on the road and email access is limited so replies will not always be answered immediately. Daniel Wenger From subzero569 at gmail.com Thu Aug 11 09:08:45 2005 From: subzero569 at gmail.com (subzero569) Date: Thu, 11 Aug 2005 09:08:45 -0400 Subject: 2 Week Reminder Notice Message-ID: <8f8651c105081106086442c94@mail.gmail.com> I have been searching the archives for information and haven't really found an answer. I am new to Rev and have only posted a few times. Basically, I have stand-alone app for Windows (the .exe is encrypted) and I want to implement a two week reminder notice to the user to check a website for information. The URL won't be active I just want the reminder to generate every two weeks without using external files. The reminder would be different times for every installation. I was thinking of recording the system date on first launch and then using that to calculate the two week reminder from that point on. Am I on the right path? I welcome the feedback and support. TIA, Josh -- Inch by inch, life is a cinch. Yard by yard, life is very hard. From AMACHADO at bouyguestelecom.fr Thu Aug 11 09:20:37 2005 From: AMACHADO at bouyguestelecom.fr (AMACHADO at bouyguestelecom.fr) Date: Thu, 11 Aug 2005 15:20:37 +0200 Subject: Selecting a field in a List Field Message-ID: Hello everyone, I'm a very beginner with Revolution and I want to do the following : >From a List Field, when I click on a field, another List Field replaces the first one I want to do something like this ---------------------------------- "Home" List field : 1 GoTo menu 1 2 GoTo menu 2 3 GoTo menu 3 If I click on 'GoTo menu 2' : Another List Field replaces the "Home" Field List. ---------------------------------- Can someone help me and give me some tips ? I tried to compare (on Mouse Down) using SelectedLine() : but I need to compare with "line X of item 1" How do you replace a FieldList by another ? Thanks a lot. Alexandre Machado ____________________________________________________________ L'integrite de ce message n'etant pas assuree sur Internet, Bouygues Telecom ne peut etre tenue responsable de son contenu en ce compris les pieces jointes. Toute utilisation ou diffusion non autorisee est interdite. Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur. The integrity of this message cannot be guaranteed on the Internet. Bouygues Telecom cannot therefore be considered liable for the contents including its attachments. Any unauthorized use or dissemination is prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender. ____________________________________________________________ From kray at sonsothunder.com Thu Aug 11 11:08:48 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 11 Aug 2005 10:08:48 -0500 Subject: Why can't I send tabKey? In-Reply-To: <08809DB5-58B5-44AE-A346-5B22D624F5EE@danshafer.com> Message-ID: On 8/11/05 1:37 AM, "Dan Shafer" wrote: > But if I try to send tabKey, with or without quotation marks and with > or without a target, I always get a "can't find handler" error. That's because 'tabKey' isn't treated as a handler... it's treated as a keystroke. You need to "type tabkey" instead of "send". I think this would be the same as functionKey, etc. But I agree with you - if it is a handler that can be trapped, it should be able to be "sent". So I'd still BZ it. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Thu Aug 11 11:14:46 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 11 Aug 2005 10:14:46 -0500 Subject: Help with Windows Registry In-Reply-To: <1123761550.10233.12.camel@localhost.localdomain> Message-ID: On 8/11/05 6:59 AM, "Michael" wrote: > Hello > I've run into getting the hexadecimal data from the windows registry. I > need to pull the Value Data from a Dword Value but I just get a "0". I'm > trying this: > put queryRegistry("HKEY_LOCAL_MACHINE\CurrentControSet\Control > \IDConfigDB\Alias\0001\ProfileNumber\")into field tNum > Do I need to convert this Value Data since its Hexadecimal or can the > value be read and placed into a field without conversion ? > Any help with this would be great Take a look at the tip at my site: http://www.sonsothunder.com/devres/revolution/revolution.htm?_win001 This has to do with *setting* binary data in the registry, but you only need to do the reverse in order to retrieve it. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jacque at hyperactivesw.com Thu Aug 11 11:15:32 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 11 Aug 2005 10:15:32 -0500 Subject: Disable the Home and End keys on a Mac In-Reply-To: <890e3d26050811030145ce440e@mail.gmail.com> References: <890e3d26050811030145ce440e@mail.gmail.com> Message-ID: <42FB6B94.4090509@hyperactivesw.com> Douglas Gilliland wrote: > Is there a way to disable the Home and End keys on a Mac? I have > authored stacks for my high school students and don't want them to > bypass my questions by hitting these keys to go forward or backward in > the stack. Searched the Documentation (use the disable command?) and > Shafer's book but none of my disable scripts would work. These do nothing on my Mac, so I'm not sure what you are seeing. Do you have a custom frontscript installed, or a rawKeyDown handler? Anyway, you can probably use a rawKeyDown handler to trap those keys, and only pass the message if the key isn't one you want to block. Other ways to stop keyboard navigation: set the navigationArrows to true, or write an arrowKey handler that doesn't pass the message: on arrowkey -- block end arrowkey -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Thu Aug 11 11:19:55 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 11 Aug 2005 10:19:55 -0500 Subject: Disable the Home and End keys on a Mac In-Reply-To: <890e3d26050811030145ce440e@mail.gmail.com> Message-ID: On 8/11/05 5:01 AM, "Douglas Gilliland" wrote: > Is there a way to disable the Home and End keys on a Mac? I have > authored stacks for my high school students and don't want them to > bypass my questions by hitting these keys to go forward or backward in > the stack. Searched the Documentation (use the disable command?) and > Shafer's book but none of my disable scripts would work. Hmm... Home and End shouldn't navigate cards... only the arrow keys should do that. If you turn off the navigationArrows that takes care of the arrow keys. To trap for Home and End keys, you need to trap the 'rawKeyDown' or 'rawKeyUp' handlers and look for the keycode 65360 (for Home) and 65367 (for End). HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Thu Aug 11 11:24:05 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 11 Aug 2005 10:24:05 -0500 Subject: AppleScript issue with returns in database (FMP) fields In-Reply-To: Message-ID: On 8/11/05 7:53 AM, "Daniel Wenger" wrote: > I have an AppleScript script in a Revolution stack. The script, when > tested via the (AppleScript) Script Editor, gets records from a File > Maker Pro (ver. 5) database without problem. Some fields in the FMP > database have returns separating lines of text. The Script Editor > brings the returns into the result with no problem. > > When the script is executed in Revolution via a "do as AppleScript" > command the result returns the information from the FMP fields with > the return chars missing. All lines from within the FMP field are > joined together. > > Any ideas as to how to fix this? I think FM Pro uses a different character for returns in a field, I think it's ASCII 11, which may not show up as a visible char. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From b.xavier at internet.lu Thu Aug 11 12:03:21 2005 From: b.xavier at internet.lu (MisterX) Date: Thu, 11 Aug 2005 18:03:21 +0200 Subject: Why can't I send tabKey? In-Reply-To: Message-ID: <20050811154856.26AB88248D8@mail.runrev.com> i already bz it long ago... what of resizestack? is that something you can "type"? hmmm funny i thought i had bugzillaed that before... im pretty sure... but i found a way around of it so im not too concerned anymore... probably lost in the GM fury days. Hence the resizestack... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ken Ray > Sent: Thursday, August 11, 2005 17:09 > To: Use Revolution List > Subject: Re: Why can't I send tabKey? > > On 8/11/05 1:37 AM, "Dan Shafer" wrote: > > > But if I try to send tabKey, with or without quotation > marks and with > > or without a target, I always get a "can't find handler" error. > > That's because 'tabKey' isn't treated as a handler... it's > treated as a keystroke. You need to "type tabkey" instead of > "send". I think this would be the same as functionKey, etc. > But I agree with you - if it is a handler that can be > trapped, it should be able to be "sent". So I'd still BZ it. > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rjearp at hotmail.com Thu Aug 11 12:43:02 2005 From: rjearp at hotmail.com (Bob Earp) Date: Thu, 11 Aug 2005 09:43:02 -0700 Subject: Bug 2722 on Windoze Message-ID: Dan, Both "word" and "words" seem to work on WinXP, however "words" only seems to work in the find, sort, search and numbers functions. best, Bob... PS, Rev is definitely quirky, that's why you love it ;-) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~` I just updated BZ#2722 which deals with OS X's lack of recognition of the word "words" in any context I can find. I'm not near my Windows machine for a day or two but if someone can check this and confirm that it's Mac or OS X only, I'd appreciate it. And vote for the bug if you want. It's probably not hugely serious but the docs clearly say you can use "words" but only the singular works. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _________________________________________________________________ Take charge with a pop-up guard built on patented Microsoft? SmartScreen Technology http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN? Premium right now and get the first two months FREE*. From revdan at danshafer.com Thu Aug 11 12:46:52 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 11 Aug 2005 09:46:52 -0700 Subject: Why can't I send tabKey? In-Reply-To: References: Message-ID: <19FF3E10-F079-4AA3-A32F-BEF8BEDCBA38@danshafer.com> Ken.... While "type tabKey" doesn't generate an error, it also doesn't do what I think it should. In my book, I had a script: on openCard type tabKey end openCard I suggested that if you did this, you could force the first field (in tab order, of course) on a card to be active when a new card opens. Doesn't work (though I could *swear* I tested it in 1.1.1 or whatever version was current when I wrote the book two years ago). Nothing happens. So I don't know if the tabKey is actually being typed or not but if it is, it's not doing what I think tabbing SHOULD do. Dan On Aug 11, 2005, at 8:08 AM, Ken Ray wrote: > On 8/11/05 1:37 AM, "Dan Shafer" wrote: > > >> But if I try to send tabKey, with or without quotation marks and with >> or without a target, I always get a "can't find handler" error. >> > > That's because 'tabKey' isn't treated as a handler... it's treated > as a > keystroke. You need to "type tabkey" instead of "send". I think > this would > be the same as functionKey, etc. But I agree with you - if it is a > handler > that can be trapped, it should be able to be "sent". So I'd still > BZ it. > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From d.cano.lagneaux at gmail.com Thu Aug 11 07:41:32 2005 From: d.cano.lagneaux at gmail.com (Diego Cano Lagneaux) Date: Thu, 11 Aug 2005 11:41:32 -0000 Subject: Revolution on Linux: launching issue Message-ID: Hello, I am new to the Revolution world, and trying to install it on a Gentoo Linux x86 PC. The installation process is quite simple (just untar and launch), so I can not find where is the problem: When I launch revolution, nothing happens. The shell keeps waiting (it does not return to the prompt), as if the application was actually launched, but I can not see any RunRev window. Anyone could give me RunRev's dependencies, and maybe some directions? Thanks, Diego -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ From capellan2000 at yahoo.com Thu Aug 11 12:58:04 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 11 Aug 2005 09:58:04 -0700 (PDT) Subject: OT: Bug reports Message-ID: <20050811165804.66597.qmail@web40511.mail.yahoo.com> on Wed, 10 Aug 2005 21:18:36 -0700 Mark Wieder wrote: > The next time you feel like griping about Bugzilla Look, this website is a classic on bug report, The Page of Computer Stupidities... :-D Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From rjearp at hotmail.com Thu Aug 11 12:59:48 2005 From: rjearp at hotmail.com (Bob Earp) Date: Thu, 11 Aug 2005 09:59:48 -0700 Subject: Bugzilla REALLY works !! Message-ID: I just thought I'd let the sceptics know that Bugzilla (aka Rev engineering & support) REALLY works!! Now saying that may indicate that I was a sceptic too, well maybe ;-) After posting [Bug 2931] "Wrong/Omitted Revolution version number" a very short time time ago, I was pleasantly surprised to get a message today saying it was fixed, yahooo!! .... and this was without any solicitation to others to vote for it. For all those naysayers I'd like to comment that yes, Rev is quirky (at least on Windoze) and you have to have patience to learn and become confident with it, but the developer community trips over itself to help so you're never far from expert and free support. Put a $$ figure on that !! Now I have even more confidence in Kevin, Mark and the rest of the Rev gang in that they are listening to us and actioning requests, but please remember they have a whole world to satisfy plus a bottom line to consider, so their priorities may not be yours... best, Bob... Bob Earp - White Rock, BC _________________________________________________________________ Take charge with a pop-up guard built on patented Microsoft? SmartScreen Technology. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN? Premium right now and get the first two months FREE*. From kray at sonsothunder.com Thu Aug 11 13:30:46 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 11 Aug 2005 12:30:46 -0500 Subject: Why can't I send tabKey? In-Reply-To: <19FF3E10-F079-4AA3-A32F-BEF8BEDCBA38@danshafer.com> Message-ID: On 8/11/05 11:46 AM, "Dan Shafer" wrote: > Ken.... > > While "type tabKey" doesn't generate an error, it also doesn't do > what I think it should. Whoop! My bad... it should be "type tab", not "type tabkey". Keep in mind that the first focusable object on the card will already become active when the card opens, so typing "tab" may actually go to the *second* field. For example, I made a sample stack with three fields and using the script: on openCard type tab end openCard And when it opened, the focus was in the second field. If I didn't put any script, the focus was in the first field. Better advice would be to use the focus command (like "focus field 1") or something, I would think. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From pevensen at siboneylg.com Thu Aug 11 13:51:29 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 11 Aug 2005 12:51:29 -0500 Subject: Bugzilla REALLY works !! In-Reply-To: References: Message-ID: <6.2.1.2.2.20050811125049.06fbb108@exchange.slg.com> I was delighted to see some of my bugs had feedback, including one that was my misunderstanding of how revSetStackFileProfile works with the modal command. Way to go RunRev! At 11:59 AM 8/11/2005, you wrote: >I just thought I'd let the sceptics know that Bugzilla (aka Rev >engineering & support) REALLY works!! Now saying that may indicate that I >was a sceptic too, well maybe ;-) > >After posting [Bug 2931] "Wrong/Omitted Revolution version number" a very >short time time ago, I was pleasantly surprised to get a message today >saying it was fixed, yahooo!! > >.... and this was without any solicitation to others to vote for it. > >For all those naysayers I'd like to comment that yes, Rev is quirky (at >least on Windoze) and you have to have patience to learn and become >confident with it, but the developer community trips over itself to help >so you're never far from expert and free support. Put a $$ figure on that !! > >Now I have even more confidence in Kevin, Mark and the rest of the Rev >gang in that they are listening to us and actioning requests, but please >remember they have a whole world to satisfy plus a bottom line to >consider, so their priorities may not be yours... > >best, Bob... > >Bob Earp - White Rock, BC > >_________________________________________________________________ >Take charge with a pop-up guard built on patented Microsoft? SmartScreen >Technology. >http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines >Start enjoying all the benefits of MSN? Premium right now and get the >first two months FREE*. > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From stephenREVOLUTION at barncard.com Thu Aug 11 13:51:21 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 11 Aug 2005 10:51:21 -0700 Subject: Looking for suggestions/advice Message-ID: > >But, short of that, does anyone have any other suggestions? > >-Rodney Yes, by all means write an interpreter! It's not that hard and fun too, with no script limits. I did this in Hypercard once. I needed to munge huge text files for translation between databases, so I created an 'action processor' with a simple language that could save its code as a resource in the stack. Just make it human-readable, and you can even use some of the 'forbidden words' used for Transcript. Most of your 'interpreter' is going to consist of CASE or IF-THEN statements. You're going to need some time brainstorming the structure --but are basically just redirecting your new commands to rev handlers. Error checking and validation is up to you. And of course since you're writing it, it's extensible at all times. This also has added security, as you completely control what happens in your world, as opposed to using the rev script system - and message path - to interpret your scripts. From revdan at danshafer.com Thu Aug 11 13:54:57 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 11 Aug 2005 10:54:57 -0700 Subject: Why can't I send tabKey? In-Reply-To: References: Message-ID: <16B7B9F2-DEE8-485B-BF4C-695F21A255EB@danshafer.com> Yeah, I agree. But this discussion is in a part of the book where I'm talking about the type command which otherwise has little value. :-D On Aug 11, 2005, at 10:30 AM, Ken Ray wrote: > Better advice would be to use the focus command (like "focus field > 1") or > something, I would think. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revdan at danshafer.com Thu Aug 11 14:01:23 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 11 Aug 2005 11:01:23 -0700 Subject: Why can't I send tabKey? In-Reply-To: References: Message-ID: <38C7A35E-A2D8-489A-B23F-7A1EA4A25D31@danshafer.com> Interesting, Ken. When I don't use a script in this particular stack, nothing has the focus when the card opens. (Or at least it appears nothing does. I have two fields and a button. The button's traversalOn property is false. When I open the stack, the first field gets the focus. Thereafter, the card gets the focus on each openCard. I confirmed this by adding a line: put the focusedObject into the openCard handler right after the tab key was simulated. If I then comment out the "send tab" command, the card gets the focus. If I leave it in, the focus goes to the first field. Maybe this is a platform difference? I'm running on Tiger. On Aug 11, 2005, at 10:30 AM, Ken Ray wrote: > when it opened, the focus was in the second field. If I didn't put any > script, the focus was in the first field. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From FlexibleLearning at aol.com Thu Aug 11 14:08:04 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu, 11 Aug 2005 14:08:04 EDT Subject: AppleScript issue with returns in database (FMP) fields Message-ID: <1ee.4193a203.302cee04@aol.com> On 8/11/05 7:53 AM, "Daniel Wenger" wrote: > I have an AppleScript script in a Revolution stack. The script, when > tested via the (AppleScript) Script Editor, gets records from a File > Maker Pro (ver. 5) database without problem. Some fields in the FMP > database have returns separating lines of text. The Script Editor > brings the returns into the result with no problem. > > When the script is executed in Revolution via a "do as AppleScript" > command the result returns the information from the FMP fields with > the return chars missing. All lines from within the FMP field are > joined together. > > Any ideas as to how to fix this? If memory serves, FMP (like MSWord cells) uses numtochar(11) or a vertical tab for CR and numtochar(9) or a horizontal tab for TAB. When you import the data, use "replace numtochar(11) with CR in tData" and "replace numtochar(9) with TAB in tData" to re-instate the formatting. /H The Flexible Learning Company Home of The Scripter's Scrapbook www.FlexibleLearning.com/ssbk.htm From lists at mangomultimedia.com Thu Aug 11 14:15:11 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 11 Aug 2005 11:15:11 -0700 Subject: Cool External load unLoad libary stack handler Script In-Reply-To: <42F9166B.5030003@chipp.com> References: <94A28493-2426-4F9D-8CC7-981C501B6F71@blueyonder.co.uk> <31D35879-8D10-4435-9BB4-C71477E092BA@danshafer.com> <6.2.1.2.2.20050808154645.01f1cfd8@exchange.slg.com> <42F7D82D.9000702@chipp.com> <9648746613.20050808214847@ahsoftware.net> <42F849C4.6050803@chipp.com> <47FB85E8-7D50-4017-B075-A836FC8F67F9@internettrainer.com> <9452C28C-83A5-4390-A6CC-C202B7C26F43@mangomultimedia.com> <42F9166B.5030003@chipp.com> Message-ID: <1837619D-BCAB-4EF0-95EA-F7F3912C4B92@mangomultimedia.com> I just wanted to point a small modification to this script. The handler I posted early will change your default stack to the externals stack. This modified handler will not change the defaultStack. I also changed the logic so that if the externals stack has already been loaded it won't be put in use again. on loadAppExternals local tExternals ---------- --> EXTERNALS ---------- put "myExternal.bundle" &cr& "myExternal.dll" into tExternals ---------- --> CREATE EXTERNALS STACK IN MEMORY ---------- if tExternals <> empty then if there is not a stack "myExternals" then reset templateStack set destroyWindow of templateStack to true set destroyStack of templateStack to true set visible of templateStack to false set externals of templateStack to tExternals create stack "myExternals" reset templateStack get defaultStack go stack "myExternals" start using stack "myExternals" set defaultStack to it end if end if end loadAppExternals -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From psahores at easynet.fr Thu Aug 11 14:28:11 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Thu, 11 Aug 2005 20:28:11 +0200 Subject: Revolution on Linux: launching issue In-Reply-To: References: Message-ID: <7738C1EC-885A-4C69-B6B6-0D57AD89BE94@easynet.fr> Hello, I would suspect that the rev engine permissions are not set to executable. Common trouble after just untar the soft under Suse too... If you run in troubles with copy/paste tasks, be sure that there are no "deadlock" conflicts between the Rev internal clipboard and the KDE's, Gnome and (so on) ones. As using Rev under the linux platform (n-tier solutions) for years, i can assure that Rev a great framework and tool under *NIXes too ! Kind Regards, Le 11 ao?t 05 ? 13:41, Diego Cano Lagneaux a ?crit : > Hello, > I am new to the Revolution world, and trying to install it on a > Gentoo Linux x86 PC. > The installation process is quite simple (just untar and launch), > so I can not find where is the problem: > > When I launch revolution, nothing happens. The shell keeps waiting > (it does not return to the prompt), as if the application was > actually launched, but I can not see any RunRev window. > > Anyone could give me RunRev's dependencies, and maybe some directions? > > Thanks, > Diego > -- > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours skype : psahores psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From rodneys at io.com Thu Aug 11 14:45:29 2005 From: rodneys at io.com (Rodney Somerstein) Date: Thu, 11 Aug 2005 14:45:29 -0400 Subject: Looking for suggestions/advice In-Reply-To: <42FB44D0.6080601@tweedly.net> References: <42FB44D0.6080601@tweedly.net> Message-ID: Thanks to everyone for the suggestions so far. Robert's suggestion about requiring anyone who wants to create game modules to purchase a Dreamcard license won't work. This is an open source/free project I'm embarking on. Using Revolution makes the open source aspects less so as fewer people will have access to the source since it requires a commercial tool. However, I'm willing to live with that if I can work around the other limitations. Requiring people to have a copy of Dreamcard to write a game AI is probably feasible as few people will likely do that anyway. Xavier's suggestion to write an interpreter is pretty much what I expect would be required if I do the project in Revolution. Yes, a highly structured language where each command consists of a verb followed by arguments doesn't seem that tough to write. Two issues with this for me, though. First of all, I know there are such things as grammatical parsers that make this kind of work easier. Though I have no idea of the methodologies involved in creating/using such a thing. This is a little bit of a barrier for me. Simply using a series of if-then-else statements to parse a command file will likely be slow and I need to find a better way if I go this route. It seems that XML might be viable as Rev has built in functionality for this and I am already familiar with XML. Being able to use a DTD or schema to validate a command file would greatly simplify my work by eliminating the need for me to write the code to do so. The problem with this approach is that it is limited to what features I can support in the language/XML application. I expect I would never write a language capable of creating a game AI and would have to fall back on people creating such in Transcript, requiring them to at least license Dreamcard. Now on to Alex's reply >btw - I don't know what you mean by European-style modern games. >I've previously thought about some of these issues specifically for >card games (see RevOnline under user alextweedly for TriPeaks - this >includes a PlayingCard library which you are welcome to use or take >bits from as you wish). I've also done, but not yet posted, a >Cribbage game - and it's definitely in the future plans to extend >the number of games handled, and to make them networked so multiple >people can play against each other and/or user-written stacks and/or >the built-in rather basic game play). [ but I haven't resolved the >questions I raise below about allocation of intelligence and game >knowledge between the server and client - so that's on hold for now ] I will definitely take a look at your PlayingCard library. I suspect it would save me a lot of work in implementing this kind of thing myself. What I mean by "European-style modern games" is a kind of game that is called by many names. They are also known as German games, designer games, and family strategy games. They tend to be about 2 hours or less in length, focus on non-war based strategy, have a theme of some sort, and use custom playing components. They can be card games, board games, a combination of the two, or other things such as dice based games. They are not the stereotypical American roll the dice and move the marker around a track kind of game. There is a strong and growing group of hobbyists who play these kinds of games in Europe (primarily Germany), the US, and throughout the rest of the world. In Germany, the premier annual game show in Essen draws well over 100,000 people to attend. >>I know that Revolution can easily handle the multi-player aspects >>via communication with a central server that broadcasts the >>information to everyone involved in the game. I'm not sure if this >>server should be written in Rev or something else such as PHP. > >I'd do it in Rev - and probably use socket communication rather than >http. That will make it easier to handle the asynchronous nature of >some games. When I brought this up previously, someone suggested that I use a central server for communication rather than peer to peer. Using something such as PHP would save me a lot of implementation work. I don't really need the server to maintain the game state in such a case, the clients can do it. The server would be primarily to allow people to connect and then broadcast the game information. Each client would need to have a copy of the game module for the game being played. Obviously there are a lot of design considerations that need to be thought through regardless of whether I use an existing server technology (I'm definitely looking for suggestions) or roll my own. I don't know that using sockets for communication necessarily means creating my own server. >A large design decision is whether to make the server generic, or >make it be scriptable for each game. Indeed, you could go to the >other extreme and make *only* the server be scripted, and use a >general purpose client. In that design, the client has no knowledge >of the game being played - it simply receives commands from the >server > - here a list of named positions, and co-ords > - put these pieces at these co-ords (visible or not) > - enable these positions for user input > - etc. This is an approach that I haven't considered before and I'll have to think about it. With a system such as you are creating using generic playing cards, this is easier. With the system I'm thinking about, there is a large amount of custom graphics and such required for each game. A purely generic client might not work because of this. But it might be possible. Again, I'll have to think about it a little bit. >I also decided that I would have no reliance on information hiding >in the client - if a card is "face down" for a client, the server >does not say > - 3 of spades, face down on the heap >it simply says > - a card face down on the heap > >This prevents anyone from writing (or modifying) their client to >give them an advantage. > >Note this means the server does not broadcast info on what is >happening - it must either customize the info for each client > - deal 3 spades to player A [to player A] > - deal a card to player A [ to players B, C, D] >or use an encoding scheme to limit information visibility. (I'm >going to do the latter, to simplify the server). I'm not too concerned about people cheating in this way. People doing so would quickly get a bad reputation and would likely be shunned by others. I will try to build in at least some simple safeguards. Given how much more complex these games can possibly be than standard card games, I'm not sure that having the server handle everything is the best way to go. This is especially the case since I don't want to have to modify the server to handle each game. Also, it would be nice if when an AI is added to a game, people could play it standalone, such as on an airplane, without an Internet connection. Requiring the server to handle all playing logic would eliminate this possibility. >>I know that Revolution can make the graphical aspects of the >>program much easier than more traditional languages. I'm still not >>sure about being able to easily zoom in and out (scaling) the view >>of the game board, but I suspect it can be handled dynamically in >>Rev as well. >> >No reason why it shouldn't be. I agree it should be possible to do. I don't think I've seen any examples of this in Rev, though. It is very common in computer games, especially strategy games. I would ideally like the user to be able to use the scroll wheel on a mouse, for example, to zoom in and out on the playing area within their client. >Again, I'm not sure about the kinds of games you want to allow. But >for card games, it is not at all trivial to codify the rules and >actions needed for a game. If you have a narrow range of games >(analogous to "only whist family" or "only rummy games") then I >think it would be feasible (and easier for your users to add a >plug-in) with a task-specific language. But if you want to handle a >wider range (e.g. points scoring in Cribbage) then I think you'd >want a general purpose language such as Transcript. > >And given that anyone writing such a game is going to put in tens or >hundreds of hours doing so, I'd suggest that they should accept the >cost of a DC license. This will also give them an IDE and debugging >environment, which is likely to be valuable, if not necessary, for >any real game. For you to provide an IDE/debug environment for a >task-specific language would be difficult. I agree that codifying rules and actions for games is far from trivial. I have spent several years thinking about the various kinds of rules and actions needed for such a system. I need everything from moving pieces, dealing cards, rolling dice, to controlling areas of a board and scoring. Handling the variety of standard card games seems much easier to me than what I am proposing. Being able to handle traditional card games is actually a subset of what I want to do. Having a general purpose scripting language would make all of this much easier. There will inevitably be concepts that I miss or won't have implemented yet. If someone else could relatively easily do this, it makes things much simpler and much more flexible. >>I would like to allow the games to have computer players as well as >>human. That ratchets up the requirements for a scripting language >>even more. Is this something that Revolution is well suited to? Or >>should I really be looking at other languages such as Java? I could >>let users script things via Python or Ruby if I used Java. I know >>the downsides of developing in a language such as Java rather than >>Revolution. I just have this nagging feeling that it may actually >>make for a better cross-platform development system than Rev for >>what I want to do. I'd be happy to be disabused of this notion. >> >I'd design the client-server protocol carefully to be language-neutral. >And the people can code up "players" in any language they like - and >indeed you'll be free to make this decision for yourself independent >of what you decided for the server and/or GUI client. > >Personally, I'd only consider dynamic languages - Transcript, Python >maybe Ruby. I don't see advantages for this purpose for Java or C# >or others. > >If the idea of requiring a DC license would be a big problem, then >I'd consider doing the server (including the rules-interpreter) in >Python, and the client / GUI in Rev. But I think some people who >could readily learn enough Transcript to write a plug-in will find >it harder or impossible to use Python - so that might cut down on >your plug-in developer base. As you've probably seen from my discussion above, I much prefer not to require a Dreamcard license. For the average person, they wouldn't even consider creating an AI player or players for a game. They shouldn't need to know much programming at all. I would provide commands for standard functionality such as rolling dice, dealing cards, etc. Designers would have to specify how many dice, how many sides the dice have, what image files their cards are in, how many cards per deck, how many to deal, whether dealt cards are public or private knowledge, etc. I saw someone else start designing such a system once in Visual Basic. They had a very simple language that allowed users to build a surprising variety of games. It was up to the players to handle most of the rules during the game. Unfortunately, this person disappeared and no one has been able to track him down. Something like this would be the early releases of my system. The average game designer would not need to learn Transcript/Python/Ruby. Only people wishing to extend the game language or write a player AI would need to do so. If I use Java, it would have embedded Python or Ruby interpreters (Jython or the Ruby equivalent) in all likelihood. I'm more familiar with Python but have started reading about Ruby recently. Even something like Lua could work, but why not have the flexibility of the other two more powerful languages that I mentioned? I see a need for a language such as Java or an environment like Rev as the base for the client program because it allows creation of cross-platform UIs. While it is possible to do this with both Python and Ruby, neither have standard UI systems in the language. Simply creating a standalone application in either of those languages requires somewhat cumbersome installation procedures at this time. (Though how cumbersome this is depends on the individual deployment platform.) For this to work, it has to be very simple for me to supply an installer for at least Windows and Mac OS X. Supporting Linux as well makes sense to me. Hmmm... maybe someone should create an environment or language to facilitate this? ;-) I'm more interested in creating a system to make it easy for creating such games rather than a generic server system for people to use when writing game programs. So it isn't a problem making the server a little more specific to what I'm doing. I will try to have the server protocols be language neutral just to provide flexibility in being able to replace the server with something better in the future with a minimum of effort. Thanks for the input from everyone and I look forward to seeing more discussion from anyone interested in contributing ideas. If this moves very far away from how to do this in Rev, then I'll remove the discussion from the list. I'm really hoping that I will be convinced by people that what I want to do can be accomplished fairly easily in Revolution. -Rodney From douggilliland at gmail.com Thu Aug 11 14:45:47 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Thu, 11 Aug 2005 14:45:47 -0400 Subject: Disable the Home and End keys on a Mac In-Reply-To: References: <890e3d26050811030145ce440e@mail.gmail.com> Message-ID: <890e3d2605081111451a9fcede@mail.gmail.com> Klaus, Your script (set the navigationarrows to false) worked fine. Thank you! As for the confusion about the keys - I apologize. I'm using a 17" Aluminum PowerBook and on my keyboard the Home and End keys are the arrows forward and backward. My Chemistry students quickly figured out they could bypass the questions I had written into my stack. Thanks to Klaus, I now have that problem solved. Doug Gilliland Sarasota, FL On 8/11/05, Ken Ray wrote: > On 8/11/05 5:01 AM, "Douglas Gilliland" wrote: > > > Is there a way to disable the Home and End keys on a Mac? I have > > authored stacks for my high school students and don't want them to > > bypass my questions by hitting these keys to go forward or backward in > > the stack. Searched the Documentation (use the disable command?) and > > Shafer's book but none of my disable scripts would work. > > Hmm... Home and End shouldn't navigate cards... only the arrow keys should > do that. If you turn off the navigationArrows that takes care of the arrow > keys. To trap for Home and End keys, you need to trap the 'rawKeyDown' or > 'rawKeyUp' handlers and look for the keycode 65360 (for Home) and 65367 (for > End). > > HTH, > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From Roger.E.Eller at sealedair.com Thu Aug 11 15:08:43 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Thu, 11 Aug 2005 15:08:43 -0400 Subject: Unix engines Message-ID: Could someone on the RunRev staff please let us know what is the status of the 2.6 UNIX engines? > We will next update the Unix engines in July, 2005. In the meantime, the > latest Unix engines are at version 2.2.1, and you should continue to use these. http://downloads.runrev.com/revolution/unixenginepolicy.php Thank you. Roger Eller From b.xavier at internet.lu Thu Aug 11 15:14:38 2005 From: b.xavier at internet.lu (MisterX) Date: Thu, 11 Aug 2005 21:14:38 +0200 Subject: Bugzilla REALLY works !! In-Reply-To: <6.2.1.2.2.20050811125049.06fbb108@exchange.slg.com> Message-ID: <20050811185847.905A6824FB5@mail.runrev.com> Peter said > I was delighted to see some of my bugs had feedback, > including one that was my misunderstanding of how > revSetStackFileProfile works with the modal command. i applaud Rev for taking care of this "feedback" issue! How did who manage to convince Kevin? I know it happened at RevConWest! I heard RevDan express the voice of those with long standing bugs in his video introduction... So i must also applaud her/him/whoever who managed that extra bit - i know i told Kevin a few dozen times with or without client arguments and didn't help! One of the steps required for Rev to become great has been made... 2 more missing Kevin ;) Speed and rev-web-plugin-ness... ;) 2006 is gonna be a great year! Why speed? Moore's law, accumulation, cpu speed increases are not enough compared to other-IDE's speed without any optimization... Even with optimization in rev, 2000 objects of anything means your cpu is on his knees. I didn't tell Rev to use 100% of my CPU and it still does... I usually have 5-500 million things to compute now in the medium term (2006)... PC enterprise oblige... Why Webness? Obvious, more clients exposure... competitive disruption against RB... can RB produce web plugins easy? Compared to those, the price factor is irrelevant... Without speed, no java user is gonna use rev for computing tasks No flash user is gonna consider such a slow drawing engine. Animate 10 things over 10 images per second and you'll see. can a Flash developper use that? openGL would be blish wouldn't it? What about the 5 million files i need to classify quick and dirty? Without web, your cool gui is in a box! Of course, the licensing is gonna be different in Kevin's eye - one more license to profit. I see the single-platform delivery license as an opportunity to open more clients to the few developpers Rev has... Lifting this limitation alone would multiply 3X the client base for Rev's clients. Wouldn't that be enough incentive for more "studio" or enterprise or plugin sales if Rev's clients had 3X more clients? (i know 3X is not relativistic but...) out of 150+ outstanding bugzillas, Mark, above all needs the biggest applause though! I see the right dedication to making rev great and his bugzilla feedback is quite speedy. Hip Hip... regards, Xavier http://monsieurx.com From revdan at danshafer.com Thu Aug 11 15:11:31 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 11 Aug 2005 12:11:31 -0700 Subject: Looking for suggestions/advice In-Reply-To: References: <42FB44D0.6080601@tweedly.net> Message-ID: Being the Resident Curmudgeon (self-described and not universally acclaimed), I figured I'd jump in with another viewpoint or two. First, let me say I think this project could definitely be done well in Rev. I haven't seen anything in your requirements or this discussion that leads me to believe otherwise. That said, I think your performance concerns may be valid on some level. I don't think you need to (or necessarily should) conceive of your script interpreter as a nested ball of if-then-else or CASE statements. I think a table-driven approach might be far better, given Rev's ability to deal with 2-D arrays and strings. So I'd see a data structure like: doplay,playTheGame,param1, param2 doscore, calcScore, param1, param2, param3 Then your code just locates the right line/row of the data structure to find out what command to call and everything else on the line is parametric data. I'm sure I'm probably oversimplifying here, but perhaps my point is clear anyway. Two other things occur. First, at the risk of causing a firestorm here, REALBasic includes a full-blown script interpreter, RBScript, that might completely avoid the need for writing your own scripting language interpreter. To be sure, development in RB is probably substantially slower than in Rev, but for an Open Source project, it has some advantages that are probably self-evident. Being object-oriented and given your experience with Python, you might find yourself quite at home in that world. Second, if you do decide to do an interpreter, check out YACC (Yet Another Compiler Compiler) at http://dinosaur.compilertools.net/ yacc/ . The tool may or may not be useful to help you generate what you need here but I bet it'll help you think about your needs in a more structured way. Good luck with the project. Sounds like fun. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From rodneys at io.com Thu Aug 11 15:11:43 2005 From: rodneys at io.com (Rodney Somerstein) Date: Thu, 11 Aug 2005 15:11:43 -0400 Subject: Looking for suggestions/advice In-Reply-To: References: Message-ID: >Yes, by all means write an interpreter! It's not that hard and fun >too, with no script limits. I did this in Hypercard once. I needed >to munge huge text files for translation between databases, so I >created an 'action processor' with a simple language that could save >its code as a resource in the stack. > >Just make it human-readable, and you can even use some of the >'forbidden words' used for Transcript. Most of your 'interpreter' is >going to consist of CASE or IF-THEN statements. You're going to >need some time brainstorming the structure --but are basically just >redirecting your new commands to rev handlers. Error checking and >validation is up to you. And of course since you're writing it, it's >extensible at all times. Thanks Stephen. This is just the kind of feedback that I was hoping for. I know there are general purpose tools for writing parsers outside of the Rev world. I've seen mentions of things like Lex and YACC over the years. I have no idea how to use such tools, though. My concern with your approach is two-fold: 1) It seems to me that as the language grows it will get progressively slower if I'm just continually adding IF-THEN statements or adding to one large CASE statement. Again, I'm looking for pointers toward easy to understand but better methods for doing this. 2) Error checking and validation is again something that I know have been generalized outside of Revolution. If I can use something that already exists to help facilitate this, then so much the better. That would mean it is much quicker to add new commands to a language. I am considering using XML as the base for the language. I can use tags which can be validated by a DTD or Schema. Arguments can be handled via attributes for the tags. Revolution already has built-in tools for helping with this. I only see this approach working for people designing game modules. Someone who wants to write a game player AI would definitely have to learn Transcript or whatever scripting language I ultimately use. >This also has added security, as you completely control what happens >in your world, as opposed to using the rev script system - and >message path - to interpret your scripts. I'm not that concerned about security. As I mentioned in my previously lengthy message, there will have to be a program specific command language for creating games. This will be a very secure language. I don't want the average person to have to resort to learning a more generic language such as Transcript, Python, or Ruby. However, I think that I need access to such a language for people who want to help me extend the system or who start chafing at the limitations that I impose on them due to my implementation. I want to design as wide open a system as possible for people to extend. I don't want to just tell people that if they want to implement their favorite game, they have to fully learn a complete programming language. However, I've just realized that if I do use a language such as Python or Ruby for the scripting environment, the command language could be supplied as a library of methods for that language. People could then simply learn the basics of the programming language and use the library of commands that I supply for most of what they want to do. Only people who want to go beyond what is built in would need to learn more than the basic structure of the language in question. I like Rev/Transcript and would love that to be the environment I implement in. Due to the artificial restrictions placed on stand-alone applications, that may not be viable without requiring people to purchase at least a DreamCard license. As I've been typing this message it seems more and more that creating a library of commands, rather than a language itself, might be the better way to go about implementing this. If I do so, that might eliminate Revolution as a real consideration. If Rev could at least generate a script from a command file that I imported, then I could work around this. More sophisticated users would just use Transcript in DreamCard and call the scripts that implement those commands. Less sophisticated users would simply construct command files. I'm concerned that the 10 line limit on scripts created in standalones might be the real killer for me here. Without the way to generate scripts of arbitrary size from a command file, I don't see any way of connecting the two worlds. If someone wanted to go beyond the command language I provide, they would have to jump into the implementation language completely and ignore my cumbersome language parsing. I'm not sure how much of what I had already done could be made easily reusable for people who want to go beyond the basics. -Rodney From revolution at jaedworks.com Thu Aug 11 15:32:31 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Thu, 11 Aug 2005 12:32:31 -0700 Subject: Looking for suggestions/advice In-Reply-To: References: Message-ID: At 2:55 PM -0400 8/10/2005, Rodney Somerstein wrote: >This application is going to require a scripting language. My >understanding is that Transcript isn't a viable scripting language >for this purpose (correct me if I'm wrong, please) because there are >limits as to how much can be done on the fly from an imported script >rather than one built into the stack. For example, I don't think >that I can have a user write a script that could be imported as a >module into a Revolution stack and executed without limiting that >script to 10 lines. Since a game could have several hundred pieces >including cards, game boards, scoring tracks, decks of cards, etc. >that need to have rules set for them, how can I go about this? Can you provide a built-in library of commands, functions, and properties for game scripters? With this, your users could do powerful things - say, change the color of all pieces, or set the permissible moves for a piece - without having to use lengthy scripts. Most of the scripting would already have been done for them. (It would be quite a bit of work to write a library for game scripters, but it has to be easier than trying to implement an entire programming language for them.) And I second Geoff's suggestion to get in touch with Kevin and inquire about whether you can make special arrangements as to script limits. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From b.xavier at internet.lu Thu Aug 11 15:57:16 2005 From: b.xavier at internet.lu (MisterX) Date: Thu, 11 Aug 2005 21:57:16 +0200 Subject: Looking for suggestions/advice In-Reply-To: Message-ID: <20050811194115.41A9B824FBA@mail.runrev.com> > Second, if you do decide to do an interpreter, check out YACC > (Yet Another Compiler Compiler) at http://dinosaur.compilertools.net/ > yacc/ . The tool may or may not be useful to help you > generate what you need here but I bet it'll help you think > about your needs in a more structured way. i could have used that long ago! saw it long ago in a small advert in DDJ too - but couldn't afford it ;) YACC is an old HC tool but never knew what it was for... Now i do ;) Dan Is the dinosaur related to extint? No useful? Also as i'm readying up a new version of my script editor... ;) cheers Xavier From Cubist at aol.com Thu Aug 11 16:05:30 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Thu, 11 Aug 2005 16:05:30 EDT Subject: Looking for suggestions/advice Message-ID: sez rodneys at io.com: >It seems to me that as the language grows it will get >progressively slower if I'm just continually adding IF-THEN >statements or adding to one large CASE statement. Exactly how many language-tokens are you going to *need* for this thing? Hmmm... in no particular order: (1) RollDice (2) MovePiece (3) MoveManyPieces (can be implemented as a loop-wrapper around the MovePiece handler) (4) SetCondition (for instance, in Mille Bournes, playing a "Punctureproof" card makes you immune to the "flat tire" hazard) (5) GetCard (6) ApplyCard (7) TrashCard (8) NextPlayer (the card game Uno has cards which explicitly stomp on the normal order of play...) Hmm... those are all for*playing* the game. There will also have to be some language-tokens which define the game and set it up... (9) DefineThing (i.e., cards, pieces, board sections (see also: Settlers of Catan), players, etc) (10) DefineRule (given a specific Thing, what sort of actions are allowed for that Thing under which situations?) (11) DefineCondition (12) DefineVictory That's twelve different language tokens you'll need, IMAO. Can anyone else think of any others? >As I've been typing this message it seems more and more that creating >a library of commands, rather than a language itself, might be the >better way to go about implementing this. If I do so, that might >eliminate Revolution as a real consideration. Naah. Rev is a consideration regardless, because somebody has to do the hard work of writing the code which implements all the commands in the library. Rev is way-cool for that hard work. >If Rev could at least >generate a script from a command file that I imported, then I could >work around this. More sophisticated users would just use Transcript >in DreamCard and call the scripts that implement those commands. Less >sophisticated users would simply construct command files. I'm >concerned that the 10 line limit on scripts created in standalones >might be the real killer for me here. Naah. The command file is just a list of character strings which trigger various pre-written handlers. The 10-line limit isn't a factor, becuase *you* (the developer) are the only one who ever has to deal with *scripts*. Basically, load a command file into a field or variable, and let your handlers massage said file; no problem. >Without the way to generate >scripts of arbitrary size from a command file, I don't see any way of >connecting the two worlds. If someone wanted to go beyond the command >language I provide, they would have to jump into the implementation >language completely and ignore my cumbersome language parsing. I'm >not sure how much of what I had already done could be made easily >reusable for people who want to go beyond the basics. German-type games are a *mess*, as far as conversion to a machine-friendly form is concerned. There's far too many conditional rules and arbitrary thises & thats. From kray at sonsothunder.com Thu Aug 11 16:10:10 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 11 Aug 2005 15:10:10 -0500 Subject: Why can't I send tabKey? In-Reply-To: <38C7A35E-A2D8-489A-B23F-7A1EA4A25D31@danshafer.com> Message-ID: On 8/11/05 1:01 PM, "Dan Shafer" wrote: > Interesting, Ken. > > When I don't use a script in this particular stack, nothing has the > focus when the card opens. (Or at least it appears nothing does. I > have two fields and a button. The button's traversalOn property is > false. When I open the stack, the first field gets the focus. > Thereafter, the card gets the focus on each openCard. Hmm... I was just opening and closing a stack - so perhaps once the stack is opened, it doesn't set the focus on subsequent cards you go to in the stack? I don't think this is a platform difference... I'm running Panther and it does the same thing. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From mbeckstead at rim.com Thu Aug 11 16:37:03 2005 From: mbeckstead at rim.com (Matt Beckstead) Date: Thu, 11 Aug 2005 16:37:03 -0400 Subject: using the "PasteKey" message Message-ID: I am having some difficulties using the "PasteKey" message. In the documentation dictionary it states a problem with this in the development environment: "The Revolution development environment traps the pasteKey message, unless "Suspend Revolution UI" is turned on in the Development menu. This means that the pasteKey message is not received by a stack if it's running in the development environment." I am using version 2.5 on a Windows system, and there is no "Suspend Revolution UI" option to turn on or off in the development menu. There is a "Suspend Development Tools" option, however when I enable this option the "pasteKey" message still does not work. Does anyone know if there is another way around this or another place that the "Suspend Revolution UI" option can be turned on? -Matt --------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. From Stgoldberg at aol.com Thu Aug 11 16:44:06 2005 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Thu, 11 Aug 2005 16:44:06 EDT Subject: Problem: Stack unexpectedly resizes itself Message-ID: <1c7.2e59fe64.302d1296@aol.com> I've created a stack (using Mac OS X, Revolution 2.5.1, Panther) with dimensions of 1024x768 with the expectation that it will fit on a screen with resolution of 1024x768. However, when moving the stack (built as standalone or as unbuilt stack) to another Mac with 1024x768 screen resolution, the program opens up with different dimensions (1004x647), with the right hand side and bottom of the stack cut off. It does this whether I open up the unbuilt stack or the standalone. Is this a bug with Revolution or a problem with Apple? Thanks. Stephen Goldberg From davis.phil at comcast.net Thu Aug 11 16:57:31 2005 From: davis.phil at comcast.net (Phil Davis) Date: Thu, 11 Aug 2005 13:57:31 -0700 Subject: Problem: Stack unexpectedly resizes itself In-Reply-To: <1c7.2e59fe64.302d1296@aol.com> References: <1c7.2e59fe64.302d1296@aol.com> Message-ID: <42FBBBBB.5060108@comcast.net> Hi Stephen - good to see your name! I have a similar problem in the app I've been building. I don't know what causes the problem, but there's a solid workaround you can use (as I do) until we do know. That is: set the width and height of the stack when you open it. Like this: on preOpenStack set the width of this stack to 1024 set the height of this stack to 768 set the loc of this stack to the screenLoc end preOpenStack Phil Davis Stgoldberg at aol.com wrote: > I've created a stack (using Mac OS X, Revolution 2.5.1, Panther) with > dimensions of 1024x768 with the expectation that it will fit on a screen with > resolution of 1024x768. However, when moving the stack (built as standalone or as > unbuilt stack) to another Mac with 1024x768 screen resolution, the program > opens up with different dimensions (1004x647), with the right hand side and bottom > of the stack cut off. It does this whether I open up the unbuilt stack or > the standalone. Is this a bug with Revolution or a problem with Apple? > Thanks. > Stephen Goldberg > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From hershrev at realtorsgroup.us Thu Aug 11 17:00:53 2005 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Thu, 11 Aug 2005 17:00:53 -0400 Subject: Bugzilla REALLY works !! In-Reply-To: <20050811185847.905A6824FB5@mail.runrev.com> Message-ID: On 8/11/05 3:14 PM, "MisterX" wrote: > Peter said I'm wondering, bug # 1619 was opened on may,18,04 and is still "unconfirmed" and is a major issue. Hershel > >> I was delighted to see some of my bugs had feedback, >> including one that was my misunderstanding of how >> revSetStackFileProfile works with the modal command. > > > I heard RevDan express the voice of those with long standing > bugs in his video introduction... > > So i must also applaud her/him/whoever who managed that extra > bit - i know i told Kevin a few dozen times with or without > client arguments and didn't help! > > One of the steps required for Rev to become great has been > made... 2 more missing Kevin ;) > > > developper use that? openGL would be blish wouldn't it? What about > the 5 million files i need to classify quick and dirty? > > Without web, your cool gui is in a box! Of course, the licensing > is gonna be different in Kevin's eye - one more license to profit. > > > out of 150+ outstanding bugzillas, Mark, above all needs the biggest > applause though! I see the right dedication to making rev great and > his bugzilla feedback is quite speedy. Hip Hip... > > regards, > Xavier > http://monsieurx.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From hershrev at realtorsgroup.us Thu Aug 11 17:54:37 2005 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Thu, 11 Aug 2005 17:54:37 -0400 Subject: For each item Message-ID: Hi all, I'm wondering why the following returns 7, shouldn't it return 9 ? On ,,,,,,,,,, put "a" & tab & tab & tab & tab & "b" & tab & tab & "c" into tV set the itemDelimiter to tab put the number of items in tv End ,,,,,,,,, Hershel From alex at tweedly.net Thu Aug 11 18:12:21 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 11 Aug 2005 23:12:21 +0100 Subject: For each item In-Reply-To: References: Message-ID: <42FBCD45.2010604@tweedly.net> Hershel Fisch wrote: >Hi all, I'm wondering why the following returns 7, shouldn't it return 9 ? > >On ,,,,,,,,,, > put "a" & tab & tab & tab & tab & "b" & tab & tab & "c" into tV > set the itemDelimiter to tab > put the number of items in tv >End ,,,,,,,,, > > I count it to be 7. put "a" & tab & tab & tab & tab & "b" & tab & tab & "c" into tV 11111111 222 333 444 555555555 666 777 (Hope this comes through as fixed-width font :-) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 From dcragg at lacscentre.co.uk Thu Aug 11 18:12:18 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 11 Aug 2005 23:12:18 +0100 Subject: For each item In-Reply-To: References: Message-ID: On 11 Aug 2005, at 22:54, Hershel Fisch wrote: > Hi all, I'm wondering why the following returns 7, shouldn't it > return 9 ? > > On ,,,,,,,,,, > put "a" & tab & tab & tab & tab & "b" & tab & tab & "c" into tV > set the itemDelimiter to tab > put the number of items in tv > End ,,,,,,,,, This seems right to me. You have six tabs separating seven items (some of them empty). Cheers Dave From hershrev at realtorsgroup.us Thu Aug 11 18:22:44 2005 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Thu, 11 Aug 2005 18:22:44 -0400 Subject: For each item In-Reply-To: <42FBCD45.2010604@tweedly.net> Message-ID: On 8/11/05 6:12 PM, "Alex Tweedly" wrote: > Hershel Fisch wrote: > That's exactly my question, why at the letter "a" you combine it with the first tab and an the last "c" is not combined with the previous tab,and In-between every tab is an item? Now if you say that every second tab is a delimiter and every first tab is an item I understand and again it shouldn't be 7 ? Thanks, Hershel > I count it to be 7. > > put "a" & tab & tab & tab & tab & "b" & tab & tab & "c" into tV > 11111111 222 333 444 555555555 666 777 > > > (Hope this comes through as fixed-width font :-) > > From davis.phil at comcast.net Thu Aug 11 18:58:38 2005 From: davis.phil at comcast.net (Phil Davis) Date: Thu, 11 Aug 2005 15:58:38 -0700 Subject: For each item In-Reply-To: References: Message-ID: <42FBD81E.5080905@comcast.net> Hershel Fisch wrote: > On 8/11/05 6:12 PM, "Alex Tweedly" wrote: > > >>Hershel Fisch wrote: >> > > That's exactly my question, why at the letter "a" you combine it with the > first tab and an the last "c" is not combined with the previous tab,and > In-between every tab is an item? It might be easier to see the items if you insert "empty" wherever an empty item occurs. Like this: put "a" & tab \ & empty & tab \ & empty & tab \ & empty & tab \ & "b" & tab \ & empty & tab \ & "c" \ into tV HTH Phil Davis > Now if you say that every second tab is a delimiter and every first tab is > an item I understand and again it shouldn't be 7 ? > Thanks, Hershel > >>I count it to be 7. >> >>put "a" & tab & tab & tab & tab & "b" & tab & tab & "c" into tV >> 11111111 222 333 444 555555555 666 777 >> >> >>(Hope this comes through as fixed-width font :-) From rodneys at io.com Thu Aug 11 19:04:11 2005 From: rodneys at io.com (Rodney Somerstein) Date: Thu, 11 Aug 2005 19:04:11 -0400 Subject: Looking for suggestions/advice In-Reply-To: References: <42FB44D0.6080601@tweedly.net> Message-ID: Thanks for the input, Dan. Can you tell me a little more about the table driven approach you were mentioning? Are doplay and playTheGame two different commands, both of which take the same arguments? Or is doplay the user command and playTheGame is the script that I would call after determining which command was issued? I'm guessing the latter is what you were explaining to me. This approach might be able to eliminate some of my concerns with writing a parser. Namely the fact that if someone wanted to go from the simple world of creating a game module using what I provide to something more full featured they would lose the ability to use what I had written. With this approach, especially if the internal script names and external command names are the same, they could still call my scripts even though they would have to learn Transcript or some other language. It would also eliminate the limitations of creating scripts from a standalone as I would not be doing so. I would simply be calling scripts that I had already written. It would mean that someone who wants to do *anything* more than what I provide would have to buy a DreamCard license and start learning Transcript in depth. RBScript sounds interesting, but I have been led to believe that REALBasic doesn't work as well for non-Mac programs. Have they gotten to the point of producing great code running on Mac and Windows without having to jump through a lot of hoops? For that matter, has Rev really gotten to that point? What about Linux? What do you think of the approach that I mentioned in another message of making the scripting language pretty much be composed of just methods/scripts in whatever language I choose? This eliminates the need for writing an interpreter altogether. I simply use the arguments passed in with the call to the method rather than parsing each line. I could provide a simple shell script for people to write their "programs". In Python this would mean the appropriate imports and such to make the game scripts available. If someone then wants to go beyond that language, they are already working in the correct programming environment. This approach, unfortunately, would seem to rule out Rev as an environment due to the limitation of scripts that come from outside a stack in a standalone to 10 lines. Since any game that I can think of would take more than 10 lines to implement, it means that everyone would need a DreamCard license. Again, since I want this to be a free system, requiring someone to pay for a DreamCard license probably isn't feasible. Another consideration is that if I switch away from Rev, I will need to switch to a language other than my scripting language being used to write the base application. Unfortunately neither Python or Ruby seem to offer any easy way to write standalone applications with a GUI and make the application easily deployable for non-developers. So, I suspect I would end up needing to switch to embedding Python or Ruby in Java to allow for this. Since both languages already offer Java implementations, this would be easy. I'm not sure whether Ruby is really viable, but I've heard it mentioned a lot so I have just started looking. I will take a look at YACC. It is something that I have been aware of, though I have no clue how to use it. I imagine, as you say, that just looking at it may help me clarify how to do what I want in a language. Thanks, -Rodney From rodneys at io.com Thu Aug 11 19:30:00 2005 From: rodneys at io.com (Rodney Somerstein) Date: Thu, 11 Aug 2005 19:30:00 -0400 Subject: Looking for suggestions/advice In-Reply-To: References: Message-ID: >Can you provide a built-in library of commands, functions, and >properties for game scripters? With this, your users could do >powerful things - say, change the color of all pieces, or set the >permissible moves for a piece - without having to use lengthy >scripts. Most of the scripting would already have been done for >them. (It would be quite a bit of work to write a library for game >scripters, but it has to be easier than trying to implement an >entire programming language for them.) Jeanne, As you have already seen if you are following this continuing disjointed, rambling saga, I have kind of come to the conclusion already that this would be the best way to implement things. Using this method also makes it easier for people to transition from simple game modules into much more complex ones without having to learn everything from scratch. They simply keep using the same commands, but start taking advantage of Transcript features also. In Rev, this does mean that I would be building scripts on the fly and this is where I start running into RunRev imposed limitations on standalone apps. >And I second Geoff's suggestion to get in touch with Kevin and >inquire about whether you can make special arrangements as to script >limits. I will do so, but I've been trying to think through exactly what I need before asking. It would be nice if people could use at least some features of Transcript in their scripts without having to buy a DreamCard license. But what could/would they realistically be limited to? I see a need for loops, variables, and IF-THEN statements at the very least. Of course each object in the game needs to be addressable as well. I need to keep my proposal simple since I'm looking to do this at essentially no extra cost (or minimal cost). Given the structure of Rev stacks, these scripts would probably have to be importable into almost any kind of object in order to work. Cards might need to have specific behaviors built in, etc. Of course, it would be possible to address all of this from a script at the stack or card level, but that might be a bit of a mess. I would basically have each element in the game try to call a script with the same name as the element - for example, playingPiece1 tries to call the playingPiece1 script which would exist in the card. That would enable me to import the commands to just one object. Does that seem like it might be a useful way to limit things; that is, restricting scripts to just one level of the message hierarchy? -Rodney From yoursignup at yahoo.com Thu Aug 11 19:31:37 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Thu, 11 Aug 2005 13:31:37 -1000 Subject: For each item In-Reply-To: Message-ID: Think of each tab as an End Of Line char with an implied EOL char at the end of string. Bottom line is you have 7 data elements. If it returned 9 and you put this into a repeat loop with a count of 9, you would end up trying to process two extra empty data elements at the end. > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Hershel > Fisch > Sent: Thursday, August 11, 2005 12:23 PM > To: How to use Revolution > Subject: Re: For each item > > > On 8/11/05 6:12 PM, "Alex Tweedly" wrote: > > > Hershel Fisch wrote: > > > That's exactly my question, why at the letter "a" you combine it with the > first tab and an the last "c" is not combined with the previous tab,and > In-between every tab is an item? > Now if you say that every second tab is a delimiter and every first tab is > an item I understand and again it shouldn't be 7 ? > Thanks, Hershel > > I count it to be 7. > > > > put "a" & tab & tab & tab & tab & "b" & tab & tab & "c" into tV > > 11111111 222 333 444 555555555 666 777 > > > > > > (Hope this comes through as fixed-width font :-) > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From alex at tweedly.net Thu Aug 11 19:34:38 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 12 Aug 2005 00:34:38 +0100 Subject: For each item In-Reply-To: References: Message-ID: <42FBE08E.7030704@tweedly.net> Hershel Fisch wrote: >On 8/11/05 6:12 PM, "Alex Tweedly" wrote: > > > >>Hershel Fisch wrote: >> >> >> >That's exactly my question, why at the letter "a" you combine it with the >first tab and an the last "c" is not combined with the previous tab,and >In-between every tab is an item? > > Well, I showed it that way because it's the way I count them (by looking for the tabs) - even though it's not strictly correct. The items are *between* the delimiters, so this would be better ... put "a" & tab & tab & tab & tab & "b" & tab & tab & "c" into tV 111111 222 333 444 555555555 6666 777777 -- Alex Tweedly http://www.tweedly.net -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 From alex at tweedly.net Thu Aug 11 19:45:09 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 12 Aug 2005 00:45:09 +0100 Subject: Looking for suggestions/advice In-Reply-To: References: <42FB44D0.6080601@tweedly.net> Message-ID: <42FBE305.3030700@tweedly.net> Rodney Somerstein wrote: > > Another consideration is that if I switch away from Rev, I will need > to switch to a language other than my scripting language being used to > write the base application. Unfortunately neither Python or Ruby seem > to offer any easy way to write standalone applications with a GUI and > make the application easily deployable for non-developers. I don't see any problem doing that in Python. You would build and distribute the app as a standalone executable, and simply "eval" the user scripts. There isn't, as far as I know, any easy way to build the standalones cross-platform, so you yourself would need access to each platform to build the distributable - but you could distribute through a standard installer mechanism (i.e. very easy for anyone to install), and be able to run plug-in scripts. If you do look at Python, I'd suggest specifically looking at PythonCard - it has a good installer mechanism for Windows, the Mac side can be done but isn't so well packaged yet. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 From dweeble at wi.rr.com Thu Aug 11 20:11:37 2005 From: dweeble at wi.rr.com (Michael) Date: Thu, 11 Aug 2005 19:11:37 -0500 Subject: Windows Event run Rev app ? Message-ID: <1123805498.3090.8.camel@localhost.localdomain> Hello Any one know if there's a function in Rev to detect a Windows event ? detect a error log event or a registry change. What I mean by this is the Windows event executing the rev app ? MichaelD From rodneys at io.com Thu Aug 11 20:11:05 2005 From: rodneys at io.com (Rodney Somerstein) Date: Thu, 11 Aug 2005 20:11:05 -0400 Subject: Looking for suggestions/advice In-Reply-To: References: Message-ID: Cubist writes, >sez rodneys at io.com: >>It seems to me that as the language grows it will get >>progressively slower if I'm just continually adding IF-THEN >>statements or adding to one large CASE statement. > Exactly how many language-tokens are you going to *need* for this thing? >Hmmm... in no particular order: . . . > That's twelve different language tokens you'll need, IMAO. Can anyone else >think of any others? Well, I could use just 12 or so language tokens as you state. Then, I have to provide a lot more functionality to make this work, such as ways of chaining those together with various kinds of programmatic logic. Otherwise, I have simply created a very specific purpose descriptive language that doesn't allow a whole lot to be automated. You seem to have a good handle on what kinds of games I want to implement and the difficulties involved. If I go this route, rather than adding more commands, each command gets more and more complex as I want to add features. For example, DefineThing makes sense to define a game element, such as a card. But then, I need to define details of that card, such as suit, value, color, etc. And I need to be able to combine that card with others to become a deck. And the deck needs to have details such as number of cards, number of cards remaining before reshuffle, played cards, discarded cards, etc. That is mostly meta-data. What happens when I get to the token for DefineRule? These are so broad that allowing implementation of auctions and scoring, as just two examples, would both be very different rules. It seems that a better approach as I've been discussing this is to create a library of commands (basically scripts) that can be called to build a script. Ideally this would be Transcript calling the scripts rather than my parsing through a file and calling each script myself. That allows easier transition for game developers to move from simple implementations to more involved ones. I suspect that each game component should also have scripts specific to those components. For example, a deck of cards can deal to a player's hand, play a card face up to a spot on the board, or discard a card. There are more behaviors, but this is a few simple examples. It seems easier to me that the deck knows how to do this rather than have a big command that has to know how to deal with all kinds of game components where possible. > Naah. Rev is a consideration regardless, because somebody has to do the >hard work of writing the code which implements all the commands in >the library. Rev is way-cool for that hard work. I agree. That is why I'm asking on the Rev mailing list. ;-) > Naah. The command file is just a list of character strings which trigger >various pre-written handlers. The 10-line limit isn't a factor, becuase *you* >(the developer) are the only one who ever has to deal with *scripts*. >Basically, load a command file into a field or variable, and let >your handlers massage said file; no problem. As I've stated, this approach works for very simple implementation of a game where the users have to handle all of the rules. As soon as people want to get beyond this, either I write a full-fledged scripting language or the game developer does this in Transcript (or Python or...). Without coding logic of some sort, the game developer would be very limited as to what they can do. I can then focus on adding common functionality and people designing specific games can focus on the one-off rules. > German-type games are a *mess*, as far as conversion to a machine-friendly >form is concerned. There's far too many conditional rules and arbitrary >thises & thats. It is pretty hard to generalize, but I have a few pages just listing common game mechanisms and meta-data for components that games need. This includes random number generation (dice usually, but spinners etc. also), card handling, auctions, betting, etc. I'll pick a starting point and go from there. I'll probably deal with simple card games (Lost Cities) and tile-laying games (Carcassonne) first, then proceed from there. Doing this will progressively build up a library of functionality which will then be added to on an ongoing basis. Of course, there are a lot of infrastructure pieces such as broadcasting and receiving moves, matchmaking, chatting,etc. that have to implemented as well. I will never implement every possibility, which is why I want developers to have access to a full-featured language if possible. When the developer wants to go beyond using simple logic to hook these pieces together, then they would need a license for DreamCard, etc. to go farther. Thanks for the input and feel free to find problems with what I'm saying here. It definitely helps me get this stuff figured out. -Rodney From hershrev at realtorsgroup.us Thu Aug 11 20:19:34 2005 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Thu, 11 Aug 2005 20:19:34 -0400 Subject: For each item In-Reply-To: <42FBE08E.7030704@tweedly.net> Message-ID: On 8/11/05 7:34 PM, "Alex Tweedly" wrote: Thanks, got it Hershel > Hershel Fisch wrote: > >> On 8/11/05 6:12 PM, "Alex Tweedly" wrote: >> >> >> >>> Hershel Fisch wrote: >>> >>> >>> >> That's exactly my question, why at the letter "a" you combine it with the >> first tab and an the last "c" is not combined with the previous tab,and >> In-between every tab is an item? >> >> > Well, I showed it that way because it's the way I count them (by looking > for the tabs) - even though it's not strictly correct. > The items are *between* the delimiters, so this would be better ... > > put "a" & tab & tab & tab & tab & "b" & tab & tab & "c" into tV > 111111 222 333 444 555555555 6666 777777 > From sarahr at genesearch.com.au Thu Aug 11 20:26:21 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 12 Aug 2005 10:26:21 +1000 Subject: Problem: Stack unexpectedly resizes itself In-Reply-To: <1c7.2e59fe64.302d1296@aol.com> References: <1c7.2e59fe64.302d1296@aol.com> Message-ID: <8035DEAA-B65E-4EC3-850C-93E2ABB86505@genesearch.com.au> > I've created a stack (using Mac OS X, Revolution 2.5.1, Panther) with > dimensions of 1024x768 with the expectation that it will fit on a > screen with > resolution of 1024x768. However, when moving the stack (built as > standalone or as > unbuilt stack) to another Mac with 1024x768 screen resolution, the > program > opens up with different dimensions (1004x647), with the right hand > side and bottom > of the stack cut off. It does this whether I open up the unbuilt > stack or > the standalone. Is this a bug with Revolution or a problem with > Apple? > Thanks. > Stephen Goldberg When first opened, the stack resizes itself to fit inside the windowBoundingRect. The windowBoundingRect is smaller than the actual screen size as it allows for the menubar, dock & (while in Rev) any toolbars & palettes you may have open. Phil's solution will override this for you, but you may also like to reset the windowBoundingRect: set the windowBoundingRect to the screenRect Cheers, Sarah From sarahr at genesearch.com.au Thu Aug 11 20:35:03 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 12 Aug 2005 10:35:03 +1000 Subject: Selecting a field in a List Field In-Reply-To: References: Message-ID: Hi Alexandre, Welcome to the Revolution! > I'm a very beginner with Revolution and I want to do the following : > >> From a List Field, when I click on a field, another List Field >> replaces >> > the first one > > I want to do something like this > ---------------------------------- > "Home" List field : > 1 GoTo menu 1 > 2 GoTo menu 2 > 3 GoTo menu 3 > > If I click on 'GoTo menu 2' : > Another List Field replaces the "Home" Field List. > ---------------------------------- > > Can someone help me and give me some tips ? > I tried to compare (on Mouse Down) using SelectedLine() : but I > need to > compare with "line X of item 1" > How do you replace a FieldList by another ? Firstly, when clicking in a list field, there are several ways to detect which line has been clicked. The two that are probably best for you to use are: the hilitedLine of fld "Home" -- this gives the line number the selectedText of fld "Home -- this gives the text of the clickedLine You can do this by varying the content of each field: on mouseUp put the selectedText of me into tMenuChoice if tMenuChoice = "GoTo menu 1" then put "Choice 1" & cr & "Choice 2" & cr & "Choice 3" into me else -- fill in what happens with the other choices end if end mouseUp An easier way might be to have the menus in different fields. These could appear sequentially depending on which initial choice is clicked e.g. Clicking "Goto menu 1" would show a field containing the menu 1 options but hide those containing menus 2 & 3 and so on. on mouseUp put the selectedText of me into tMenuChoice if tMenuChoice = "GoTo menu 1" then hide field "Menu2" hide field "Menu3" show field "Menu1" else -- fill in what happens with the other choices end if end mouseUp HTH, Sarah From davis.phil at comcast.net Thu Aug 11 20:39:31 2005 From: davis.phil at comcast.net (Phil Davis) Date: Thu, 11 Aug 2005 17:39:31 -0700 Subject: Problem: Stack unexpectedly resizes itself In-Reply-To: <8035DEAA-B65E-4EC3-850C-93E2ABB86505@genesearch.com.au> References: <1c7.2e59fe64.302d1296@aol.com> <8035DEAA-B65E-4EC3-850C-93E2ABB86505@genesearch.com.au> Message-ID: <42FBEFC3.2090605@comcast.net> Thanks Sarah - I was unaware of the windowBoundingRect. Phil Sarah Reichelt wrote: >> I've created a stack (using Mac OS X, Revolution 2.5.1, Panther) with >> dimensions of 1024x768 with the expectation that it will fit on a >> screen with >> resolution of 1024x768. However, when moving the stack (built as >> standalone or as >> unbuilt stack) to another Mac with 1024x768 screen resolution, the >> program >> opens up with different dimensions (1004x647), with the right hand >> side and bottom >> of the stack cut off. It does this whether I open up the unbuilt >> stack or >> the standalone. Is this a bug with Revolution or a problem with Apple? >> Thanks. >> Stephen Goldberg > > > When first opened, the stack resizes itself to fit inside the > windowBoundingRect. The windowBoundingRect is smaller than the actual > screen size as it allows for the menubar, dock & (while in Rev) any > toolbars & palettes you may have open. > > Phil's solution will override this for you, but you may also like to > reset the windowBoundingRect: > set the windowBoundingRect to the screenRect > > Cheers, > Sarah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Thu Aug 11 23:15:01 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 11 Aug 2005 20:15:01 -0700 Subject: Looking for suggestions/advice In-Reply-To: References: Message-ID: <42FC1435.5000301@fourthworld.com> Rodney Somerstein wrote: > I will > never implement every possibility, which is why I want developers to > have access to a full-featured language if possible. When the developer > wants to go beyond using simple logic to hook these pieces together, > then they would need a license for DreamCard, etc. to go farther. Maybe, and at $99 maybe it's not so bad. But if you need something more have you written Kevin Miller at RunRev.com to see if a special license could be arranged for you? He's stated here in the past that if someone truly needs to allow capabilities beyond those imposed by the scriptLimits he'd be happy to see if he can work out something on a case-by-case basis to solve the problem at hand. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From b.xavier at internet.lu Fri Aug 12 00:30:50 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 12 Aug 2005 06:30:50 +0200 Subject: Windows Event run Rev app ? In-Reply-To: <1123805498.3090.8.camel@localhost.localdomain> Message-ID: <20050812041619.A9FBC8250DC@mail.runrev.com> Michael not that i know other than watching for events via the event viewer or writing an vbs monitor to do so... There's also specialized apps for this (sysload comes to mind) but there's many others... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Michael > Sent: Friday, August 12, 2005 02:12 > To: use-revolution at lists.runrev.com > Subject: Windows Event run Rev app ? > > Hello > Any one know if there's a function in Rev to detect a Windows event ? > detect a error log event or a registry change. What I mean by > this is the Windows event executing the rev app ? > > MichaelD > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jamon.ben at gmail.com Fri Aug 12 00:54:57 2005 From: jamon.ben at gmail.com (Ben Fisher) Date: Thu, 11 Aug 2005 21:54:57 -0700 Subject: New project Message-ID: <741fd0305081121546788524@mail.gmail.com> Hi Revolution community, I was wondering if there would be any interest for a new utility I'm writing in Revolution. It would include a variable watcher (that can view arrays), property watcher, much-improved message box, perform operations on files/folders, script editor, command-line prompt, and maybe more. One could also define macros to perform repetitive tasks. If you have any other ideas that would be helpful for Rev programmers, please tell me and if it's not too hard I'll try to do it. This project will probably done in about a month. I really like Rev's way to set up a ui, but sometimes the scripts get a little wordy. Like after working in c++ it's hard to look at "put 3 into x" and take it seriously. I'm thinking about writing something in the script editor that could interpret things like "x=3" and then expand them. Also it would be nice to do things like "myButton.customProp = 4." -Ben From kray at sonsothunder.com Fri Aug 12 01:02:17 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 12 Aug 2005 00:02:17 -0500 Subject: New project In-Reply-To: <741fd0305081121546788524@mail.gmail.com> Message-ID: On 8/11/05 11:54 PM, "Ben Fisher" wrote: > Hi Revolution community, > I was wondering if there would be any interest for a new utility I'm > writing in Revolution. > It would include a variable watcher (that can view arrays), property > watcher, much-improved message box, perform operations on files/folders, > script editor, command-line prompt, and maybe more. One could also define > macros to perform repetitive tasks. > If you have any other ideas that would be helpful for Rev programmers, > please tell me and if it's not too hard I'll try to do it. This project will > probably done in about a month. > I really like Rev's way to set up a ui, but sometimes the scripts get a > little wordy. Like after working in c++ it's hard to look at "put 3 into x" > and take it seriously. I'm thinking about writing something in the script > editor that could interpret things like "x=3" and then expand them. Also it > would be nice to do things like "myButton.customProp = 4." Sounds great to me Ben... go for it! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From gcanyon at inspiredlogic.com Fri Aug 12 01:42:17 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Thu, 11 Aug 2005 22:42:17 -0700 Subject: Looking for suggestions/advice In-Reply-To: References: <01D4C63D-F7CD-4DE3-ADC1-C1AE8430E285@inspiredlogic.com> Message-ID: On Aug 11, 2005, at 12:31 AM, Rodney Somerstein wrote: > But, short of that, does anyone have any other suggestions? I had thought of creating something like this as well in the past, and had come to the conclusion that if I were doing it, I wouldn't try to implement the rules. Instead, I'd simply focus on implementing correct card behavior. So the game would understand a deck of cards, a face-down card, a face-up card, and a card that is visible to only a subset of players, with the ability to move each of these around on a virtual table. So for example, if you and I are playing blackjack and I am dealing, I grab the deck and deal out a face up card on your side of the table, a face down card on my side, a face up card on your side, and a face up card on my side. I then "look" at my face down card. You can see that I am looking, but not what I see. Etc., etc. The only thing preventing me from dealing both my cards face up is that we both know how blackjack works. It doesn't need to be codified. The end result is a virtual card table that can be used to play almost any card game imaginable, without any further configuration. We just need to agree to the rules. I hadn't thought of stopping at cards -- implementing chess pieces would be easier than playing cards, since they have a single visibility state for all players. Want to play four-handed chess? Chess on a 36x36 board with fifty pieces each? No problem, no definition required. Rev would be very well suited to this, by the way. regards, Geoff From ludovic.thebault at laposte.net Fri Aug 12 01:46:28 2005 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Fri, 12 Aug 2005 07:46:28 +0200 Subject: [FR] [EN] Mighty mouse and Scroll Message-ID: <20050812074628.647570.9368d220@laposte.net> Bonjour / hello Heureux possesseur d'une mighty mouse d'Apple, je constate que la molette n'a aucun effet sur le d?filement d'un groupe d'objet poss?dant un ascenceur. Happy owner of the mighty mouse of Apple, i discover that the scroll doesn't work with the scroll ball on a group. Comment faire pour que la molette fonctionne sur un groupe ? How to make so that the scroll ball work on a group? J'ai test? ce script (bas? sur un script de GregdeVore) / I'll try this script (based on a script of GregdeVore) : On rawKEyDown theKeyNumber get the long name of the target if "id 1012" is in it then if theKeyNumber is 65308 then -- mouse wheel down put the vscroll of group id 1012 into tScroll add 10 to tSCroll set the vscroll of group id 1012 to tScroll else if theKeyNumber is 65309 then -- mouse wheel up put the vscroll of group id 1012 into tScroll subtract 10 from tSCroll set the vscroll of group id 1012 to tScroll else pass rawKeyDown else pass rawKeyDown end rawKEyDown mais ?a ne marche pas bien du tout / but it doesn't work very well Merci / thanks PS : je pense que pour une simple souris ? molette le probl?me est identique PS : i think that for a simple mouse with scroll wheel, the problem is the same. MacOS X 10.4 - Rev 2.6 Ludovic From revdan at danshafer.com Fri Aug 12 01:47:31 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 11 Aug 2005 22:47:31 -0700 Subject: [OT] Goodbye, Ruby Tuesday Message-ID: <1C265122-1FE5-4664-B6EE-BF315BCDD5BC@danshafer.com> So I spent a good bit of time today with Ruby. I can see how people who are working in Java might find Ruby to be "simple, elegant, fun" programming. But for those of us coming out of Rev, I have to say I thought the Ruby syntax was...well...sorry...ugly. There were @ and @@ and : and < and # signs strewn all about the Ruby landscape. And (yipes) curly braces to boot. I can't for the life of me see how Ruby is better than Python as a language, really. Ruby is line-oriented so white space isn't significant like it is in Python but I found that getting used to white-space significance took about an hour. So there's no big win there. There are lots of interesting-looking high-level components for Ruby (they're called Gems...cute) but like Python it uses Tk for graphics stuff (ugh). Python has a HUGE number of class libraries. Rails -- a Web app framework for Ruby -- looks very cool but there are lots of great Web app frameworks for Python, too. I don't know. One thing I am sure of. I won't be spending any time with Ruby. I'd rather sharpen Python skills if it comes to doing server-side stuff Rev isn't up to. So far, I haven't found anything I want to do that Rev can't. So Rev remains my safe haven. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revdan at danshafer.com Fri Aug 12 01:49:08 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 11 Aug 2005 22:49:08 -0700 Subject: New project In-Reply-To: <741fd0305081121546788524@mail.gmail.com> References: <741fd0305081121546788524@mail.gmail.com> Message-ID: <4FA55FBA-3DA1-4F54-8406-96546365C2CB@danshafer.com> That syntax is in Transcript's future, according to Rev CTO Mark Waddingham. Full prototype-based OO with dot syntax a la JavaScript. No ETA. On Aug 11, 2005, at 9:54 PM, Ben Fisher wrote: > Also it > would be nice to do things like "myButton.customProp = 4." > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revdan at danshafer.com Fri Aug 12 01:58:43 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 11 Aug 2005 22:58:43 -0700 Subject: Looking for suggestions/advice In-Reply-To: References: <42FB44D0.6080601@tweedly.net> Message-ID: Well, I was sort of designing on the back of a napkin there, but my idea was that the first entry in each line is a command, the second line is the name of the function that command calls, everything else on the line is a parameter to that function/method call. On Aug 11, 2005, at 4:04 PM, Rodney Somerstein wrote: > Can you tell me a little more about the table driven approach you > were mentioning? Are doplay and playTheGame two different commands, > both of which take the same arguments? Or is doplay the user > command and playTheGame is the script that I would call after > determining which command was issued? I'm guessing the latter is > what you were explaining to me. > > > RBScript sounds interesting, but I have been led to believe that > REALBasic doesn't work as well for non-Mac programs. Have they > gotten to the point of producing great code running on Mac and > Windows without having to jump through a lot of hoops? For that > matter, has Rev really gotten to that point? What about Linux? > Well, there are a couple of answers here. RB appears to have made significant strides in the Windows and Linux departments with RB2005. Windows support is pretty native and now allows debugging on Windows, a big improvement over the older model. I haven't read much about the quality of Windows support and apps but what I have read has been quite positive. A fairly large number of VB refugees is making its way to RB if that means anything. As for Linux, RB is in beta on Linux and apparently plans to give it away on that platform. Reports I've read have been very favorable. OTOH, it is still beta. Rev, by comparison, has been running on Linux for quite a while and its implementation is apparently pretty good. I've run three compiled Rev apps on Linux (Debian via Linspire) and they ran just right. The IDE isn't updated for Linux yet and the engine is a revision behind as I recall. So the Linux reviews are, I'd say, mixed on both Rev and RB. > What do you think of the approach that I mentioned in another > message of making the scripting language pretty much be composed of > just methods/scripts in whatever language I choose? As you point out, this approach has some distinct advantages. I certainly wouldn't allow it to rule out Rev; Kevin is open to discussing reducing or removing the limitation on scripts at runtime on a case by case basis and yours sounds at least potentially sufficiently restrictive that it might pass their test. > Unfortunately neither Python or Ruby seem to offer any easy way to > write standalone applications with a GUI and make the application > easily deployable for non-developers. Yeah, that's the rub with them alright. If Python had that, I probably wouldn't even have looked at Rev. So on one level at least I guess I'm glad Python is deficient in that way. :-) > I suspect I would end up needing to switch to embedding Python or > Ruby in Java to allow for this. Since both languages already offer > Java implementations, this would be easy. I'm not sure whether Ruby > is really viable, but I've heard it mentioned a lot so I have just > started looking. Yech. Hope you don't have to do that. Java (as I suspect you know) is so ugly and has such immense overhead. See my earlier note on Ruby. I don't know your programming background but Ruby was certainly not elegant and beautiful to these old Revolutionary eyes. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From xbury.cs at clearstream.com Fri Aug 12 02:12:01 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 12 Aug 2005 08:12:01 +0200 Subject: New project In-Reply-To: Message-ID: Ben, If you wait a week i might have "all that" wrapped up... For Rev and MC... cheers ---------------------=--------------------- Xavier Bury use-revolution-bounces at lists.runrev.com wrote on 12/08/2005 07:02:17: > On 8/11/05 11:54 PM, "Ben Fisher" wrote: > > > Hi Revolution community, > > I was wondering if there would be any interest for a new utility I'm > > writing in Revolution. > > It would include a variable watcher (that can view arrays), property > > watcher, much-improved message box, perform operations on files/folders, > > script editor, command-line prompt, and maybe more. One could also define > > macros to perform repetitive tasks. > > If you have any other ideas that would be helpful for Rev programmers, > > please tell me and if it's not too hard I'll try to do it. This project will > > probably done in about a month. > > I really like Rev's way to set up a ui, but sometimes the scripts get a > > little wordy. Like after working in c++ it's hard to look at "put 3 into x" > > and take it seriously. I'm thinking about writing something in the script > > editor that could interpret things like "x=3" and then expand them. Also it > > would be nice to do things like "myButton.customProp = 4." > > Sounds great to me Ben... go for it! > > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- 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 Aug 12 02:15:59 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 12 Aug 2005 08:15:59 +0200 Subject: Looking for suggestions/advice In-Reply-To: Message-ID: I wrote a nice mail to respond to all this but again, i got censured/waiting for approval... grrr you'll have to wait until Heather gets to it if she does in time... in brief, i have such an engine... cheers Xav use-revolution-bounces at lists.runrev.com wrote on 12/08/2005 07:42:17: > > On Aug 11, 2005, at 12:31 AM, Rodney Somerstein wrote: > > > But, short of that, does anyone have any other suggestions? > > I had thought of creating something like this as well in the past, > and had come to the conclusion that if I were doing it, I wouldn't > try to implement the rules. Instead, I'd simply focus on implementing > correct card behavior. So the game would understand a deck of cards, > a face-down card, a face-up card, and a card that is visible to only > a subset of players, with the ability to move each of these around on > a virtual table. > > So for example, if you and I are playing blackjack and I am dealing, > I grab the deck and deal out a face up card on your side of the > table, a face down card on my side, a face up card on your side, and > a face up card on my side. I then "look" at my face down card. You > can see that I am looking, but not what I see. > > Etc., etc. > > The only thing preventing me from dealing both my cards face up is > that we both know how blackjack works. It doesn't need to be codified. > > The end result is a virtual card table that can be used to play > almost any card game imaginable, without any further configuration. > We just need to agree to the rules. > > I hadn't thought of stopping at cards -- implementing chess pieces > would be easier than playing cards, since they have a single > visibility state for all players. Want to play four-handed chess? > Chess on a 36x36 board with fifty pieces each? No problem, no > definition required. > > Rev would be very well suited to this, by the way. > > regards, > > Geoff > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From xbury.cs at clearstream.com Fri Aug 12 02:21:14 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 12 Aug 2005 08:21:14 +0200 Subject: Why can't I send tabKey? In-Reply-To: <19FF3E10-F079-4AA3-A32F-BEF8BEDCBA38@danshafer.com> Message-ID: Damn, two mails now that Ken has "hijacked" over my previous answers to this list... Am i wasting my time writing answers to see others rewrite them over again? Dan, See the first response to your mail, it resolves this issue one handed... Why mess with the rest? In addition, if you want to send this to a field in particular and still use a generic card/stack level handler, here's the way on opencard doTabKey afield -- note the new parameter... end OpenCard on doTabKey afield select line 1 of field afield or whathaveyou end doTabKey Or you could just say on opencard select line 1 of field 1 why go into all these hoops and loops when there's a simple solution? Xavier use-revolution-bounces at lists.runrev.com wrote on 11/08/2005 18:46:52: > Ken.... > > While "type tabKey" doesn't generate an error, it also doesn't do > what I think it should. > > In my book, I had a script: > > on openCard > type tabKey > end openCard > > I suggested that if you did this, you could force the first field (in > tab order, of course) on a card to be active when a new card opens. > Doesn't work (though I could *swear* I tested it in 1.1.1 or whatever > version was current when I wrote the book two years ago). Nothing > happens. So I don't know if the tabKey is actually being typed or not > but if it is, it's not doing what I think tabbing SHOULD do. > > Dan > > On Aug 11, 2005, at 8:08 AM, Ken Ray wrote: > > > On 8/11/05 1:37 AM, "Dan Shafer" wrote: > > > > > >> But if I try to send tabKey, with or without quotation marks and with > >> or without a target, I always get a "can't find handler" error. > >> > > > > That's because 'tabKey' isn't treated as a handler... it's treated > > as a > > keystroke. You need to "type tabkey" instead of "send". I think > > this would > > be the same as functionKey, etc. But I agree with you - if it is a > > handler > > that can be trapped, it should be able to be "sent". So I'd still > > BZ it. > > > > Ken Ray > > Sons of Thunder Software > > Web site: http://www.sonsothunder.com/ > > Email: kray at sonsothunder.com > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From erikhans08 at yahoo.com Fri Aug 12 02:32:27 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Thu, 11 Aug 2005 23:32:27 -0700 (PDT) Subject: put word 1 to -1 of tString into tString -- staggeringly simple In-Reply-To: <41C2D365-6C57-4BD2-BEBB-E38F6AE1F97E@inspiredlogic.com> Message-ID: <20050812063228.9099.qmail@web33011.mail.mud.yahoo.com> --- Geoff Canyon wrote: > put word 1 to -1 of tString into tString put word 1 to -1 of tString into tString -- staggeringly simple. 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 rodneys at io.com Fri Aug 12 03:56:07 2005 From: rodneys at io.com (Rodney Somerstein) Date: Fri, 12 Aug 2005 03:56:07 -0400 Subject: [OT] Goodbye, Ruby Tuesday In-Reply-To: <1C265122-1FE5-4664-B6EE-BF315BCDD5BC@danshafer.com> References: <1C265122-1FE5-4664-B6EE-BF315BCDD5BC@danshafer.com> Message-ID: Dan, I have to say that in looking at Ruby today I came to a similar conclusion to yours. I think Ruby is probably best loved by people switching from Perl. It seems to have many of the same characteristics, such as many ways to do things and ways to abbreviate the code so as to make it harder to read. I found a site that had a good comparison of Ruby and Python and the Python code all seemed very readable while I had a hard time understanding the Ruby code. Note that I'm not a Python expert. I've played with it just a very little bit over the years, but the code seems very readable for anyone that has programmed in just about any language. Ruby on Rails looks to be a tremendously effective approach to create Ajax (Asychronous JavaScript and XML) applications. For the best known application using Ajax, take a look at Google maps if you haven't seen it. This is an exciting time of possibilities when you think of what kinds of applications we are likely to start seeing on the Web. We will finally start seeing more Web applications that feel like standalone apps without requiring a player of some sort to be embedded in the browser. The downside right now is that Ruby on Rails does require using Ruby. I suspect Python will catch up soon if it hasn't already. I don't know whether Revolution can already effectively play in this environment or not. -Rodney From rodneys at io.com Fri Aug 12 04:12:18 2005 From: rodneys at io.com (Rodney Somerstein) Date: Fri, 12 Aug 2005 04:12:18 -0400 Subject: Looking for suggestions/advice In-Reply-To: References: <01D4C63D-F7CD-4DE3-ADC1-C1AE8430E285@inspiredlogic.com> Message-ID: Geoff, The virtual card table that you propose would be relatively simple compared to what I am proposing. It is really just a first step along the lines of what I am hoping to create. Granted, it is more open than what I would provide, but the engines to do what you want and what I want have a lot of similarities. Where mine gets even tougher is the wide variety of components I want to be able to support. Decks of cards don't necessarily consist of 4 suits of 13 cards. There may be several decks. Some decks don't have suits at all, but cards with lots of text. Others might have 10 suits with 20 cards each. Playing pieces might need to stack rather than just exist separately. The possibilities are endless. I suspect that as people started using your system you would get requests for similar kinds of features if people familiar with the games that I play were to get hold of it. ;-) I do want to have rules built in so that the system can help enforce them. Why require people to remember sometimes very complex rules that are there to make the game work effectively when the system itself should be capable of handling them. Why should I have to draw 3 cards manually each time if a game requires it? If I hit the draw cards button in such a game, it should automatically give me 3. Not just enforcing rules, but handling scoring for games that have scores is also important. I'm curious how, without codifying rules, you handle dealing cards face up/down as desired? Would you require an extra click to flip the card? In real life it is one smooth motion. If the game knows how the card is supposed to be dealt it isn't an issue at all. If you have a UI solution I'm very interested as I will probably use it myself. ;-) Your ideas are pretty interesting though. It is fascinating how often several people seem to come up with similar ideas at the same, or nearly so, time. And yes, I agree with you that Rev is well suited to such a task. -Rodney From tominjapan at excite.com Fri Aug 12 04:56:48 2005 From: tominjapan at excite.com (Thomas McCarthy) Date: Fri, 12 Aug 2005 04:56:48 -0400 (EDT) Subject: Keeping my app topmost Message-ID: <20050812085648.C6029BAFF@xprdmailfe14.nwk.excite.com> I'm making a language lab version of my program and thought it would be helpful for teachers if I could make it stay on top. I've searched the archives but nothing so far. many thanks tom _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From klaus at major-k.de Fri Aug 12 05:02:19 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 12 Aug 2005 11:02:19 +0200 Subject: Keeping my app topmost In-Reply-To: <20050812085648.C6029BAFF@xprdmailfe14.nwk.excite.com> References: <20050812085648.C6029BAFF@xprdmailfe14.nwk.excite.com> Message-ID: Hi Thomas, > I'm making a language lab version of my program and thought it > would be helpful for teachers if I could make it stay on top. take a look at "systemwindow" in the docs, that may be what you are looking for. > I've searched the archives but nothing so far. > many thanks > tom Regards Klaus Major klaus at major-k.de http://www.major-k.de From dweeble at wi.rr.com Fri Aug 12 07:38:57 2005 From: dweeble at wi.rr.com (Mike) Date: Fri, 12 Aug 2005 06:38:57 -0500 Subject: Windows Event run Rev app ? References: <20050812041619.A9FBC8250DC@mail.runrev.com> Message-ID: <004401c59f32$6d52c7d0$0300a8c0@olie> Xavier about watching for events, capturing the event viewer log then sift through it for the id ? Michael ----- Original Message ----- From: "MisterX" To: "'How to use Revolution'" Sent: Thursday, August 11, 2005 11:30 PM Subject: RE: Windows Event run Rev app ? > Michael > > not that i know other than watching for events via the event viewer > or writing an vbs monitor to do so... There's also specialized apps > for this (sysload comes to mind) but there's many others... > > cheers > Xavier > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Michael > > Sent: Friday, August 12, 2005 02:12 > > To: use-revolution at lists.runrev.com > > Subject: Windows Event run Rev app ? > > > > Hello > > Any one know if there's a function in Rev to detect a Windows event ? > > detect a error log event or a registry change. What I mean by > > this is the Windows event executing the rev app ? > > > > MichaelD > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage > > your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dweeble at wi.rr.com Fri Aug 12 07:42:46 2005 From: dweeble at wi.rr.com (Mike) Date: Fri, 12 Aug 2005 06:42:46 -0500 Subject: Help with Windows Registry References: Message-ID: <000801c59f32$f5a1a5c0$0300a8c0@olie> Hi Ray By reverse I would use queryRegistry and binaryDecode ?. ----- Original Message ----- From: "Ken Ray" To: "Use Revolution List" Sent: Thursday, August 11, 2005 10:14 AM Subject: Re: Help with Windows Registry > On 8/11/05 6:59 AM, "Michael" wrote: > > > Hello > > I've run into getting the hexadecimal data from the windows registry. I > > need to pull the Value Data from a Dword Value but I just get a "0". I'm > > trying this: > > put queryRegistry("HKEY_LOCAL_MACHINE\CurrentControSet\Control > > \IDConfigDB\Alias\0001\ProfileNumber\")into field tNum > > Do I need to convert this Value Data since its Hexadecimal or can the > > value be read and placed into a field without conversion ? > > Any help with this would be great > > Take a look at the tip at my site: > > http://www.sonsothunder.com/devres/revolution/revolution.htm?_win001 > > This has to do with *setting* binary data in the registry, but you only need > to do the reverse in order to retrieve it. > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Fri Aug 12 08:17:50 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 12 Aug 2005 05:17:50 -0700 (PDT) Subject: [OT] Goodbye, Ruby Tuesday In-Reply-To: <1C265122-1FE5-4664-B6EE-BF315BCDD5BC@danshafer.com> Message-ID: Dan, Your comments remind me of a conversation I had with my spouse (a Python user) tonight (okay, _last_ night). He was high on how you could generate/use on-the-fly generated global variables in Python, and how he couldn't in a "real" programming language... (I dunno, maybe you can in a 'real' language; he's a statistician and I'm not a programmer, ...) And then he remarked, "Of course, you could have done this in Hypercard years ago"... and, so, he is a step closer to appreciating xTalks. Judy On Thu, 11 Aug 2005, Dan Shafer wrote: > So I spent a good bit of time today with Ruby. I can see how people > who are working in Java might find Ruby to be "simple, elegant, fun" > programming. But for those of us coming out of Rev, I have to say I > thought the Ruby syntax was...well...sorry...ugly. > > There were @ and @@ and : and < and # signs strewn all about the Ruby > landscape. And (yipes) curly braces to boot. > > I can't for the life of me see how Ruby is better than Python as a > language, really. Ruby is line-oriented so white space isn't > significant like it is in Python but I found that getting used to > white-space significance took about an hour. So there's no big win > there. There are lots of interesting-looking high-level components > for Ruby (they're called Gems...cute) but like Python it uses Tk for > graphics stuff (ugh). Python has a HUGE number of class libraries. > > Rails -- a Web app framework for Ruby -- looks very cool but there > are lots of great Web app frameworks for Python, too. > > I don't know. One thing I am sure of. I won't be spending any time > with Ruby. I'd rather sharpen Python skills if it comes to doing > server-side stuff Rev isn't up to. So far, I haven't found anything I > want to do that Rev can't. > > So Rev remains my safe haven. From jbondy at sover.net Fri Aug 12 08:25:45 2005 From: jbondy at sover.net (Jon) Date: Fri, 12 Aug 2005 08:25:45 -0400 Subject: New project In-Reply-To: <4FA55FBA-3DA1-4F54-8406-96546365C2CB@danshafer.com> References: <741fd0305081121546788524@mail.gmail.com> <4FA55FBA-3DA1-4F54-8406-96546365C2CB@danshafer.com> Message-ID: <42FC9549.5040902@sover.net> I, for one, would really appreciate that change. Coming from Pascal, I would, of course, prefer "fred := 4" :) Jon Dan Shafer wrote: > That syntax is in Transcript's future, according to Rev CTO Mark > Waddingham. Full prototype-based OO with dot syntax a la JavaScript. > No ETA. > > > On Aug 11, 2005, at 9:54 PM, Ben Fisher wrote: > >> Also it >> would be nice to do things like "myButton.customProp = 4." >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From DanielWenger at worldnet.att.net Thu Aug 11 20:47:06 2005 From: DanielWenger at worldnet.att.net (Daniel Wenger) Date: Thu, 11 Aug 2005 17:47:06 -0700 Subject: AppleScript issue with returns in database (FMP) fields In-Reply-To: <1ee.4193a203.302cee04@aol.com> References: <1ee.4193a203.302cee04@aol.com> Message-ID: Thank you Ken Ray and Flexible. Found the problem. FMP uses numtochar(13) to separate lines in a field. AppleScript Script Editor for some reason converts these to returns, just to confuse people like me. They do not show up in the Revolution field even as a funny character, just missing. Conversion to returns solves the problem. Daniel Wenger On Aug 11, 2005, at 11:08 AM, FlexibleLearning at aol.com wrote: > On 8/11/05 7:53 AM, "Daniel Wenger" > wrote: > > > > > >> I have an AppleScript script in a Revolution stack. The script, when >> tested via the (AppleScript) Script Editor, gets records from a File >> Maker Pro (ver. 5) database without problem. Some fields in the FMP >> database have returns separating lines of text. The Script Editor >> brings the returns into the result with no problem. >> >> When the script is executed in Revolution via a "do as AppleScript" >> command the result returns the information from the FMP fields with >> the return chars missing. All lines from within the FMP field are >> joined together. >> >> Any ideas as to how to fix this? >> >> >> >> > > If memory serves, FMP (like MSWord cells) uses numtochar(11) or a > vertical > tab for CR and numtochar(9) or a horizontal tab for TAB. When you > import the > data, use "replace numtochar(11) with CR in tData" and "replace > numtochar(9) > with TAB in tData" to re-instate the formatting. > > /H > The Flexible Learning Company > Home of The Scripter's Scrapbook > www.FlexibleLearning.com/ssbk.htm > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From xbury.cs at clearstream.com Fri Aug 12 09:07:09 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 12 Aug 2005 15:07:09 +0200 Subject: Windows Event run Rev app ? In-Reply-To: <004401c59f32$6d52c7d0$0300a8c0@olie> Message-ID: Hi Michael I thought about that after writing the mail however and just like snmp traps (used for monitoring as well), these are not geared for events like changes in the registry and the user events... Only hardware or system states and application events. The security login can tell some access events but since there's no way to query just one event, you have to import more events each time (or dump the events and loose the event log each time). cheers ---------------------=--------------------- Xavier Bury use-revolution-bounces at lists.runrev.com wrote on 12/08/2005 13:38:57: > Xavier > about watching for events, capturing the event viewer log then sift through > it for the id ? > Michael > ----- Original Message ----- > From: "MisterX" > To: "'How to use Revolution'" > Sent: Thursday, August 11, 2005 11:30 PM > Subject: RE: Windows Event run Rev app ? > > > > Michael > > > > not that i know other than watching for events via the event viewer > > or writing an vbs monitor to do so... There's also specialized apps > > for this (sysload comes to mind) but there's many others... > > > > cheers > > Xavier > > > > > -----Original Message----- > > > From: use-revolution-bounces at lists.runrev.com > > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Michael > > > Sent: Friday, August 12, 2005 02:12 > > > To: use-revolution at lists.runrev.com > > > Subject: Windows Event run Rev app ? > > > > > > Hello > > > Any one know if there's a function in Rev to detect a Windows event ? > > > detect a error log event or a registry change. What I mean by > > > this is the Windows event executing the rev app ? > > > > > > MichaelD > > > > > > > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage > > > your subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- 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 Aug 12 09:08:13 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 12 Aug 2005 15:08:13 +0200 Subject: Help with Windows Registry In-Reply-To: <000801c59f32$f5a1a5c0$0300a8c0@olie> Message-ID: Mike, if the data is hex, dont use binary... See what the key contains first... ---------------------=--------------------- Xavier Bury use-revolution-bounces at lists.runrev.com wrote on 12/08/2005 13:42:46: > Hi Ray > By reverse I would use queryRegistry and binaryDecode ?. > > > ----- Original Message ----- > From: "Ken Ray" > To: "Use Revolution List" > Sent: Thursday, August 11, 2005 10:14 AM > Subject: Re: Help with Windows Registry > > > > On 8/11/05 6:59 AM, "Michael" wrote: > > > > > Hello > > > I've run into getting the hexadecimal data from the windows registry. I > > > need to pull the Value Data from a Dword Value but I just get a "0". I'm > > > trying this: > > > put queryRegistry("HKEY_LOCAL_MACHINE\CurrentControSet\Control > > > \IDConfigDB\Alias\0001\ProfileNumber\")into field tNum > > > Do I need to convert this Value Data since its Hexadecimal or can the > > > value be read and placed into a field without conversion ? > > > Any help with this would be great > > > > Take a look at the tip at my site: > > > > http://www.sonsothunder.com/devres/revolution/revolution.htm?_win001 > > > > This has to do with *setting* binary data in the registry, but you only > need > > to do the reverse in order to retrieve it. > > > > Ken Ray > > Sons of Thunder Software > > Web site: http://www.sonsothunder.com/ > > Email: kray at sonsothunder.com > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From 36degrees at runrev.com Fri Aug 12 09:14:28 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Fri, 12 Aug 2005 14:14:28 +0100 Subject: New project In-Reply-To: <4FA55FBA-3DA1-4F54-8406-96546365C2CB@danshafer.com> References: <741fd0305081121546788524@mail.gmail.com> <4FA55FBA-3DA1-4F54-8406-96546365C2CB@danshafer.com> Message-ID: <1123852468.13111.253.camel@rachmaninov> Just a factual correction: I neither said there would be a prototype- based object model, nor did I say there would be dot syntax. What I did say was that: 'the current idea of objects in Revolution is more akin to prototypes than classes' and 'dot-notation was exceptionally good at naming things (in a namespace)'. >From these two things I then continued to suggest that: 1) it would make most sense for Revolution to go down the prototype- based path (rather than the class-based path) 2) it would not be a bad idea to start using dot-notation to help organise resources in projects Warmest Regards, Mark. ------------------------------------------------------------------ Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From AMACHADO at bouyguestelecom.fr Fri Aug 12 10:39:41 2005 From: AMACHADO at bouyguestelecom.fr (AMACHADO at bouyguestelecom.fr) Date: Fri, 12 Aug 2005 16:39:41 +0200 Subject: Selecting a field in a List Field Message-ID: Thanks A LOT Sarah for your useful answer... Mixing hilitedLine, hide and show, I nearly do what I want. A problem still remains : When a card opens after a go to card "Card Name", how can have a command done immediatly like : Highlight the first line of a Field List ? Have some Lists Hidden and some others showed in this card ? Alex. -----Message d'origine----- De : use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] De la part de Sarah Reichelt Envoy? : vendredi 12 ao?t 2005 02:35 ? : How to use Revolution Objet : Re: Selecting a field in a List Field Hi Alexandre, Welcome to the Revolution! > I'm a very beginner with Revolution and I want to do the following : > >> From a List Field, when I click on a field, another List Field >> replaces >> > the first one > > I want to do something like this > ---------------------------------- > "Home" List field : > 1 GoTo menu 1 > 2 GoTo menu 2 > 3 GoTo menu 3 > > If I click on 'GoTo menu 2' : > Another List Field replaces the "Home" Field List. > ---------------------------------- > > Can someone help me and give me some tips ? > I tried to compare (on Mouse Down) using SelectedLine() : but I > need to > compare with "line X of item 1" > How do you replace a FieldList by another ? Firstly, when clicking in a list field, there are several ways to detect which line has been clicked. The two that are probably best for you to use are: the hilitedLine of fld "Home" -- this gives the line number the selectedText of fld "Home -- this gives the text of the clickedLine You can do this by varying the content of each field: on mouseUp put the selectedText of me into tMenuChoice if tMenuChoice = "GoTo menu 1" then put "Choice 1" & cr & "Choice 2" & cr & "Choice 3" into me else -- fill in what happens with the other choices end if end mouseUp An easier way might be to have the menus in different fields. These could appear sequentially depending on which initial choice is clicked e.g. Clicking "Goto menu 1" would show a field containing the menu 1 options but hide those containing menus 2 & 3 and so on. on mouseUp put the selectedText of me into tMenuChoice if tMenuChoice = "GoTo menu 1" then hide field "Menu2" hide field "Menu3" show field "Menu1" else -- fill in what happens with the other choices end if end mouseUp HTH, Sarah _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ____________________________________________________________ L'integrit? de ce message n'?tant pas assur?e sur Internet, Bouygues Telecom ne peut ?tre tenue responsable de son contenu en ce compris les pi?ces jointes. Toute utilisation ou diffusion non autoris?e est interdite. Si vous n'?tes pas destinataire de ce message, merci de le d?truire et d'avertir l'exp?diteur. The integrity of this message cannot be guaranteed on the Internet. Bouygues Telecom cannot therefore be considered liable for the contents including its attachments. Any unauthorized use or dissemination is prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender. ____________________________________________________________ From gcanyon at inspiredlogic.com Fri Aug 12 10:42:27 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri, 12 Aug 2005 07:42:27 -0700 Subject: Looking for suggestions/advice In-Reply-To: References: <01D4C63D-F7CD-4DE3-ADC1-C1AE8430E285@inspiredlogic.com> Message-ID: On Aug 12, 2005, at 1:12 AM, Rodney Somerstein wrote: > I'm curious how, without codifying rules, you handle dealing cards > face up/down as desired? Would you require an extra click to flip > the card? In real life it is one smooth motion. If the game knows > how the card is supposed to be dealt it isn't an issue at all. If > you have a UI solution I'm very interested as I will probably use > it myself. ;-) I'm not saying there would be _no_ rules, just saying that there would only be those rules inherent to playing cards themselves. Dealing a card face up and dealing a card face down would be two separate commands. Given that, I don't think one deck or nine, or different faces, would present any challenge at all. I haven't spent time considering this, so I'm sure I won't come up with the optimal solution, but perhaps: 1. A game specification consists of: a. a description of the deck: 4 decks of 52 cards, standard, shuffled. b. a description of players: dealer, player c. a description of standard deal(s): i. face down/face up for the dealer, face up/face up for the player(s) ii. one card face up. This is designated the default deal. 2. The dealer issues the "new deck" command, gets a stack of 4 shuffled decks. 3. The dealer clicks on the deck and gives the "deal i." command. Cards fly off the deck to the players and the dealer, in the appropriate patterns. 4. The dealer, if the player(s) ask for it, clicks the deck and clicks the player's cards, thus dealing one card face up. This wouldn't enforce the rules of blackjack, obviously. It wouldn't even count for you. But it _would_ let you play thousands of card games with minimal setup. Doing it this way would give you more time to focus on things like the visual appearance and the smoothness of the interaction. Eric's ultimate solitaire is wonderful in that respect. From gcanyon at inspiredlogic.com Fri Aug 12 10:46:52 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri, 12 Aug 2005 07:46:52 -0700 Subject: put word 1 to -1 of tString into tString -- staggeringly simple In-Reply-To: <20050812063228.9099.qmail@web33011.mail.mud.yahoo.com> References: <20050812063228.9099.qmail@web33011.mail.mud.yahoo.com> Message-ID: On Aug 11, 2005, at 11:32 PM, Erik Hansen wrote: > --- Geoff Canyon > wrote: > > >> put word 1 to -1 of tString into tString >> > > put word 1 to -1 of tString into tString -- > staggeringly simple. Yeah, I kind of like Transcript. ;-) From klaus at major-k.de Fri Aug 12 10:47:39 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 12 Aug 2005 16:47:39 +0200 Subject: Selecting a field in a List Field In-Reply-To: References: Message-ID: Hi Alex, > A problem still remains : > When a card opens after a go to card "Card Name", how can have a > command done immediatly like : > Highlight the first line of a Field List ? ... go cd "name of card set the hilitedlines of fld "your list field here" to 1 ... > Have some Lists Hidden and some others showed in this card ? ... hide fld "f1" of cd xyz hide fld "f2" of cd xyz show fld "f3" of cd xyz show fld "f4" of cd xyz ## etc... go cd xyz ... If you go to the card first and then show/hide fields, you might see a little flashing, so this is probably the best way :-) If you do not need to do this dynamically you can also script a "preopencard" handler. Hope that helps. > Alex. Regards Klaus Major klaus at major-k.de http://www.major-k.de From jhurley at infostations.com Fri Aug 12 11:05:45 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 12 Aug 2005 08:05:45 -0700 Subject: OT: Spotlight on Rev scripts In-Reply-To: <20050812074329.BAC0682514D@mail.runrev.com> References: <20050812074329.BAC0682514D@mail.runrev.com> Message-ID: Just upgraded to Tiger. Not as traumatic as I had feared. Back in OS 9 I had a search utility that would search Rev scripts. Very handy in finding stack where I might remember a function name but not the stack name. Is there any way to tweak Spotlight so that it will also search Rev scripts? Jim From eric.chatonet at sosmartsoftware.com Fri Aug 12 11:24:42 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 12 Aug 2005 17:24:42 +0200 Subject: OT: Spotlight on Rev scripts In-Reply-To: References: <20050812074329.BAC0682514D@mail.runrev.com> Message-ID: Hi Jim, SpotLight does search the scripts (with Rev 2.6) Le 12 ao?t 05 ? 17:05, Jim Hurley a ?crit : > Just upgraded to Tiger. Not as traumatic as I had feared. > > Back in OS 9 I had a search utility that would search Rev scripts. > Very handy in finding stack where I might remember a function name > but not the stack name. > > Is there any way to tweak Spotlight so that it will also search Rev > scripts? > > Jim Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From warren at howsoft.com Fri Aug 12 11:26:48 2005 From: warren at howsoft.com (Bob Warren) Date: Fri, 12 Aug 2005 12:26:48 -0300 Subject: altBrowser for Linux? Message-ID: <001601c59f53$6d7fa130$0201a8c0@john> Dear All, I have tried asking the following question privately to the Rev team, but so far I have received only one very incomplete response. So now I am asking it publicly, since I am sure I am not the only one interested in some kind of concrete answer. As you know, Linux grows daily, not least of all in the developing world. However, until a short time ago I had never found a Linux that worked 100%, so I stuck with Windows. My great revelation was the discovery of the Debian-based "Ubuntu" Linux, which is head and shoulders above the rest. A few days ago, I installed a trial version of RunRev, which not only seemed to work as well as the Windows version, but was even more beautiful! I was overjoyed, but then I began to think. In most of the programs I have ever written, I have incorporated browsers, and this has become fundamental. I would hate to be condemned to using RealBasic in Linux (to be launched free this month) because of the lack of a browser in Revolution. If it is not a trade secret, could the Rev team tell us what plans (if any) they have for launching (or arranging the launching of) a (Debian-based) version of altBrowser? My decision to continue with Rev might possibly be determined by the answer to this question. From b.xavier at internet.lu Fri Aug 12 11:49:22 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 12 Aug 2005 17:49:22 +0200 Subject: Looking for suggestions/advice In-Reply-To: Message-ID: <20050812153442.A45688250D8@mail.runrev.com> msg sent yesterday - censured by size you might get it once again IF someone ever checks the censured messages... So i edited it a bit more... Rodney, you seem to have a good idea of what you want which is "great" the if statements dont need to be done in a parsed interpreter if that's what you thought if you want to share ideas, scripts and possibly come with an easy solution to our problems, i'll share with you the stack i made for the BotWar game i made. It's missing a couple key pieces to make it work... The rest is really simple... create the actions for the players, bots in this case, but bots can do anything we tell them to via script! Communication between clients is also quite simple. The ChatRev client is a great way to start to get an idea of protocols, etc... However, i discern (no offenses meant) a lack (or the wrong) methodology in application design. That's because an if then cascade or grid is actually quite efficient. But an associative array based parser resolves this issue easily (assuming you parsed for errors prior to running the script). [this was written before the table-oriented approach yesterday] Rev is not much different that other languages in design terms but the objects and events are. This requires the same planning as other apps but the links between objects and their scripts is so open that this confuses many. Writing the BotWar game thaught me that there is a minimum of arena-centralized interaction required for bots to interact with. The bot alone can be scripted but it will not be able to interact with the arena world if it doesn't know the rules of the arena world. Since the arena world rules are a global set for all bots, it's necessary that the bots speak the same language. and so on. Compiled Stacks can't change scripts on the fly. And this is a hard limit but it's also a complicated way of achieving a speed dependent model. In the interpreted way, the rules are easy to modify, and the bots have all the options opened. Then you just need a loop to run subsequequent/threaded script lines... Rev speed permitting the illusion. The way to parse this into the arena model, depends on - how many verbs and objects - how many parameters each Here's a rule from TAOO Less parameters = more verbobject handlers. but finding a handler is much easier than finding the if-then or the case statement that needs changing - simple and frequent way to see the script is not as it should be... The less you want to specialize a verb, the more if-thens or switch statements. but there's ways around it too - like dynamic scripts and associative arrays. Unfortunately, associative arrays are not the fastest either past a thousand of anything... And that can be solved with a pro-active selective bot editor and script checker. hope that helps Xavier http://monsieurx.com From jvickers2002 at hotmail.com Fri Aug 12 12:02:37 2005 From: jvickers2002 at hotmail.com (Jason Vickers) Date: Sat, 13 Aug 2005 00:02:37 +0800 Subject: Select field Message-ID: Hi all. I am new to the list. I am sure there is an extremely simple solution for this, but as I am tired, I can't seem to figure it out. I have a field (let's call it "question"). The field has something like "click here to type" in it. All I want to do is have the user left click there, the current text be deleted, and the cursor remain in the field so he/she can type. Like I said, I am sure there is an embarrassingly simple solution for this. TIA, Jason From jhurley at infostations.com Fri Aug 12 12:19:15 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 12 Aug 2005 09:19:15 -0700 Subject: OT: Spotlight on Rev scripts In-Reply-To: <20050812152227.2309F825109@mail.runrev.com> References: <20050812152227.2309F825109@mail.runrev.com> Message-ID: > >------------------------------ > >Message: 17 >Date: Fri, 12 Aug 2005 17:24:42 +0200 >From: Eric Chatonet >Subject: Re: OT: Spotlight on Rev scripts >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed > >Hi Jim, > >SpotLight does search the scripts (with Rev 2.6) > >Le 12 ao?t 05 ? 17:05, Jim Hurley a ?crit : > >> Just upgraded to Tiger. Not as traumatic as I had feared. >> >> Back in OS 9 I had a search utility that would search Rev scripts. >> Very handy in finding stack where I might remember a function name >> but not the stack name. >> >> Is there any way to tweak Spotlight so that it will also search Rev >> scripts? >> > > Jim > Anybody have any ideas why Spotlight would work for Eric and not for me? Is it possible that Spotlight is still working its way through my hard drive and hasn't gotten to Rev yet? Jim From revolution at duncansoftware.com Fri Aug 12 12:23:15 2005 From: revolution at duncansoftware.com (Revolution) Date: Fri, 12 Aug 2005 12:23:15 -0400 Subject: OS 9 Finder window backgrounds Message-ID: <009f01c59f5a$24d2b970$0600a8c0@Dell8250> I need to have a colored background in the finder window when the window pops open after loading my CD. OS 9, unlike OS X, seems to be restricted to white. Window Monkey was suggested by one source but that requires that Window Monkey be installed, and "nothing" is installed to the end users machine. Other solutions that I have been offered have to do with desktop patterns and icon colors (folder>file>label) but these are not the problem nor the solution. Thanks for your help Doug From revolution at jaedworks.com Fri Aug 12 12:31:45 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 12 Aug 2005 09:31:45 -0700 Subject: Select field In-Reply-To: References: Message-ID: At 12:02 AM +0800 8/13/2005, Jason Vickers wrote: >I have a field (let's call it "question"). The field has something >like "click here to type" in it. All I want to do is have the user >left click there, the current text be deleted, and the cursor remain >in the field so he/she can type. Here's one: on openField set the text of me to empty select the text of me -- since there's no text, this places the insertion point end openField -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From userev at canelasoftware.com Fri Aug 12 12:52:52 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 12 Aug 2005 09:52:52 -0700 Subject: altBrowser for Linux? In-Reply-To: <001601c59f53$6d7fa130$0201a8c0@john> References: <001601c59f53$6d7fa130$0201a8c0@john> Message-ID: <961D817A-1C0B-4ED8-A580-C4895C005A25@canelasoftware.com> On Aug 12, 2005, at 8:26 AM, Bob Warren wrote: ...snip > If it is > not a trade secret, could the Rev team tell us what plans (if any) > they have > for launching (or arranging the launching of) a (Debian-based) > version of > altBrowser? My decision to continue with Rev might possibly be > determined > by the answer to this question. Bob, That product is created by Chipp Walters at: You need to ask him if he has any plans to support Linux. Sounds viable. Mark Talluto -- CANELA Software http://www.canelasoftware.com From revdan at danshafer.com Fri Aug 12 13:02:09 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 12 Aug 2005 10:02:09 -0700 Subject: [OT] Goodbye, Ruby Tuesday In-Reply-To: References: <1C265122-1FE5-4664-B6EE-BF315BCDD5BC@danshafer.com> Message-ID: <5AC360DA-BC61-4E1C-8BC3-6D3BCFD83B3F@danshafer.com> On Aug 12, 2005, at 12:56 AM, Rodney Somerstein wrote: > Ruby on Rails looks to be a tremendously effective approach to > create Ajax (Asychronous JavaScript and XML) applications. For the > best known application using Ajax, take a look at Google maps if > you haven't seen it. This is an exciting time of possibilities when > you think of what kinds of applications we are likely to start > seeing on the Web. We will finally start seeing more Web > applications that feel like standalone apps without requiring a > player of some sort to be embedded in the browser. The downside > right now is that Ruby on Rails does require using Ruby. I suspect > Python will catch up soon if it hasn't already. I don't know > whether Revolution can already effectively play in this environment > or not. > I haven't had time yet to look deeply at the issue of how Rev might participate in Ajax or, alternatively, facilitate the creation of Ajax-like applications. To do so, Rev would need to be able to embed itself somehow into the Web fabric and as far as I know -- always subject to the limitation of my own knowledge base -- Rev cannot do that and is not really designed to do so. I *think* that means that next-gen Web apps built on the Ajax model will not be a Rev playground. The XMLHTTPRequest command in JavaScript seems to be the singular glue that holds Ajax together, and Rev can certainly emulate that behavior but not, it seems to me, in a way that allows Web page embedding. Without a plugin or some other architectural change to the Rev core, building Web pages that are truly dynamic apps will have to be the province of tools like JavaScript/XML, Ruby and probably Python. (I'll mail you offlist about Python support since I suspect there's only three of us here who care.) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revdan at danshafer.com Fri Aug 12 13:08:19 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 12 Aug 2005 10:08:19 -0700 Subject: New project In-Reply-To: <1123852468.13111.253.camel@rachmaninov> References: <741fd0305081121546788524@mail.gmail.com> <4FA55FBA-3DA1-4F54-8406-96546365C2CB@danshafer.com> <1123852468.13111.253.camel@rachmaninov> Message-ID: <280C88BC-1128-4C59-AAE8-99293FC53949@danshafer.com> Mark... Thanks for the correction. I was oversimplifying in the interest of brevity. Your response is welcome. dan On Aug 12, 2005, at 6:14 AM, Mark Waddingham wrote: > Just a factual correction: I neither said there would be a prototype- > based object model, nor did I say there would be dot syntax. > > What I did say was that: 'the current idea of objects in Revolution is > more akin to prototypes than classes' and 'dot-notation was > exceptionally good at naming things (in a namespace)'. > > >> From these two things I then continued to suggest that: >> > 1) it would make most sense for Revolution to go down the prototype- > based path (rather than the class-based path) > 2) it would not be a bad idea to start using dot-notation to help > organise resources in projects > > Warmest Regards, > > Mark. > > ------------------------------------------------------------------ > Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com > Runtime Revolution ~ User-Centric Development Tools > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From hershrev at realtorsgroup.us Fri Aug 12 13:09:50 2005 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Fri, 12 Aug 2005 13:09:50 -0400 Subject: Close Card preOpenCard precedence Message-ID: Hi all, Which of the following has precedence, CloseCard or preOpenCard ? Thanks, Hershel From klaus at major-k.de Fri Aug 12 13:23:28 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 12 Aug 2005 19:23:28 +0200 Subject: Close Card preOpenCard precedence In-Reply-To: References: Message-ID: <5EAA7BE0-EE3B-4017-B8AD-3F2C6DD7FE06@major-k.de> Hi Hershel, > Hi all, Which of the following has precedence, CloseCard or > preOpenCard ? closecard ...and this took me about 20 seconds to test with 2 cards in a new stack! Hint, hint! ;-) > Thanks, Hershel Regards Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Fri Aug 12 13:34:36 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 12 Aug 2005 19:34:36 +0200 Subject: OT: Spotlight on Rev scripts In-Reply-To: References: <20050812152227.2309F825109@mail.runrev.com> Message-ID: <54BFBEB0-45DD-4F41-8212-0FF9B8C65877@major-k.de> Hi Jim, >> ... >> From: Eric Chatonet >> >> Hi Jim, >> SpotLight does search the scripts (with Rev 2.6) >> Le 12 ao?t 05 ? 17:05, Jim Hurley a ?crit : >> >>> Just upgraded to Tiger. Not as traumatic as I had feared. >>> ... >>> Is there any way to tweak Spotlight so that it will also search Rev >>> scripts? >>> >> > Jim >> > Anybody have any ideas why Spotlight would work for Eric and not > for me? > > Is it possible that Spotlight is still working its way through my > hard drive and hasn't gotten to Rev yet? Just tested and doesn't work for me either :-/ > Jim Regards Klaus Major klaus at major-k.de http://www.major-k.de From europe at ehug.info Fri Aug 12 13:35:13 2005 From: europe at ehug.info (Mark Schonewille) Date: Fri, 12 Aug 2005 19:35:13 +0200 Subject: OS 9 Finder window backgrounds In-Reply-To: <009f01c59f5a$24d2b970$0600a8c0@Dell8250> References: <009f01c59f5a$24d2b970$0600a8c0@Dell8250> Message-ID: <42FCDDD1.5090600@ehug.info> Hi Doug, The only acceptable solution for you probably is to use icons. There are usilities that cut a picture into pieces of 32x32 pixels and save these pieces as icons. One of them is IconMacher. To keep the images preserved correctly, I recommend using a machine that runs MacOS 9 or earlier natively. Make a folder with the icons and your software and make a disk image of it with DiskCopy. Best regards, Mark Revolution wrote: > I need to have a colored background in the finder window when the window > pops open after loading my CD. OS 9, unlike OS X, seems to be restricted to > white. Window Monkey was suggested by one source but that requires that > Window Monkey be installed, and "nothing" is installed to the end users > machine. Other solutions that I have been offered have to do with desktop > patterns and icon colors (folder>file>label) but these are not the problem > nor the solution. > > Thanks for your help > > Doug -- http://www.economy-x-talk.com From warren at howsoft.com Fri Aug 12 13:42:23 2005 From: warren at howsoft.com (Bob Warren) Date: Fri, 12 Aug 2005 14:42:23 -0300 Subject: altBrowser for Linux? Message-ID: <001301c59f65$501369d0$0201a8c0@john> Dear Mark, Thanks for the tip, but the one I got a very incomplete answer from was Chipp. He sent copies of my e-mail to Chris Bohnert, Mark Waddingham and Kevin Miller who could perhaps elaborate better on the answer, but in fact I never heard a dicky-bird. Bob From hershrev at realtorsgroup.us Fri Aug 12 13:39:11 2005 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Fri, 12 Aug 2005 13:39:11 -0400 Subject: Close Card preOpenCard precedence In-Reply-To: <5EAA7BE0-EE3B-4017-B8AD-3F2C6DD7FE06@major-k.de> Message-ID: On 8/12/05 1:23 PM, "Klaus Major" wrote: > Hi Hershel, > >> Hi all, Which of the following has precedence, CloseCard or >> preOpenCard ? > > closecard > > ...and this took me about 20 seconds to test with 2 cards in a new Thanks, yes it took me about 10 min. and this what I found as well. And that tell me that my app has a problem which I can't pin point. If I do it in script debug mode then every thing is good else it doesn't work. Hershel > stack! > Hint, hint! ;-) > >> Thanks, Hershel > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Fri Aug 12 13:53:56 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 12 Aug 2005 19:53:56 +0200 Subject: Close Card preOpenCard precedence In-Reply-To: References: Message-ID: Hi Hershel, > On 8/12/05 1:23 PM, "Klaus Major" wrote: >> Hi Hershel, >>> Hi all, Which of the following has precedence, CloseCard or >>> preOpenCard ? >> closecard >> ...and this took me about 20 seconds to test with 2 cards in a new >> > Thanks, yes it took me about 10 min. and this what I found as well. > And that > tell me that my app has a problem which I can't pin point. If I do > it in > script debug mode then every thing is good else it doesn't work. ??? Very strange indeed... Could you post your code(s)? > Hershel Best Klaus Major klaus at major-k.de http://www.major-k.de From eric.chatonet at sosmartsoftware.com Fri Aug 12 13:56:49 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 12 Aug 2005 19:56:49 +0200 Subject: OT: Spotlight on Rev scripts In-Reply-To: <54BFBEB0-45DD-4F41-8212-0FF9B8C65877@major-k.de> References: <20050812152227.2309F825109@mail.runrev.com> <54BFBEB0-45DD-4F41-8212-0FF9B8C65877@major-k.de> Message-ID: Hi Jim and Klaus, From the read-me about 2.6: * Spotlight support: use Spotlight to search within Revolution stacks on Mac OS Tiger I made some tests with Spotlight and Rev 2.6: 1. I found some specific handlers not only in stack scripts but in another objects (cards). 2. I found some field's text extracts without problem either (in any card). So I'm inclined to think that Spotlight is able to search fields and scripts. Le 12 ao?t 05 ? 19:34, Klaus Major a ?crit : > Hi Jim, > > >>> ... >>> From: Eric Chatonet >>> >>> Hi Jim, >>> SpotLight does search the scripts (with Rev 2.6) >>> > > >>> Le 12 ao?t 05 ? 17:05, Jim Hurley a ?crit : >>> >>> >>>> Just upgraded to Tiger. Not as traumatic as I had feared. >>>> ... >>>> Is there any way to tweak Spotlight so that it will also search >>>> Rev >>>> scripts? >>>> >>>> >>> > Jim >>> >>> >> Anybody have any ideas why Spotlight would work for Eric and not >> for me? >> >> Is it possible that Spotlight is still working its way through my >> hard drive and hasn't gotten to Rev yet? >> > > Just tested and doesn't work for me either :-/ > > >> Jim >> > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From asg618 at mac.com Fri Aug 12 15:25:43 2005 From: asg618 at mac.com (Alan Golub) Date: Fri, 12 Aug 2005 15:25:43 -0400 Subject: [OT] Goodbye, Ruby Tuesday In-Reply-To: <5AC360DA-BC61-4E1C-8BC3-6D3BCFD83B3F@danshafer.com> Message-ID: Actually, this is all quite fascinating to me, Dan. I've been looking at Java for the last few months, exploring several of the many frameworks that attempt to simplify the developer's job in designing and building Servlet/JSP database applications (struts, tapestry, hibernate, spring -- man, I tell you, it's overwhelming!). In the course of playing around with these frameworks, jumping through the many configuration/mapping hoops, I came across Rails. Now, I looked at Ruby several years ago, and came away with much the same impression you did -- it seemed like too much work to get used to the syntax, which never looked nearly as clean to me as Python, or even Java for that matter. As you suggest, it had a little too much of Perl's idiosyncratic use of symbol characters in it for my taste. It could be downright ugly. But after reading earlier this week about the publication of a new O'Reilly book on Rails, I jumped over to rubyonrails.com for more info. Intrigued, I next found a site detailing how to set everything up on OS X, my platform of choice for all things these days. Here's the link: http://www.tonyarnold.com/articles/2005/08/10/rolling-with-ruby-on-rails-on- mac-os-x-tiger-for-beginners Next, I ran through an excellent 2-part tutorial on the O'Reilly site: http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html And a follow-up walk-through of the benefits of Ajax on Rails: http://www.onlamp.com/pub/a/onlamp/2005/06/09/rails_ajax.html I've got to say, the experience was like a hundred light bulbs popping at once over my head (similar, in fact, to the experience of playing around with Revolution for the first time a few years back). Hot on the heels of dorking around with the way-too-long-and complicated (and potentially error-prone) process of setting up a proper Java web app for development and deployment, and navigating the ins-and-outs of utilizing the best and most useful features of multiple frameworks, Rails was an instant pleasure. Yes, it's new and relatively untested (at least as far as I know). Yes, it requires you to work with Ruby, which may turn off some more than others. But the speed and simplicity of getting going is so alluring, I'm convinced that it's worth exploring a bit more. Ruby's no Transcript, that's for sure, but as you suggest, Rails and Rev aren't really playing in the same ballpark. ALAN S. GOLUB, ESQ. Golub & Isabel, P.C. 16 Furler Street P.O. Box 437 Totowa, NJ 07511-0437 (T) 973-785-4100 Ext. 103 (F) 973-785-4477 (E) ASGolub at golub-isabel.com (W) www.golub-isabel.com > > On Aug 12, 2005, at 12:56 AM, Rodney Somerstein wrote: > >> Ruby on Rails looks to be a tremendously effective approach to >> create Ajax (Asychronous JavaScript and XML) applications. For the >> best known application using Ajax, take a look at Google maps if >> you haven't seen it. This is an exciting time of possibilities when >> you think of what kinds of applications we are likely to start >> seeing on the Web. We will finally start seeing more Web >> applications that feel like standalone apps without requiring a >> player of some sort to be embedded in the browser. The downside >> right now is that Ruby on Rails does require using Ruby. I suspect >> Python will catch up soon if it hasn't already. I don't know >> whether Revolution can already effectively play in this environment >> or not. >> > > I haven't had time yet to look deeply at the issue of how Rev might > participate in Ajax or, alternatively, facilitate the creation of > Ajax-like applications. To do so, Rev would need to be able to embed > itself somehow into the Web fabric and as far as I know -- always > subject to the limitation of my own knowledge base -- Rev cannot do > that and is not really designed to do so. I *think* that means that > next-gen Web apps built on the Ajax model will not be a Rev > playground. The XMLHTTPRequest command in JavaScript seems to be the > singular glue that holds Ajax together, and Rev can certainly emulate > that behavior but not, it seems to me, in a way that allows Web page > embedding. Without a plugin or some other architectural change to the > Rev core, building Web pages that are truly dynamic apps will have to > be the province of tools like JavaScript/XML, Ruby and probably > Python. (I'll mail you offlist about Python support since I suspect > there's only three of us here who care.) > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" From JimCarwardine at OwnYourFuture-net.com Fri Aug 12 15:27:27 2005 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Fri, 12 Aug 2005 16:27:27 -0300 Subject: Drag & Drop - from one substack to another In-Reply-To: <42F23BA7.9000505@hrz.uni-kassel.de> Message-ID: While we are on this subject, does anyone have an example of dragging from a field in one substack and dropping in a field in another substack... Jim on 8/4/05 1:00 PM, Wilhelm Sanke wrote: > On Wed, 3 Aug 2005, Howard Bornstein wrote: > >> (snip) >> Scott's solution is very elegant. Wilhelm Sanke also came up with a >> fairly simple solution that I find I use frequently for this purpose. >> His script is below. >> (snip) > > Thanks for the reference, Howard. > > The first version of this script Howard refers to was produced with help > from Scott Raney (the creator of Metacard). > > Following a similar discussion in February (subject. "Drag > from-within-to fields") I had added a sample stack to my website > containing 6 different solutions of the drag-drop-lines question, > including one example that presents a slightly modified version of Scott > Rossi's stack (hope he has agreed to my modification as an alternative > to his excellent solution). > > The sample stack can be directly downloaded from here > > > > or from page "Tools and Samples for Development" of > > > The scripts can most certainly - as usual - be improved, refined, and > extended, but they may at least show directions how to tackle some > problems coming up when you wish to visibly (not just with a drag > cursor) drag between or inside controls whose locktext is set to true. > > -- Wilhelm Sanke > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Lower Water Street, Suite 1700, 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 mdswindell at charter.net Fri Aug 12 15:48:02 2005 From: mdswindell at charter.net (Mark Swindell) Date: Fri, 12 Aug 2005 12:48:02 -0700 Subject: suspend mouse clicks? Message-ID: <39DA435B-935E-4B9A-81BE-FF2111C14AFA@charter.net> Is there a way to suspend the receiving/recording of mouseclicks within a field for a specified duration of time? Example: A two second sound file is playing. I don't want any mouse clicks recorded in a specified field until the condition of the play is over. I want to say, essentially: suspend (the receiving of) mouseclicks in this field until the player is stopped Short of showing/hiding a transparent field upon initiating/ending playback and trapping the mouseclicks in it, is there a way via scripting to accomplish this? Thanks Mark From rodneys at io.com Fri Aug 12 16:00:59 2005 From: rodneys at io.com (Rodney Somerstein) Date: Fri, 12 Aug 2005 16:00:59 -0400 Subject: Looking for suggestions/advice In-Reply-To: <20050812153442.A45688250D8@mail.runrev.com> References: <20050812153442.A45688250D8@mail.runrev.com> Message-ID: Thanks for all of the ideas, Xavier. This is exactly the kind of thing I was looking for. As I mentioned previously, I don't have a formal computer science background. I have read enough so that I am at least vaguely familiar with lots of different things which is why I figured that there are probably better ways to accomplish things. I would love to take a look at the stack you mentioned for the BotWar game. I suspect that I can mine it for techniques. From other ideas that you mentioned, I have been thinking along the ideas of more of what you call verbobject handlers so that each command isn't quite as large. It just seems that command scripts would become really cumbersome to maintain and modify if they get too large. That isn't to say that I would be reluctant to add new functionality to existing commands. As long as new arguments are optional, it wouldn't break existing functionality. I think it is easier for non-programmers to understand a greater number of simple commands than a small number of complex commands. As for your references to dynamic scripts and associative arrays, are there any pointers you can give me to learn more about these techniques as they would apply to Rev? Also, what specifically do you mean by a pro-active selective bot editor? Is this just an editor that knows about the commands and helps the user with command completion or choosing the commands from menus so that it can prompt the user for the specific arguments needed? Thank you for your help, -Rodney From mdswindell at charter.net Fri Aug 12 16:05:53 2005 From: mdswindell at charter.net (Mark Swindell) Date: Fri, 12 Aug 2005 13:05:53 -0700 Subject: suspend mouse clicks? In-Reply-To: <39DA435B-935E-4B9A-81BE-FF2111C14AFA@charter.net> References: <39DA435B-935E-4B9A-81BE-FF2111C14AFA@charter.net> Message-ID: <6602F7D9-3DC6-43C4-A861-25D3844A4079@charter.net> "The disabled" I think, will do the trick. Sometimes just asking the question delivers the answer. Mark On Aug 12, 2005, at 12:48 PM, Mark Swindell wrote: > Is there a way to suspend the receiving/recording of mouseclicks > within a field for a specified duration of time? > > Example: > > A two second sound file is playing. I don't want any mouse clicks > recorded in a specified field until the condition of the play is over. > > I want to say, essentially: > suspend (the receiving of) mouseclicks in this field until the > player is stopped > > Short of showing/hiding a transparent field upon initiating/ending > playback and trapping the mouseclicks in it, is there a way via > scripting to accomplish this? > > Thanks > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From gbojsza at gmail.com Fri Aug 12 17:02:00 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Fri, 12 Aug 2005 17:02:00 -0400 Subject: Not passing a return key or enter key. Message-ID: <3d8af41505081214025d52540c@mail.gmail.com> Hi All, I wish to limit the number of lines (no more than 3) in a field that a user add input. I have tried the following in the field's script on returnKey if word 2 of the selectedline > 3 then exit returnKey end returnKey on enterKey if word 2 of the selectedline > 3 then exit enterKey end enterKey But when I hit the enter key after 3 lines it still keeps going to the next line? thanks, From 3mcgrath at adelphia.net Fri Aug 12 17:42:50 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 12 Aug 2005 17:42:50 -0400 Subject: suspend mouse clicks? In-Reply-To: <39DA435B-935E-4B9A-81BE-FF2111C14AFA@charter.net> References: <39DA435B-935E-4B9A-81BE-FF2111C14AFA@charter.net> Message-ID: <800d64ab1af07dcee7870c19805140c1@adelphia.net> I might look into the lock messages as a possible solution. tom On Aug 12, 2005, at 3:48 PM, Mark Swindell wrote: > Is there a way to suspend the receiving/recording of mouseclicks > within a field for a specified duration of time? > > Example: > > A two second sound file is playing. I don't want any mouse clicks > recorded in a specified field until the condition of the play is over. > > I want to say, essentially: > suspend (the receiving of) mouseclicks in this field until the player > is stopped > > Short of showing/hiding a transparent field upon initiating/ending > playback and trapping the mouseclicks in it, is there a way via > scripting to accomplish this? > > Thanks > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J McGrath III 3mcgrath at adelphia.net Lazy River Software? http://homepage.mac.com/mcgrath3/lazyriver.html Meeting Wear? - Unique Apparel Design http://www.cafepress.com/meetingwear From bnz2 at cdc.gov Fri Aug 12 17:44:33 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 12 Aug 2005 17:44:33 -0400 Subject: Not passing a return key or enter key. Message-ID: <64878EF567131D4596246171F75FD4A974461D@m-epo-1.epo.cdc.gov> On RawKeyDown pKey If the number of lines in me < 3 or pKey <> 65293 then pass rawkeydown End rawkeydown -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Glen Bojsza Sent: Friday, August 12, 2005 5:02 PM To: use-revolution at lists.runrev.com Subject: Not passing a return key or enter key. Hi All, I wish to limit the number of lines (no more than 3) in a field that a user add input. I have tried the following in the field's script on returnKey if word 2 of the selectedline > 3 then exit returnKey end returnKey on enterKey if word 2 of the selectedline > 3 then exit enterKey end enterKey But when I hit the enter key after 3 lines it still keeps going to the next line? thanks, _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bnz2 at cdc.gov Fri Aug 12 17:53:03 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 12 Aug 2005 17:53:03 -0400 Subject: suspend mouse clicks? Message-ID: <64878EF567131D4596246171F75FD4A974461E@m-epo-1.epo.cdc.gov> Put the below script in the field, and send "PreventMouseClicks pSeconds" to that field when you are ready to lock it. pSeconds Would be the number of seconds you want the field locked. You can bypass using the pSeconds parameter if the length of time will always be two seconds. The script would look something like this: Put 2 into pSeconds Send "PreventMouseClicks pSeconds" to field "myField" And the field script would be this: On preventmouseclicks pSeconds Set the LockMouseClicks of me to true Send allowMouseClicks to me in 2 seconds End preventMouseClicks On AllowMouseClicks Set the lockMouseClicks of me to false End AllowMouseClicks On MouseDown If the LockMouseClicks of me <> true then 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 Thomas McGrath III Sent: Friday, August 12, 2005 5:43 PM To: How to use Revolution Subject: Re: suspend mouse clicks? I might look into the lock messages as a possible solution. tom On Aug 12, 2005, at 3:48 PM, Mark Swindell wrote: > Is there a way to suspend the receiving/recording of mouseclicks > within a field for a specified duration of time? > > Example: > > A two second sound file is playing. I don't want any mouse clicks > recorded in a specified field until the condition of the play is over. > > I want to say, essentially: > suspend (the receiving of) mouseclicks in this field until the player > is stopped > > Short of showing/hiding a transparent field upon initiating/ending > playback and trapping the mouseclicks in it, is there a way via > scripting to accomplish this? > > Thanks > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J McGrath III 3mcgrath at adelphia.net Lazy River Software(tm) http://homepage.mac.com/mcgrath3/lazyriver.html Meeting Wear(tm) - Unique Apparel Design http://www.cafepress.com/meetingwear _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From mdswindell at charter.net Fri Aug 12 18:12:59 2005 From: mdswindell at charter.net (Mark Swindell) Date: Fri, 12 Aug 2005 15:12:59 -0700 Subject: suspend mouse clicks? In-Reply-To: <64878EF567131D4596246171F75FD4A974461E@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A974461E@m-epo-1.epo.cdc.gov> Message-ID: Thanks for the suggestion and script. I'm having trouble locating the lockMouseClicks property. Where did you come up with it? Mark On Aug 12, 2005, at 2:53 PM, Lynch, Jonathan wrote: > Put the below script in the field, and send "PreventMouseClicks > pSeconds" to that field when you are ready to lock it. pSeconds > Would be > the number of seconds you want the field locked. You can bypass using > the pSeconds parameter if the length of time will always be two > seconds. > The script would look something like this: > > Put 2 into pSeconds > Send "PreventMouseClicks pSeconds" to field "myField" > > > > And the field script would be this: > > On preventmouseclicks pSeconds > Set the LockMouseClicks of me to true > Send allowMouseClicks to me in 2 seconds > End preventMouseClicks > > On AllowMouseClicks > Set the lockMouseClicks of me to false > End AllowMouseClicks > > On MouseDown > If the LockMouseClicks of me <> true then 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 Thomas > McGrath III > Sent: Friday, August 12, 2005 5:43 PM > To: How to use Revolution > Subject: Re: suspend mouse clicks? > > I might look into the lock messages as a possible solution. > > > tom > > On Aug 12, 2005, at 3:48 PM, Mark Swindell wrote: > > >> Is there a way to suspend the receiving/recording of mouseclicks >> within a field for a specified duration of time? >> >> Example: >> >> A two second sound file is playing. I don't want any mouse clicks >> recorded in a specified field until the condition of the play is >> over. >> >> I want to say, essentially: >> suspend (the receiving of) mouseclicks in this field until the >> player >> > > >> is stopped >> >> Short of showing/hiding a transparent field upon initiating/ending >> playback and trapping the mouseclicks in it, is there a way via >> scripting to accomplish this? >> >> Thanks >> Mark >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > Thomas J McGrath III > 3mcgrath at adelphia.net > > Lazy River Software(tm) > http://homepage.mac.com/mcgrath3/lazyriver.html > > Meeting Wear(tm) - Unique Apparel Design > http://www.cafepress.com/meetingwear > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bnz2 at cdc.gov Fri Aug 12 18:28:37 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 12 Aug 2005 18:28:37 -0400 Subject: suspend mouse clicks? Message-ID: <64878EF567131D4596246171F75FD4A974461F@m-epo-1.epo.cdc.gov> The script sets it as a custom property. You can set any nonexistant property you wish (only, best to use one-word prop names) - and the program will create that property for the object. When you set the field's lockMouseClicks property to true, all it does is store the word "true" in a custom property of the field named "lockMouseClicks" In the mousedown handler of the field, it only passes the mousedown message if the field's lockMouseClicks property is not equal to true. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark Swindell Sent: Friday, August 12, 2005 6:13 PM To: How to use Revolution Subject: Re: suspend mouse clicks? Thanks for the suggestion and script. I'm having trouble locating the lockMouseClicks property. Where did you come up with it? Mark On Aug 12, 2005, at 2:53 PM, Lynch, Jonathan wrote: > Put the below script in the field, and send "PreventMouseClicks > pSeconds" to that field when you are ready to lock it. pSeconds > Would be > the number of seconds you want the field locked. You can bypass using > the pSeconds parameter if the length of time will always be two > seconds. > The script would look something like this: > > Put 2 into pSeconds > Send "PreventMouseClicks pSeconds" to field "myField" > > > > And the field script would be this: > > On preventmouseclicks pSeconds > Set the LockMouseClicks of me to true > Send allowMouseClicks to me in 2 seconds > End preventMouseClicks > > On AllowMouseClicks > Set the lockMouseClicks of me to false > End AllowMouseClicks > > On MouseDown > If the LockMouseClicks of me <> true then 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 Thomas > McGrath III > Sent: Friday, August 12, 2005 5:43 PM > To: How to use Revolution > Subject: Re: suspend mouse clicks? > > I might look into the lock messages as a possible solution. > > > tom > > On Aug 12, 2005, at 3:48 PM, Mark Swindell wrote: > > >> Is there a way to suspend the receiving/recording of mouseclicks >> within a field for a specified duration of time? >> >> Example: >> >> A two second sound file is playing. I don't want any mouse clicks >> recorded in a specified field until the condition of the play is >> over. >> >> I want to say, essentially: >> suspend (the receiving of) mouseclicks in this field until the >> player >> > > >> is stopped >> >> Short of showing/hiding a transparent field upon initiating/ending >> playback and trapping the mouseclicks in it, is there a way via >> scripting to accomplish this? >> >> Thanks >> Mark >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > Thomas J McGrath III > 3mcgrath at adelphia.net > > Lazy River Software(tm) > http://homepage.mac.com/mcgrath3/lazyriver.html > > Meeting Wear(tm) - Unique Apparel Design > http://www.cafepress.com/meetingwear > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From revdan at danshafer.com Fri Aug 12 18:28:41 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 12 Aug 2005 15:28:41 -0700 Subject: [OT] Goodbye, Ruby Tuesday In-Reply-To: References: Message-ID: Hey, Alan. Long time no hear! I feared you had gone over to the Dark Coffee Side. Seems I was at least partly right! I agree with you about Ruby on Rails. Fascinating framework. I watched the famous 15-minute video demo from a trade show and was quite blown away by the speed and ease with which the demonstrator created a blog tool in Ruby. (OTOH, the video for some reason didn't show the top few lines so I actually didn't get to see much code as it was being written.) My hosting service provides Ruby on Rails for free so I tried to set up an instance. What a mess. I suspect the problem is with their instructions, which are either garbled or aimed at someone more savvy than I. Anyway, I decided based on your comment that "it's worth exploring a bit more," to download and install the OS X version and have another look. Ajax is enticing. There appears to be a Python implementation for Ajax as well, but the idea of creating Web sites that behave and look more like desktop apps -- which is what I gather so far is Ajax's raison d'etre -- has a certain allure. Dan From jhurley at infostations.com Fri Aug 12 18:45:23 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 12 Aug 2005 15:45:23 -0700 Subject: OT: Spotlight on Rev scripts In-Reply-To: <20050812221543.73AC28251B3@mail.runrev.com> References: <20050812221543.73AC28251B3@mail.runrev.com> Message-ID: > >Message: 8 >Date: Fri, 12 Aug 2005 19:56:49 +0200 >From: Eric Chatonet >Subject: Re: OT: Spotlight on Rev scripts >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; > format=flowed > >Hi Jim and Klaus, > > From the read-me about 2.6: > >* Spotlight support: use Spotlight to search within Revolution stacks >on Mac OS Tiger > >I made some tests with Spotlight and Rev 2.6: > >1. I found some specific handlers not only in stack scripts but in >another objects (cards). >2. I found some field's text extracts without problem either (in any >card). > >So I'm inclined to think that Spotlight is able to search fields and >scripts. > Eric, I glad to hear that it works on your system. But why are Klaus and I unable to work with Spotlight? I have just upgraded to 10.4.2 and am using Rev 2.6. Klaus: Thanks for confirming. Glad to know at least that I'm not crazy. Are you also using a PowerBook? I did a search for MouseUp in Spotlight and got some results (including Read-me about 2.6 you mentioned) but there were no ".rev" files. Only some text and pdf files. I this an issue for Bugzilla? Jim From dcragg at lacscentre.co.uk Fri Aug 12 18:48:36 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 12 Aug 2005 23:48:36 +0100 Subject: Not passing a return key or enter key. In-Reply-To: <3d8af41505081214025d52540c@mail.gmail.com> References: <3d8af41505081214025d52540c@mail.gmail.com> Message-ID: <2F072E73-30F3-44F9-919E-DC821742F44B@lacscentre.co.uk> On 12 Aug 2005, at 22:02, Glen Bojsza wrote: > Hi All, > > I wish to limit the number of lines (no more than 3) in a field that a > user add input. > > I have tried the following in the field's script > > on returnKey > if word 2 of the selectedline > 3 then exit returnKey > end returnKey > > on enterKey > if word 2 of the selectedline > 3 then exit enterKey > end enterKey > > > But when I hit the enter key after 3 lines it still keeps going to the > next line? The messages you need to trap are returnInField and enterInField. returnKey and enterkey are not sent to fields that are being edited. I'm not sure why. It's caught me out a few times. Also, you may need to prevent users from pasting more than three lines into the field. For that, you could use the pasteKey message. Cheers Dave From bill at bluewatermaritime.com Fri Aug 12 18:51:54 2005 From: bill at bluewatermaritime.com (Bill) Date: Fri, 12 Aug 2005 18:51:54 -0400 Subject: Sending number of copies to print dialogue OS X Message-ID: Can anybody tell me how to (example please) send the number of copies you wanted printed to the dialgue box when you open printing? Thanks in advance. From mdswindell at charter.net Fri Aug 12 18:55:26 2005 From: mdswindell at charter.net (Mark Swindell) Date: Fri, 12 Aug 2005 15:55:26 -0700 Subject: suspend mouse clicks? In-Reply-To: <64878EF567131D4596246171F75FD4A974461F@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A974461F@m-epo-1.epo.cdc.gov> Message-ID: Ahhh. I see. Thank you. Mark On Aug 12, 2005, at 3:28 PM, Lynch, Jonathan wrote: > The script sets it as a custom property. > > You can set any nonexistant property you wish (only, best to use > one-word prop names) - and the program will create that property > for the > object. > > When you set the field's lockMouseClicks property to true, all it does > is store the word "true" in a custom property of the field named > "lockMouseClicks" > > In the mousedown handler of the field, it only passes the mousedown > message if the field's lockMouseClicks property is not equal to true. From dweeble at wi.rr.com Fri Aug 12 19:13:20 2005 From: dweeble at wi.rr.com (Mike) Date: Fri, 12 Aug 2005 18:13:20 -0500 Subject: Windows Event run Rev app ? References: Message-ID: <01e301c59f93$6e681150$0300a8c0@olie> Xavier Your right, system event is best for what I'm looking to find id's, to watch for cable connects/disconnects, wireless speed connects/disconnects. I see the .evt file is in use and to spit it out to a usable format has got me, any idea on that one ? Michael ----- Original Message ----- From: To: "How to use Revolution" Sent: Friday, August 12, 2005 8:07 AM Subject: Re: Windows Event run Rev app ? > Hi Michael > > I thought about that after writing the mail however and just like snmp > traps (used for monitoring as well), > these are not geared for events like changes in the registry and the user > events... Only hardware or > system states and application events. > > The security login can tell some access events but since there's no way to > query just one event, you > have to import more events each time (or dump the events and loose the > event log each time). > > cheers > ---------------------=--------------------- > Xavier Bury > > > use-revolution-bounces at lists.runrev.com wrote on 12/08/2005 13:38:57: > > > Xavier > > about watching for events, capturing the event viewer log then sift > through > > it for the id ? > > Michael > > ----- Original Message ----- > > From: "MisterX" > > To: "'How to use Revolution'" > > Sent: Thursday, August 11, 2005 11:30 PM > > Subject: RE: Windows Event run Rev app ? > > > > > > > Michael > > > > > > not that i know other than watching for events via the event viewer > > > or writing an vbs monitor to do so... There's also specialized apps > > > for this (sysload comes to mind) but there's many others... > > > > > > cheers > > > Xavier > > > > > > > -----Original Message----- > > > > From: use-revolution-bounces at lists.runrev.com > > > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Michael > > > > Sent: Friday, August 12, 2005 02:12 > > > > To: use-revolution at lists.runrev.com > > > > Subject: Windows Event run Rev app ? > > > > > > > > Hello > > > > Any one know if there's a function in Rev to detect a Windows event > ? > > > > detect a error log event or a registry change. What I mean by > > > > this is the Windows event executing the rev app ? > > > > > > > > MichaelD > > > > > > > > > > > > > > > > _______________________________________________ > > > > use-revolution mailing list > > > > use-revolution at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage > > > > your subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > ----------------------------------------- > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream > International does not accept legal responsibility for the contents of > this message. > > The information contained in this e-mail is confidential and may be > legally privileged. It is intended solely for the addressee. If you are > not the intended recipient, any disclosure, copying, distribution or > any action taken or omitted to be taken in reliance on it, is > prohibited and may be unlawful. Any views expressed in this e-mail are > those of the individual sender, except where the sender specifically > states them to be the views of Clearstream International or of any of > its affiliates or subsidiaries. > > END OF DISCLAIMER > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jvickers2002 at hotmail.com Fri Aug 12 19:20:43 2005 From: jvickers2002 at hotmail.com (Jason Vickers) Date: Sat, 13 Aug 2005 07:20:43 +0800 Subject: Select field References: Message-ID: Jeanne, Thanks so much. It works perfectly. Jason ----- Original Message ----- From: "Jeanne A. E. DeVoto" To: "How to use Revolution" Sent: Saturday, August 13, 2005 12:31 AM Subject: Re: Select field > At 12:02 AM +0800 8/13/2005, Jason Vickers wrote: >>I have a field (let's call it "question"). The field has something like >>"click here to type" in it. All I want to do is have the user left click >>there, the current text be deleted, and the cursor remain in the field so >>he/she can type. > > Here's one: > > on openField > set the text of me to empty > select the text of me -- since there's no text, this places the > insertion point > end openField > -- > jeanne a. e. devoto ~ revolution at jaedworks.com > http://www.jaedworks.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dweeble at wi.rr.com Fri Aug 12 20:16:14 2005 From: dweeble at wi.rr.com (Mike) Date: Fri, 12 Aug 2005 19:16:14 -0500 Subject: Windows Event run Rev app ? References: <20050812041619.A9FBC8250DC@mail.runrev.com> Message-ID: <000801c59f9c$380da4e0$0300a8c0@olie> Xavier Well here is a idea with possiblities. "eventtrigger.exe" its in the system32 folder. I would like to see revevnttrigger ? Michael ----- Original Message ----- From: "MisterX" To: "'How to use Revolution'" Sent: Thursday, August 11, 2005 11:30 PM Subject: RE: Windows Event run Rev app ? > Michael > > not that i know other than watching for events via the event viewer > or writing an vbs monitor to do so... There's also specialized apps > for this (sysload comes to mind) but there's many others... > > cheers > Xavier > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Michael > > Sent: Friday, August 12, 2005 02:12 > > To: use-revolution at lists.runrev.com > > Subject: Windows Event run Rev app ? > > > > Hello > > Any one know if there's a function in Rev to detect a Windows event ? > > detect a error log event or a registry change. What I mean by > > this is the Windows event executing the rev app ? > > > > MichaelD > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage > > your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Fri Aug 12 22:32:00 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 13 Aug 2005 04:32:00 +0200 Subject: Windows Event run Rev app ? In-Reply-To: <01e301c59f93$6e681150$0300a8c0@olie> Message-ID: <20050813021719.84DB482519F@mail.runrev.com> Michael shellcity.com has what you need there's an evtdump also on sysinternals or the restoolkit. psloglist.exe from sysinternals does a good job with plenty of options you call it using the shell command. Usage: psloglist [\\computer[,computer2[,...] | @file] [-u username [-p password]]] [-s [-t delimiter]] [-m #|-n #|-d #| -h #|-w][-c][-x][-r][-a mm/dd/yy][-b mm/dd/yy] [-f filter] [-i ID,[ID,...]] | -e ID,[ID,...]] [-o event source[,event so urce[,...]]] [-q event source[,event source[,...]]] [[-g|-l] event log file] @file Psloglist will execute the command on each of the computers listed in the file. -a Dump records timestamped after specified date. -b Dump records timestamped before specified date. -c Clear event log after displaying. -d Only display records from previous n days. -e Exclude events with the specified ID or IDs (up to 10). -f Filter event types, using starting letter (e.g. "-f we" to filter warnings and errors). -g Export an event log as an evt file. The can only be used with the -c switch (clear log). -h Only display records from previous n hours. -i Show only events with the specified ID or IDs (up to 10). -l Dump the contents of the specified saved event log file. -m Only display records from previous n minutes. -n Only display n most recent records. -o Show only records from the specified event source or sources (e.g. "-o cdrom"). -p Specifies password for user name. -q Omit records from the specified event source or sources (e.g. "-q cdrom"). -r Dump log from least recent to most recent. -s Records are listed on one line each with delimited fields, which is convenient for string searches. -t The default delimiter for the -s option is a comma, but can be overriden with the specified character. Use "\t" to specify tab. -u Specifies optional user name for login to remote computer. -w Wait for new events, dumping them as they generate (local system only.) -x Dump extended data. eventlog Specifies event log to dump. Default is system. If the -l switch is present then the event log name specifies how to interpret the event log file. cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mike > Sent: Saturday, August 13, 2005 01:13 > To: How to use Revolution > Subject: Re: Windows Event run Rev app ? > > Xavier > Your right, system event is best for what I'm looking to find > id's, to watch for cable connects/disconnects, wireless speed > connects/disconnects. I see the .evt file is in use and to > spit it out to a usable format has got me, any idea on that one ? > Michael > ----- Original Message ----- > From: > To: "How to use Revolution" > Sent: Friday, August 12, 2005 8:07 AM > Subject: Re: Windows Event run Rev app ? > > > > Hi Michael > > > > I thought about that after writing the mail however and > just like snmp > > traps (used for monitoring as well), > > these are not geared for events like changes in the > registry and the user > > events... Only hardware or > > system states and application events. > > > > The security login can tell some access events but since > there's no way to > > query just one event, you > > have to import more events each time (or dump the events > and loose the > > event log each time). > > > > cheers > > ---------------------=--------------------- > > Xavier Bury > > > > > > use-revolution-bounces at lists.runrev.com wrote on 12/08/2005 > 13:38:57: > > > > > Xavier > > > about watching for events, capturing the event viewer log > then sift > > through > > > it for the id ? > > > Michael > > > ----- Original Message ----- > > > From: "MisterX" > > > To: "'How to use Revolution'" > > > Sent: Thursday, August 11, 2005 11:30 PM > > > Subject: RE: Windows Event run Rev app ? > > > > > > > > > > Michael > > > > > > > > not that i know other than watching for events via the > event viewer > > > > or writing an vbs monitor to do so... There's also > specialized apps > > > > for this (sysload comes to mind) but there's many others... > > > > > > > > cheers > > > > Xavier > > > > > > > > > -----Original Message----- > > > > > From: use-revolution-bounces at lists.runrev.com > > > > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > > Michael > > > > > Sent: Friday, August 12, 2005 02:12 > > > > > To: use-revolution at lists.runrev.com > > > > > Subject: Windows Event run Rev app ? > > > > > > > > > > Hello > > > > > Any one know if there's a function in Rev to detect a > Windows event > > ? > > > > > detect a error log event or a registry change. What I mean by > > > > > this is the Windows event executing the rev app ? > > > > > > > > > > MichaelD > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > use-revolution mailing list > > > > > use-revolution at lists.runrev.com > > > > > Please visit this url to subscribe, unsubscribe and manage > > > > > your subscription preferences: > > > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > > > > _______________________________________________ > > > > use-revolution mailing list > > > > use-revolution at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > ----------------------------------------- > > Visit us at http://www.clearstream.com > > > > IMPORTANT MESSAGE > > > > Internet communications are not secure and therefore Clearstream > > International does not accept legal responsibility for the > contents of > > this message. > > > > The information contained in this e-mail is confidential and may be > > legally privileged. It is intended solely for the > addressee. If you are > > not the intended recipient, any disclosure, copying, distribution or > > any action taken or omitted to be taken in reliance on it, is > > prohibited and may be unlawful. Any views expressed in this > e-mail are > > those of the individual sender, except where the sender specifically > > states them to be the views of Clearstream International or > of any of > > its affiliates or subsidiaries. > > > > END OF DISCLAIMER > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Fri Aug 12 23:56:31 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Aug 2005 22:56:31 -0500 Subject: Not passing a return key or enter key. In-Reply-To: <3d8af41505081214025d52540c@mail.gmail.com> References: <3d8af41505081214025d52540c@mail.gmail.com> Message-ID: <42FD6F6F.4020704@hyperactivesw.com> Glen Bojsza wrote: > > I wish to limit the number of lines (no more than 3) in a field that a > user add input. Size your field to exactly 3 lines high. Set the autotab property of the field to true. The field will now allow only three lines of text. Any returns entered after that will cause the selection to jump to the next editable field. No scripting required. You can still paste more than 3 lines though. For that, trap the "pastekey" message and trim off all but the first three lines. Note that pastekey may not work in the IDE, but will work okay in a standalone or when you suspend development tools. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Aug 13 00:02:15 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Aug 2005 23:02:15 -0500 Subject: suspend mouse clicks? In-Reply-To: <39DA435B-935E-4B9A-81BE-FF2111C14AFA@charter.net> References: <39DA435B-935E-4B9A-81BE-FF2111C14AFA@charter.net> Message-ID: <42FD70C7.3070008@hyperactivesw.com> Mark Swindell wrote: > Is there a way to suspend the receiving/recording of mouseclicks within > a field for a specified duration of time? > > Example: > > A two second sound file is playing. I don't want any mouse clicks > recorded in a specified field until the condition of the play is over. If the delay is always related to a sound file playing, you can check the state of the sound. If you are using the "play" command to play an audioclip: on selectionChanged if the sound is not done then select empty else pass selectionChanged end selectionChanged If you are using a player object to play the sound, check whether the currentTime of the player is equal to the duration of the Player. That will tell you if the sound is finished: on selectionChanged if the currentTime of player 1 <> the duration of player 1 then select empty else pass selectionChanged end selectionChanged -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From b.xavier at internet.lu Sat Aug 13 00:53:15 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 13 Aug 2005 06:53:15 +0200 Subject: suspend mouse clicks? In-Reply-To: <42FD70C7.3070008@hyperactivesw.com> Message-ID: <20050813043830.7A014824ED1@mail.runrev.com> Thanks Jaque i just created the audio manager for TAOO thanks to you! function isAudio end isAudio function isAudioData end isAudioData function isAudioPlaying return the sound is not done end isAudioPlaying function isPlaying thisplayer return the currentTime of player thisplayer > 1 end isPlaying on playaudio end playaudio function listaudiofiles end listaudiofiles movie manager forthcoming too ;) And the features keep growing... (in the process i also create a stack tools for my leftbar - so now stacks and verbs can be used practically!) cheers Xavier http://monsieurx.com/taoo From b.xavier at internet.lu Sat Aug 13 01:00:02 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 13 Aug 2005 07:00:02 +0200 Subject: Looking for suggestions/advice In-Reply-To: Message-ID: <20050813044514.E0955824DAF@mail.runrev.com> Rodney Said > Thanks for all of the ideas, Xavier. This is exactly the kind > of thing I was looking for. As I mentioned previously, I > don't have a formal computer science background. I have read > enough so that I am at least vaguely familiar with lots of > different things which is why I figured that there are > probably better ways to accomplish things. i found this today which will be a great start for your computer science degree ;) There's lots of these on the net and they are always useful to see how they attack the different kinds of problems we encounter. This one is not about rev but the techniques are interesting for both games and general programming. there's three parts (articles)... > I would love to take a look at the stack you mentioned for > the BotWar game. I suspect that I can mine it for techniques. Here is the top download page. http://monsieurx.com/modules.php?name=Downloads&d_op=viewdownload&cid=14 Now, it's made using my TAOO technique which boils down to card contains all the main game scripts there's a "loop"/game section an arena/grid section (taken from xosmedialib) finally, a bot section with the bot verbs: move, shoot, etc... note: stack geometry is handled by gim.rev (see downloads->taoo->[rev->]managers http://monsieurx.com/modules.php?name=Downloads&d_op=viewdownload&cid=23 > From other ideas that you mentioned, I have been thinking > along the ideas of more of what you call verbobject handlers > so that each command isn't quite as large. It just seems that > command scripts would become really cumbersome to maintain > and modify if they get too large. it depends how much you want to reuse your code elsewhere... a oneword handler/function with parameters is easier to call sometimes, than having lots of little interdependent script that could get confused without enough parametrizing. Depends on the context. For example, when a bot does a command, the internal scripts need to know which bot did what and how... So a bot id parameter is essential. > That isn't to say that I > would be reluctant to add new functionality to existing > commands. As long as new arguments are optional, it wouldn't > break existing functionality. I think it is easier for > non-programmers to understand a greater number of simple > commands than a small number of complex commands. if the handlers are named correctly and you follow a set of fixed rules, it should be easy... > As for your references to dynamic scripts and associative > arrays, are there any pointers you can give me to learn more > about these techniques as they would apply to Rev? yes and no... you create a script with a script and then get "put" && the time do it GIM and botspace.rev have a few dynamic scripts, im sure you'll find plenty examples. A bit off topic but just on the edge of dynamic scripting is this verbobject model since it applies gracefully in the dynamic scripting usage. GIM is a nice example of this verb-object semantics and game scheme but applied to geometry management. TAOO, my working environment and framework in Rev or MC is just like that too but distributed over a growing dozen of "object" class stacks each with the object's verbs... There's some 200-600KB of scripts available any time for any taoo component. I dont event have to look at any script reference ever since it's so obvious to listObjects, findFile, relatekeywords, etc... > Also, what specifically do you mean by a pro-active selective > bot editor? Is this just an editor that knows about the > commands and helps the user with command completion or > choosing the commands from menus so that it can prompt the > user for the specific arguments needed? you got it... selective meant that it only hands to the user the available words - no mistakes allowed... > Thank you for your help, No, thank you, Dan and Marielle wanted a clear example of how taoo works, and i just can't find the words or a way to make a simpler example... This helped quite a bit... cheers Xavier From jacque at hyperactivesw.com Sat Aug 13 01:15:28 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 13 Aug 2005 00:15:28 -0500 Subject: suspend mouse clicks? In-Reply-To: References: Message-ID: <42FD81F0.1000208@hyperactivesw.com> MisterX wrote: > Thanks Jaque > > i just created the audio manager for TAOO thanks to you! You're welcome, though it wasn't a big deal really. All you have to do is memorize the 6,000+ pages in the docs. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Aug 13 01:19:23 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 13 Aug 2005 00:19:23 -0500 Subject: Close Card preOpenCard precedence In-Reply-To: References: Message-ID: <42FD82DB.3040301@hyperactivesw.com> Hershel Fisch wrote: > On 8/12/05 1:23 PM, "Klaus Major" wrote: > > >>Hi Hershel, >> >> >>>Hi all, Which of the following has precedence, CloseCard or >>>preOpenCard ? >> >>closecard >> >>...and this took me about 20 seconds to test with 2 cards in a new > > > Thanks, yes it took me about 10 min. and this what I found as well. And that > tell me that my app has a problem which I can't pin point. If I do it in > script debug mode then every thing is good else it doesn't work. If you are testing on the first card of your stack, that stack won't get any "closecard" message when the stack first opens. If you are testing after the stack is already open or from a different card, then you should get a closecard each time. Could the problem be that you are trying to do something when the stack first opens? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katir at hindu.org Sat Aug 13 01:29:56 2005 From: katir at hindu.org (Sivakatirswami) Date: Fri, 12 Aug 2005 19:29:56 -1000 Subject: Repeat until (0r "while") not working In-Reply-To: <003E27F0-1F95-4F9B-988A-E88004C85C1D@lacscentre.co.uk> References: <003E27F0-1F95-4F9B-988A-E88004C85C1D@lacscentre.co.uk> Message-ID: Dave wins the prize for spotting my goof... I did have earlier in the handler (duh...) set the linedelimiter to "\" So, I learned something, besides the several variations offered... I moved the empty line cleanup outside the handler to a function: main handler: put deleteEmptyLines(fld "transcript") into tFinalTranscript function deleteEmptyLines tTranscript repeat while ((line 1 of tTranscript) is empty) delete line 1 of tTranscript end repeat repeat until ((the last line of tTranscript) is not empty) delete the last line of tTranscript end repeat return tTranscript end deleteEmptyLines Interesting... even though the linedelimiter in the main handler is set to "\" Since the functions are independent... they respect CR as the line delimiter... and it works without having to reset the line delimiter in the main handler. My goodness, how often I have in my scripts, changed delimiters mid- handler... when probably I should be doing the "LISP" thing that we see here from time to time, and breaking out these routines into discreet functions. Thanks Sivakatirswami On Aug 09, 2005, at 10:44 PM, Dave Cragg wrote: > On 10 Aug 2005, at 02:17, Sivakatirswami wrote: > > >> I'm missing something very simple here, >> >> Goal: delete empty lines beginning and end of text chunk >> >> --------------- >> >> put fld "transcript" into tFinalTranscript >> >> # clean up extra lines at beginning and end >> >> repeat while ((line 1 of tFinalTranscript) is empty) >> delete line 1 of tFinalTranscript >> end repeat >> > > This part works here, with or without the parentheses. > > Thoughts: > Are the leading lines really empty? For example, you don't have a > crlf there instead of a normal return. Or possibly you have set a > different lineDelimiter. > > > >> >> repeat until ((the last line of tFinalTranscript) is not empty) >> delete the last line of tFinalTranscript >> end repeat >> > > This may not do what you expect if the last char is a return. > Although it displays as though there is a blank line, Rev will > consider the last line to be the line before the final return. You > could add this after the second loop: > > if char -1 of tFinalTranscript is return then delete char -1 of > tFinalTranscript > > > > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Sat Aug 13 01:35:12 2005 From: katir at hindu.org (Sivakatirswami) Date: Fri, 12 Aug 2005 19:35:12 -1000 Subject: put word 1 to -1 of tString into tString -- staggeringly simple In-Reply-To: References: <20050812063228.9099.qmail@web33011.mail.mud.yahoo.com> Message-ID: <2890FCBC-18CA-4250-BF50-5E1E3126D955@hindu.org> OK I just saw this... amazing... this solution leapfrogs the entire issue of line delimiters and required functions et al... Sivakatirswami On Aug 12, 2005, at 4:46 AM, Geoff Canyon wrote: > > On Aug 11, 2005, at 11:32 PM, Erik Hansen wrote: > > >> --- Geoff Canyon >> wrote: >> >> >> >>> put word 1 to -1 of tString into tString >>> >>> >> >> put word 1 to -1 of tString into tString -- >> staggeringly simple. >> > > Yeah, I kind of like Transcript. ;-) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Sat Aug 13 01:51:37 2005 From: katir at hindu.org (Sivakatirswami) Date: Fri, 12 Aug 2005 19:51:37 -1000 Subject: Recording Sound on the Mac Message-ID: <33FE3606-814F-4DA7-96D4-03DB585883F9@hindu.org> Is anyone successfuly recording sound on the mac in Rev? using a USB input Mic? or the mac mic input and if so, what mic are you using? And... anyone using Griffins mic plug to USB adaptor successfully? Does it *really* take in put from a high-quality mic and put it through the USB successfully with fidelity Several anomalies: 1) run "answer record" in the msg box. under the Mac pull down "Compressor" you will see a list of codecs. 11 total 2) run "put the recordcompressiontypes" we get 17 total No compression,raw MACE 3:1,MAC3 MACE 6:1,MAC6 QDesign Music 2,QDM2 Qualcomm PureVoice?,Qclp Apple Lossless,alac ALaw 2:1,alaw 32-bit Floating Point,fl32 64-bit Floating Point,fl64 IMA 4:1,ima4 24-bit Integer,in24 32-bit Integer,in32 MPEG-4 Audio,mp4a AMR Narrowband,samr 16-bit Little Endian,sowt 16-bit Big Endian,twos ?Law 2:1,ulaw 3) I'm using a Telex USB Audio Device Head Set with iListen from MacSpeech (wonderful tool!) and inside iListen I get great feedback recording... But, I am unable to set anything up from inside revolution that does it right... I just get screeches and hisses..horrible sounds from the underworld. 4) set the recordInput to "dflt" should in theory take the input from the setting in the sound prefs of the system... which is set to "Telex.... USB" but the Rev Doc do not indicate that USB is one of the input options... so, question, if USB is not one of the options, should "dflt"still work? Here's my handler in a button that toggles recording on and off. I am unable to find any combination that works. If someone already has this working, I would like to have two settings: one high quality and one best compression (but still decent sound). ======== on mouseUp set the recordRate to 22.050 --the uSampleRate of me set the recordChannels to 1 --the uRecordChannels of me set the recordSamplesize to 8 --the uSampleSize of me set the recordFormat to "mp4a" --the uRecordFormat of me if fld "soundFileName" is empty then answer "You need to set a sound file name." with "OK" exit mouseup end if if the short name of me = "Record" then set the recordInput to "dflt" put "Your are about to record " & quote & fld "soundFilename" & quote & ". Please confirm. If a file exists with this name it will be overwrittten." into tMsg answer tMsg with "Cancel" or "OK" if it is "OK" then show img "recording.gif" with visual effect dissolve very fast set the repeatCount of image "recording.gif" to -1 set the name of me to "Stop Recording" put fld "localPath" of cd 1 of stack "prefs" & "/" & fld "soundFilename" into tSoundFile record sound file tSoundFile ## result if play back: a file of loud continuous electronic screeches! else hide img "recording.gif" with visual effect dissolve very fast exit mouseup end if else stop recording set the name of me to "Record" hide img "recording.gif" with visual effect dissolve very fast end if end mouseUp Any insights-experience appreciated. Thanks Sivakatirwami From FlexibleLearning at aol.com Sat Aug 13 04:56:59 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sat, 13 Aug 2005 04:56:59 EDT Subject: Sending number of copies to print dialogue OS X Message-ID: <200.7ac9df9.302f0fdb@aol.com> I don't think you can do this on any platform, Bill, at least not transcript-native. You would need a low-level call to the printer driver and that is beyond my incompetencies. Bill wanted to know... >Can anybody tell me how to (example please) send the number of copies you >wanted printed to the dialgue box when you open printing? /H FLCo The Scripter's Scrapbook www/FlexibleLearning.com/ssbk.htm From rp011s7075 at blueyonder.co.uk Sat Aug 13 09:05:55 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Sat, 13 Aug 2005 14:05:55 +0100 Subject: Looking for suggestions/advice In-Reply-To: References: Message-ID: > the-Graph- > Construct-using-Games-Part-1/> Thanks for the link, Xavier. I added it to : A page in the revolution wiki on graph drawing techniques. >> That isn't to say that I >> would be reluctant to add new functionality to existing >> commands. As long as new arguments are optional, it wouldn't >> break existing functionality. I think it is easier for >> non-programmers to understand a greater number of simple >> commands than a small number of complex commands. > TAOO, my working environment and framework in Rev or MC is just > like that too but distributed over a growing dozen of "object" class > stacks each with the object's verbs... There's some 200-600KB of > scripts available any time for any taoo component. I dont event > have to look at any script reference ever since it's so obvious > to listObjects, findFile, relatekeywords, etc... > No, thank you, Dan and Marielle wanted a clear example of how taoo > works, and i just can't find the words or a way to make a simpler > example... This helped quite a bit... The issue is not to get a concrete example of *what* your xos can do. The issue is to understand *HOW* your xos does it. What I am trying to understand is whether the approach you take is useful for any person other than you. I have understood that anything can be done. Exactly the same way that about anything can be created using html, , laslzo, xul, flex, halo, c++, c, perl, python, etc. etc. etc. etc.). What would make the value of your xos system is not what it can potentially do... it is how cleverly component composition works in your XOS architecture. Yes, Xavier tends to use the outdated name of object-orientation. But what xos is a lot more in line with an infrastructure for rapid widget creation or rapid software composition. A lot of persons seem to be interested in these issues on the list. That's no surprise, revolution has a fantastic potential. What I am personally interested in is exploring the possibility to have an online library of handlers and calling to them or integrating them on the fly could really speed up software development. put url ("file:" & tfile) into thandler do thandler Call could be made to handlers in a central archive. This wouldn't be infringing the revolution license in any way because due to the 10 scripts limit, this would be possible only with a revolution license. To transform it into a standalone, something would be needed to transform call to handlers stored as text files (or stack or whatever) as content of the script. The problem then is to come up with an excellent model of software composition. This takes a lot of work. So, thanks Xavier for all the hard work. Marielle From gbojsza at gmail.com Sat Aug 13 09:21:10 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Sat, 13 Aug 2005 09:21:10 -0400 Subject: Not passing a return key or enter key. In-Reply-To: <64878EF567131D4596246171F75FD4A974461D@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A974461D@m-epo-1.epo.cdc.gov> Message-ID: <3d8af4150508130621727face7@mail.gmail.com> Jonathan, Thanks for the feedback it appears that I need to understand the difference between keyDown and RawKeyDown. I'm assuming that 65293 refers to a key? On 8/12/05, Lynch, Jonathan wrote: > On RawKeyDown pKey > If the number of lines in me < 3 or pKey <> 65293 then pass > rawkeydown > End rawkeydown > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Glen > Bojsza > Sent: Friday, August 12, 2005 5:02 PM > To: use-revolution at lists.runrev.com > Subject: Not passing a return key or enter key. > > Hi All, > > I wish to limit the number of lines (no more than 3) in a field that a > user add input. > > I have tried the following in the field's script > > on returnKey > if word 2 of the selectedline > 3 then exit returnKey > end returnKey > > on enterKey > if word 2 of the selectedline > 3 then exit enterKey > end enterKey > > > But when I hit the enter key after 3 lines it still keeps going to the > next line? > > thanks, > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From gbojsza at gmail.com Sat Aug 13 09:23:38 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Sat, 13 Aug 2005 09:23:38 -0400 Subject: Not passing a return key or enter key. In-Reply-To: <2F072E73-30F3-44F9-919E-DC821742F44B@lacscentre.co.uk> References: <3d8af41505081214025d52540c@mail.gmail.com> <2F072E73-30F3-44F9-919E-DC821742F44B@lacscentre.co.uk> Message-ID: <3d8af415050813062322637f6f@mail.gmail.com> Dave, I hadn't though about the ability of a user pasting more than 3 lines - good point. I am looking at the difference between RawKeyDown and returnInField and enterInField. thanks for the ideas On 8/12/05, Dave Cragg wrote: > > On 12 Aug 2005, at 22:02, Glen Bojsza wrote: > > > Hi All, > > > > I wish to limit the number of lines (no more than 3) in a field that a > > user add input. > > > > I have tried the following in the field's script > > > > on returnKey > > if word 2 of the selectedline > 3 then exit returnKey > > end returnKey > > > > on enterKey > > if word 2 of the selectedline > 3 then exit enterKey > > end enterKey > > > > > > But when I hit the enter key after 3 lines it still keeps going to the > > next line? > > > The messages you need to trap are returnInField and enterInField. > returnKey and enterkey are not sent to fields that are being edited. > I'm not sure why. It's caught me out a few times. > > Also, you may need to prevent users from pasting more than three > lines into the field. For that, you could use the pasteKey message. > > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From gbojsza at gmail.com Sat Aug 13 09:28:24 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Sat, 13 Aug 2005 09:28:24 -0400 Subject: Not passing a return key or enter key. In-Reply-To: <42FD6F6F.4020704@hyperactivesw.com> References: <3d8af41505081214025d52540c@mail.gmail.com> <42FD6F6F.4020704@hyperactivesw.com> Message-ID: <3d8af41505081306283bd72b14@mail.gmail.com> Hi Jacque, Unfortunately I want to allow the user to use return key to enter the minimum they want on the first two lines. The first line they may want to use as a Title or description with one or two words and then hit enter and give details. So autotab cannot work here. But I am glad you mentioned the pasteKey and may not work in the ide ... this would save me a lot of troubleshooting. regards On 8/12/05, J. Landman Gay wrote: > Glen Bojsza wrote: > > > > I wish to limit the number of lines (no more than 3) in a field that a > > user add input. > > Size your field to exactly 3 lines high. Set the autotab property of the > field to true. The field will now allow only three lines of text. Any > returns entered after that will cause the selection to jump to the next > editable field. No scripting required. > > You can still paste more than 3 lines though. For that, trap the > "pastekey" message and trim off all but the first three lines. Note that > pastekey may not work in the IDE, but will work okay in a standalone or > when you suspend development tools. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From charles.hartman at conncoll.edu Sat Aug 13 09:39:15 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sat, 13 Aug 2005 09:39:15 -0400 Subject: char-in-menu question Message-ID: I need to include an ampersand -- numToChar(38) -- in the text of one menuItem associated with a button. I've put it there, and I can check it in the message box (put char 10 of the last line of text of btn "MyButton") -- but it doesn't show up in the menu itself. I need a double-quote mark, an ampersand, and another double-quote. I just get two double-quotes with nothing in between. How do I persuade the ampersand to show up? It doesn't seem to have a constant, like "quote". Do I need to insert an escape character in the text of the menu item? Which? Charles Hartman From jhurley at infostations.com Sat Aug 13 10:46:38 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sat, 13 Aug 2005 07:46:38 -0700 Subject: ANN: BreakpointsNavigator 1.2 In-Reply-To: <20050813082448.2E81B930061@mail.runrev.com> References: <20050813082448.2E81B930061@mail.runrev.com> Message-ID: > >Message: 3 >Date: Sat, 25 Jun 2005 11:41:29 +0200 >From: "MisterX" >Subject: ANN: BreakpointsNavigator 1.2 >To: "'How to use Revolution'" >Message-ID: <20050625090033.ADE3B93009C at mail.runrev.com> >Content-Type: text/plain; charset="US-ASCII" > >MonsieurX proudly presents version 1.2 of BPN. Xavier, Thank you for this very useful utility. Puzzling problem:Can't get the text in field "Debug objects" to wrap. (OS Tiger, RR 2.6) Jim From rodneys at io.com Sat Aug 13 10:52:56 2005 From: rodneys at io.com (Rodney Somerstein) Date: Sat, 13 Aug 2005 10:52:56 -0400 Subject: Looking for suggestions/advice In-Reply-To: <20050813044514.E0955824DAF@mail.runrev.com> References: <20050813044514.E0955824DAF@mail.runrev.com> Message-ID: Thanks again for your help Xavier. The article on graphs looks very interesting and is definitely a useful idea to know about. I'll keep that and the devarticles site bookmarked for future use. Your TAOO technique looks to be an advanced extension of the kind of thing I'm thinking about doing with the scripts for my game engine. I'll take a look through the BotWar game and see what I can make learn from it when I get the opportunity. I'm not quite sure what GIM does yet, but that will hopefully become clearer as I investigate as well. -Rodney From see3d at writeme.com Sat Aug 13 10:59:23 2005 From: see3d at writeme.com (Dennis Brown) Date: Sat, 13 Aug 2005 10:59:23 -0400 Subject: char-in-menu question In-Reply-To: References: Message-ID: <187BCE85-400C-49A0-9AFD-019F1BE0A036@writeme.com> && form the docs "To put an & or / character in the text of a menu, double the characters: && or //." Dennis On Aug 13, 2005, at 9:39 AM, Charles Hartman wrote: > I need to include an ampersand -- numToChar(38) -- in the text of > one menuItem associated with a button. I've put it there, and I can > check it in the message box (put char 10 of the last line of text > of btn "MyButton") -- but it doesn't show up in the menu itself. > > I need a double-quote mark, an ampersand, and another double-quote. > I just get two double-quotes with nothing in between. How do I > persuade the ampersand to show up? It doesn't seem to have a > constant, like "quote". Do I need to insert an escape character in > the text of the menu item? Which? > > Charles Hartman > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From tbandi at swissonline.ch Sat Aug 13 11:19:00 2005 From: tbandi at swissonline.ch (Till Bandi) Date: Sat, 13 Aug 2005 17:19:00 +0200 Subject: OT: Spotlight on Rev scripts In-Reply-To: References: <20050812221543.73AC28251B3@mail.runrev.com> Message-ID: it is working here to - but only the stack (in wich the script is) is indicated. (iMac 5) Till Am 13.08.2005 um 00:45 schrieb Jim Hurley: >> >> Message: 8 >> Date: Fri, 12 Aug 2005 19:56:49 +0200 >> From: Eric Chatonet >> Subject: Re: OT: Spotlight on Rev scripts >> To: How to use Revolution >> Message-ID: > F9DF1E831194 at sosmartsoftware.com> >> Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; >> format=flowed >> >> Hi Jim and Klaus, >> >> From the read-me about 2.6: >> >> * Spotlight support: use Spotlight to search within Revolution >> stacks on Mac OS Tiger >> >> I made some tests with Spotlight and Rev 2.6: >> >> 1. I found some specific handlers not only in stack scripts but in >> another objects (cards). >> 2. I found some field's text extracts without problem either (in >> any card). >> >> So I'm inclined to think that Spotlight is able to search fields and >> scripts. >> >> > > > Eric, > > I glad to hear that it works on your system. > > But why are Klaus and I unable to work with Spotlight? I have just > upgraded to 10.4.2 and am using Rev 2.6. > > Klaus: Thanks for confirming. Glad to know at least that I'm not > crazy. Are you also using a PowerBook? > > I did a search for MouseUp in Spotlight and got some results > (including Read-me about 2.6 you mentioned) but there were no > ".rev" files. Only some text and pdf files. > > I this an issue for Bugzilla? > > > Jim > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From charles.hartman at conncoll.edu Sat Aug 13 11:18:27 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sat, 13 Aug 2005 11:18:27 -0400 Subject: char-in-menu question In-Reply-To: <187BCE85-400C-49A0-9AFD-019F1BE0A036@writeme.com> References: <187BCE85-400C-49A0-9AFD-019F1BE0A036@writeme.com> Message-ID: <91EFCFFA-AE41-4DC0-8CF2-D7918C5FB39A@conncoll.edu> Thanks -- I knew it would be simple, but I couldn't find it. Where in the docs is that? Charles On Aug 13, 2005, at 10:59 AM, Dennis Brown wrote: > && > form the docs "To put an & or / character in the text of a menu, > double the characters: && or //." > > Dennis > > On Aug 13, 2005, at 9:39 AM, Charles Hartman wrote: > > >> I need to include an ampersand -- numToChar(38) -- in the text of >> one menuItem associated with a button. I've put it there, and I >> can check it in the message box (put char 10 of the last line of >> text of btn "MyButton") -- but it doesn't show up in the menu itself. >> >> I need a double-quote mark, an ampersand, and another double- >> quote. I just get two double-quotes with nothing in between. How >> do I persuade the ampersand to show up? It doesn't seem to have a >> constant, like "quote". Do I need to insert an escape character in >> the text of the menu item? Which? >> >> Charles Hartman >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From see3d at writeme.com Sat Aug 13 11:28:51 2005 From: see3d at writeme.com (Dennis Brown) Date: Sat, 13 Aug 2005 11:28:51 -0400 Subject: char-in-menu question In-Reply-To: <91EFCFFA-AE41-4DC0-8CF2-D7918C5FB39A@conncoll.edu> References: <187BCE85-400C-49A0-9AFD-019F1BE0A036@writeme.com> <91EFCFFA-AE41-4DC0-8CF2-D7918C5FB39A@conncoll.edu> Message-ID: Charles, In the topics section under menus I also found it under the Why aren't some characters showing up in my menus topic. Dennis On Aug 13, 2005, at 11:18 AM, Charles Hartman wrote: > Thanks -- I knew it would be simple, but I couldn't find it. Where > in the docs is that? > > Charles > > > On Aug 13, 2005, at 10:59 AM, Dennis Brown wrote: > > >> && >> form the docs "To put an & or / character in the text of a menu, >> double the characters: && or //." >> >> Dennis >> >> On Aug 13, 2005, at 9:39 AM, Charles Hartman wrote: >> >> >> >>> I need to include an ampersand -- numToChar(38) -- in the text of >>> one menuItem associated with a button. I've put it there, and I >>> can check it in the message box (put char 10 of the last line of >>> text of btn "MyButton") -- but it doesn't show up in the menu >>> itself. >>> >>> I need a double-quote mark, an ampersand, and another double- >>> quote. I just get two double-quotes with nothing in between. How >>> do I persuade the ampersand to show up? It doesn't seem to have a >>> constant, like "quote". Do I need to insert an escape character >>> in the text of the menu item? Which? >>> >>> Charles Hartman >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Sat Aug 13 11:34:29 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 13 Aug 2005 17:34:29 +0200 Subject: ANN: BreakpointsNavigator 1.2 In-Reply-To: Message-ID: <20050813151937.1A526825225@mail.runrev.com> quick testing (and fixin if needin...) aha - remove the listbehavior of the field if in debug mode does it! update coming soon. You can fix this easily by clicking on the window button and edit the field... cheers X > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Jim Hurley > Sent: Saturday, August 13, 2005 16:47 > To: use-revolution at lists.runrev.com > Subject: Re: ANN: BreakpointsNavigator 1.2 > > > > >Message: 3 > >Date: Sat, 25 Jun 2005 11:41:29 +0200 > >From: "MisterX" > >Subject: ANN: BreakpointsNavigator 1.2 > >To: "'How to use Revolution'" > >Message-ID: <20050625090033.ADE3B93009C at mail.runrev.com> > >Content-Type: text/plain; charset="US-ASCII" > > > >MonsieurX proudly presents version 1.2 of BPN. > > Xavier, > > > Thank you for this very useful utility. Puzzling > problem:Can't get the text in field "Debug objects" to wrap. > (OS Tiger, RR 2.6) > > Jim > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Sat Aug 13 14:19:16 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 13 Aug 2005 13:19:16 -0500 Subject: put word 1 to -1 of tString into tString -- staggeringly simple In-Reply-To: <2890FCBC-18CA-4250-BF50-5E1E3126D955@hindu.org> Message-ID: On 8/13/05 12:35 AM, "Sivakatirswami" wrote: > OK I just saw this... amazing... this solution leapfrogs the entire > issue of line delimiters and required functions et al... The only thing to keep in mind is the situation where you have hard-spaces before or after a string, in which case the "word 1 to -1" approach won't work. Admittedly, this is a extremely rare, but I just thought I should mention it for those planning on using this solution. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jacque at hyperactivesw.com Sat Aug 13 15:48:55 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 13 Aug 2005 14:48:55 -0500 Subject: Not passing a return key or enter key. In-Reply-To: <3d8af41505081306283bd72b14@mail.gmail.com> References: <3d8af41505081214025d52540c@mail.gmail.com> <42FD6F6F.4020704@hyperactivesw.com> <3d8af41505081306283bd72b14@mail.gmail.com> Message-ID: <42FE4EA7.1020809@hyperactivesw.com> Glen Bojsza wrote: > Hi Jacque, > > Unfortunately I want to allow the user to use return key to enter the > minimum they want on the first two lines. Maybe I don't understand what you need, but with autotab set to true the user can enter returns and enter keys normally until there are 3 lines in the field. After that, the field won't accept any more. But it works normally for the first two lines, and you can still trap for enterInField and returnInField if you need to. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gbojsza at gmail.com Sat Aug 13 15:50:40 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Sat, 13 Aug 2005 15:50:40 -0400 Subject: Not passing a return key or enter key. In-Reply-To: <42FE4EA7.1020809@hyperactivesw.com> References: <3d8af41505081214025d52540c@mail.gmail.com> <42FD6F6F.4020704@hyperactivesw.com> <3d8af41505081306283bd72b14@mail.gmail.com> <42FE4EA7.1020809@hyperactivesw.com> Message-ID: <3d8af41505081312503878ce6c@mail.gmail.com> Jacque, That clears things up quite nicely. Thanks! ...I love this list On 8/13/05, J. Landman Gay wrote: > Glen Bojsza wrote: > > Hi Jacque, > > > > Unfortunately I want to allow the user to use return key to enter the > > minimum they want on the first two lines. > > Maybe I don't understand what you need, but with autotab set to true the > user can enter returns and enter keys normally until there are 3 lines > in the field. After that, the field won't accept any more. But it works > normally for the first two lines, and you can still trap for > enterInField and returnInField if you need to. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Sat Aug 13 16:22:42 2005 From: katir at hindu.org (Sivakatirswami) Date: Sat, 13 Aug 2005 10:22:42 -1000 Subject: put word 1 to -1 of tString into tString -- staggeringly simple In-Reply-To: References: Message-ID: What is the ASCII for a hard space and while the space might be retained, I do believe even with a a hard space, the empty line(s) deletion at beginning and end of the entire text chunk would still be achieved (the original goal) right? skts On Aug 13, 2005, at 8:19 AM, Ken Ray wrote: > On 8/13/05 12:35 AM, "Sivakatirswami" wrote: > > >> OK I just saw this... amazing... this solution leapfrogs the entire >> issue of line delimiters and required functions et al... >> > > The only thing to keep in mind is the situation where you have hard- > spaces > before or after a string, in which case the "word 1 to -1" approach > won't > work. Admittedly, this is a extremely rare, but I just thought I > should > mention it for those planning on using this solution. > > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From pixelbird at interisland.net Sat Aug 13 16:49:56 2005 From: pixelbird at interisland.net (Ken Norris) Date: Sat, 13 Aug 2005 13:49:56 -0700 Subject: use-revolution Digest, Vol 23, Issue 46 In-Reply-To: <20050813170003.A0DE1825233@mail.runrev.com> References: <20050813170003.A0DE1825233@mail.runrev.com> Message-ID: <8293425a126236a2f35c30f42d8b7ab5@interisland.net> Howdy, > Date: Fri, 12 Aug 2005 19:51:37 -1000 > From: Sivakatirswami > Subject: Recording Sound on the Mac Lotsa stuff to go through and I gotta run, but I'll take a stab at a couple things. > Is anyone successfuly recording sound on the mac in Rev? using a USB > input Mic? Nope, iMic.... > or the mac mic input Macs don't have mic inputs, per se. It's a stereo line-in jack, or optical DA jack . > and if so, what mic are you using? There are speciailty mics that combine the signal into mono and have built-in preamps. > > And... anyone using Griffins mic plug to USB adaptor successfully? Assuming you mean the iMic adapter, then yes, every day. I'm using a Radio Shack Optimus Unidirectional high impedance mic with a mono to stereo adapter, otherwise it only records on the left side. > Does it *really* take in put from a high-quality mic and put it > through the USB successfully with fidelity Depends what you mean by "high quality mic" and "fidelity". The iMic should do very well for most utility work. Since I'm developing a sound studio (got to get back to work on the control room deadwall right now), high-quality to me means a studio condenser recording mic, some cost thousands of dollars, and they are all XLR low-impedence, requiring a high-end preamp of some kind. But, unless you are recording in the studio or professionally on stage I think you mean something on the order of a $50-100 high impedence mic. like the one I described first, which is what I use for voice messaging and speech recognition. I have actually recorded some SFX in the studio with it. It's a dynamic mic. > 4) set the recordInput to "dflt" should in theory take the input > from the setting in the sound prefs of the system... which is set to > "Telex.... USB" but the Rev Doc do not indicate that USB is one of > the input options... so, question, if USB is not one of the options, > should "dflt"still work? So, are you trying to record into Rev from the TELEX headset? If so, and it's already selected in Sound Prefs, then leave it alone, don't reset it to anything. It's on. "USB" is not a device option, the selection is the name and port config of the TELEX. The line of info in the Inp[ut panel is coming from the TELEX (from either its onboard circuitry or an installed driver that recognizes it). IOW, the sound system isn't going to look for something else because it happens to be a USB device, you must access the device by name. For example, if you had an iMic setup, the Input panel would show: iMic USB audio system -- as one of the input devices, which is what the system is getting from the device. All the best, Ken N. From revdan at danshafer.com Sat Aug 13 18:58:12 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 13 Aug 2005 15:58:12 -0700 Subject: "Trouble Downloading Engine" Message-ID: <8FFCD288-4E44-438D-A512-AFF327EF6E12@danshafer.com> I'm trying to download the engines for OS 9 and FreeBSD to test an app I'm scheduled to deliver soon. When I check the appropriate systems in the Standalone APplication Settings dialog, the builder tells me I don't have that engine and asks if I want to download it. I say yes. It starts the download but almost immediately reports "Problem downloading engine." Anyone else having problems with this process? I know my license allows for these downloads. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From erikhans08 at yahoo.com Sat Aug 13 19:21:26 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sat, 13 Aug 2005 16:21:26 -0700 (PDT) Subject: what is a hard space? In-Reply-To: Message-ID: <20050813232126.78964.qmail@web33002.mail.mud.yahoo.com> --- Ken Ray wrote: > On 8/13/05 12:35 AM, "Sivakatirswami" > wrote: > The only thing to keep in mind is the situation > where you have hard-spaces > before or after a string, in which case the > "word 1 to -1" approach won't > work. what is a hard space? thanks, Erik Hansen erik at erikhansen.org http://www.erikhansen.org ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From kray at sonsothunder.com Sat Aug 13 19:57:02 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 13 Aug 2005 18:57:02 -0500 Subject: put word 1 to -1 of tString into tString -- staggeringly simple In-Reply-To: Message-ID: On 8/13/05 3:22 PM, "Sivakatirswami" wrote: > What is the ASCII for a hard space and while the space might be > retained, I do believe even with a a hard space, the empty line(s) > deletion at beginning and end of the entire text chunk would still be > achieved (the original goal) > > right? The ASCII value for a hard space is 202, and unfortunately the answer depends on what you've got in your container. If you have: (CR) (spc)(CR) Test1(CR) Test2(CR) (CR) (spc)(CR) when you do word 1 to -1 you get: Test1(CR) Test2 However, if the container is: (CR) (hardspc)(CR) Test1(CR) Test2(CR) (CR) (hardspc)(CR) when you do word 1 to -1 you get: (hardspc)CR Test1(CR) Test2(CR) (hardspc) This is why I use the regex expression for my "stsTrim" function instead of "word 1 to -1"... it's not as elegant, but it *does* handle all the situations. function stsTrim pWhat local tRetVal get matchText(pWhat, "(?s)^\s*(.*?)\s*$", tRetVal) return tRetVal end stsTrim But if you know for sure that you won't be dealing with hard spaces, "word 1 to -1" is really elegant and easier to use I'd think. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Sat Aug 13 20:01:13 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 13 Aug 2005 19:01:13 -0500 Subject: what is a hard space? In-Reply-To: <20050813232126.78964.qmail@web33002.mail.mud.yahoo.com> Message-ID: On 8/13/05 6:21 PM, "Erik Hansen" wrote: > > --- Ken Ray wrote: > >> On 8/13/05 12:35 AM, "Sivakatirswami" >> wrote: > >> The only thing to keep in mind is the situation >> where you have hard-spaces >> before or after a string, in which case the >> "word 1 to -1" approach won't >> work. > > what is a hard space? A "hard space" is ASCII 202 (which on a Mac you can get by typing Option-Space), which looks like a space, but acts like a non-space character - that is, you can't break the words connected with hard spaces because it "looks" (to the OS) like a single word. Back in the old HC/SC days, you'd use hard spaces to make sure the "clickText" could be used on what *appeared* to be two (or more) words in a field. For example, if you have: Ken(spc)Ray(spc)coded(spc)here in a locked field and the script of the field says "on mouseUp;put the clickText;end mouseUp", when I click on "Ken", it will put "Ken". However, if I have this in a field: Ken(hardspc)Ray(spc)coded(spc)here and then clicked on "Ken", it will put "Ken Ray". HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From charles.hartman at conncoll.edu Sat Aug 13 20:16:15 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sat, 13 Aug 2005 20:16:15 -0400 Subject: running the Player Message-ID: <7C563748-0E21-4DA8-9EBC-7C13B408CA4F@conncoll.edu> Sorry, I know we've been over & over this, but: When I launch the (OSX) Dreamcard Player by double-clicking the app (not a stack), I'm getting *nothing* -- just a splash / starup screen with "Preparing..." and "Checking license..." and a big right-facing arrow. The arrow isn't clickable; nothing is; and the menu offers nothing useful except Quit. Clearly *not* what I want to instruct my Dreamcard-stack users to do. But if the app is there (if they've downloaded both my stack and the Player), some will do it anyway. Charles Hartman From ambassador at fourthworld.com Sat Aug 13 21:01:20 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 13 Aug 2005 18:01:20 -0700 Subject: what is a hard space? In-Reply-To: References: Message-ID: <42FE97E0.4000909@fourthworld.com> Ken Ray wrote: >>what is a hard space? > > A "hard space" is ASCII 202 (which on a Mac you can get by typing > Option-Space), which looks like a space, but acts like a non-space character > - that is, you can't break the words connected with hard spaces because it > "looks" (to the OS) like a single word. FWIW, a "hard space" is sometimes called a "non-breaking space" (in reference to word breaks), and is represented in HTML and Rev's htmlText with the character entity " ". If you're working with htmlText the character entity can be easier to deal with than the ASCII value. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Sat Aug 13 21:03:00 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 13 Aug 2005 18:03:00 -0700 Subject: running the Player In-Reply-To: <7C563748-0E21-4DA8-9EBC-7C13B408CA4F@conncoll.edu> References: <7C563748-0E21-4DA8-9EBC-7C13B408CA4F@conncoll.edu> Message-ID: <42FE9844.9030302@fourthworld.com> Charles Hartman wrote: > Sorry, I know we've been over & over this, but: > > When I launch the (OSX) Dreamcard Player by double-clicking the app > (not a stack), I'm getting *nothing* -- just a splash / starup screen > with "Preparing..." and "Checking license..." and a big right-facing > arrow. The arrow isn't clickable; nothing is; and the menu offers > nothing useful except Quit. > > Clearly *not* what I want to instruct my Dreamcard-stack users to do. > But if the app is there (if they've downloaded both my stack and the > Player), some will do it anyway. Agreed, it doesn't provide much guidance. What do you feel would make for a better user experience? For example, should it present a file selection dialog, or have some sort of Home stack, or....? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From charles.hartman at conncoll.edu Sat Aug 13 22:46:41 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sat, 13 Aug 2005 22:46:41 -0400 Subject: running the Player In-Reply-To: <42FE9844.9030302@fourthworld.com> References: <7C563748-0E21-4DA8-9EBC-7C13B408CA4F@conncoll.edu> <42FE9844.9030302@fourthworld.com> Message-ID: <7495CE23-4DC1-4E06-BD38-155C6FB010FC@conncoll.edu> On Aug 13, 2005, at 9:03 PM, Richard Gaskin wrote: > Charles Hartman wrote: > >> When I launch the (OSX) Dreamcard Player by double-clicking the >> app (not a stack), I'm getting *nothing* -- just a splash / >> starup screen with "Preparing..." and "Checking license..." and a >> big right-facing arrow. The arrow isn't clickable; nothing is; >> and the menu offers nothing useful except Quit. >> Clearly *not* what I want to instruct my Dreamcard-stack users to >> do. But if the app is there (if they've downloaded both my stack >> and the Player), some will do it anyway. >> > > Agreed, it doesn't provide much guidance. > As far as I can see (??), less than that: it doesn't look as though it permits any action but quitting. (Not a useful application model . . .) I'm sure I'm missing something. But -- appearances sometimes to the contrary, I'm not a really naive computer user -- and if I can't find it, I *know* many of the people using my stack won't be able to either. > What do you feel would make for a better user experience? > > For example, should it present a file selection dialog, or have > some sort of Home stack, or....? > The former seems like the best idea; users are accustomed to those dialogs in all kinds of apps. The latter could be good. But there would have to be a really direct way for me, as developer, to make my stack available either as or from that "home stack". Charles From revdan at danshafer.com Sat Aug 13 23:31:09 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 13 Aug 2005 20:31:09 -0700 Subject: running the Player In-Reply-To: <7495CE23-4DC1-4E06-BD38-155C6FB010FC@conncoll.edu> References: <7C563748-0E21-4DA8-9EBC-7C13B408CA4F@conncoll.edu> <42FE9844.9030302@fourthworld.com> <7495CE23-4DC1-4E06-BD38-155C6FB010FC@conncoll.edu> Message-ID: Yeah, as I've said here before, the Player just isn't well documented or understood. It *appears* to me that it is RunRev's intent that the Player should *never* be launched directly, but only indirectly by double-clicking on a stack. The problem, of course, is that you can't prevent users from launching it. I think it should either: (1) Display message that says, in essence, "This is a Player. You got to give it something to play with. Pick a stack file, double-click it and then see how great it is" Or (2) Present with a file selection dialog (filtered for stacks if possible). But that's just me. On Aug 13, 2005, at 7:46 PM, Charles Hartman wrote: > > On Aug 13, 2005, at 9:03 PM, Richard Gaskin wrote: > > >> Charles Hartman wrote: >> >> >>> When I launch the (OSX) Dreamcard Player by double-clicking the >>> app (not a stack), I'm getting *nothing* -- just a splash / >>> starup screen with "Preparing..." and "Checking license..." and >>> a big right-facing arrow. The arrow isn't clickable; nothing is; >>> and the menu offers nothing useful except Quit. >>> Clearly *not* what I want to instruct my Dreamcard-stack users to >>> do. But if the app is there (if they've downloaded both my stack >>> and the Player), some will do it anyway. >>> >>> >> >> Agreed, it doesn't provide much guidance. >> >> > As far as I can see (??), less than that: it doesn't look as though > it permits any action but quitting. (Not a useful application > model . . .) I'm sure I'm missing something. But -- appearances > sometimes to the contrary, I'm not a really naive computer user -- > and if I can't find it, I *know* many of the people using my stack > won't be able to either. > > > >> What do you feel would make for a better user experience? >> >> For example, should it present a file selection dialog, or have >> some sort of Home stack, or....? >> >> > > The former seems like the best idea; users are accustomed to those > dialogs in all kinds of apps. The latter could be good. But there > would have to be a really direct way for me, as developer, to make > my stack available either as or from that "home stack". > > Charles > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From tominjapan at excite.com Sun Aug 14 00:55:32 2005 From: tominjapan at excite.com (Thomas McCarthy) Date: Sun, 14 Aug 2005 00:55:32 -0400 (EDT) Subject: Recording Sound on the Mac Message-ID: <20050814045532.A29DEBA25@xprdmailfe14.nwk.excite.com> Sivakatirswami, Wouldn't you know it? I just hooked up my iBook yesterday to a usb sound-thing (not Griffith) Results: Hugely better sound quality. I tried with a number of mikes: 1. Karaoke-style mike (works well with my tape-deck): so-so, muffled 78 rpm sound. 2. Headset--a little buzz (could be because my rabbit chomped throuh the cord and I fixed it myself.) 3. ancient Fujitsu desktop mike which I'd picked up for a buck. Great sound. After choosing the USB thing in the Sound control panel, I used Rev to record. No problem. The only big difference I could see with your script is that I don't use mpeg4. I set the format to wave. I have had some success encoding into mp3, if you're interested. That needs a wave file. Tom McCarthy ------------ Ego sum rex Romanus et supra grammaticam. Sigismund I (obit 1437) ------------ _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From martin at materiaprima.fsnet.co.uk Sun Aug 14 02:19:39 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Sun, 14 Aug 2005 07:19:39 +0100 Subject: what is a hard space? In-Reply-To: References: Message-ID: <42FEE27B.3040005@materiaprima.fsnet.co.uk> Ken Ray wrote: > On 8/13/05 6:21 PM, "Erik Hansen" wrote: >> >>what is a hard space? > > > A "hard space" is ASCII 202 (which on a Mac you can get by typing > Option-Space) Perhaps it's worth adding that: Non-breaking space is character 202 in Mac Roman. But it is 160 in Latin-1, Ansi and Unicode. Martin Baxter From jburtt at earthlink.net Sun Aug 14 02:47:56 2005 From: jburtt at earthlink.net (John) Date: Sat, 13 Aug 2005 23:47:56 -0700 Subject: use-revolution Digest, Vol 23, Issue 31 In-Reply-To: <20050809170005.935BC824FF8@mail.runrev.com> References: <20050809170005.935BC824FF8@mail.runrev.com> Message-ID: I've been working on much the same thing. My problem is that I have crossing lines and need to be able to drag either right, left, or straight. Any suggestions? John > >The stack below allows one to drag a control along a constrained >path, e.g. a graphic or image along a closed polygon path--see cards >2 and 3. (The polygon may not have any obtuse angles--angles greater >than 180 degrees.) > >(Of course one can easily program the control to move along a >graphic: "Move button "My Button" to the points of graphic "My >Curve".) > >In the message box: > >go stack url "http://home.infostations.net/jhurley/LineCircleIntersection.rev" > >Jim > From 36degrees at runrev.com Sun Aug 14 06:02:39 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Sun, 14 Aug 2005 11:02:39 +0100 Subject: put word 1 to -1 of tString into tString -- staggeringly simple In-Reply-To: References: Message-ID: <1124013759.13111.285.camel@rachmaninov> Prior to 2.2.1 (I believe) non-breaking-spaces were treated the same as other spaces. In particular, they would be eaten up by the 'word' chunk *and* allow line wraps in fields. The latter was reported as a bug and so 'fixed'. In so doing it seems to have broken the functionality of the 'word' chunk in this specific circumstance - something which I don't believe has been mentioned up until now. Anyway, if people are generally of the feeling that the word chunk should also eat non-breaking spaces then BZ it and it will do so again... Warmest Regards, Mark. On Sat, 2005-08-13 at 18:57 -0500, Ken Ray wrote: > On 8/13/05 3:22 PM, "Sivakatirswami" wrote: > > > What is the ASCII for a hard space and while the space might be > > retained, I do believe even with a a hard space, the empty line(s) > > deletion at beginning and end of the entire text chunk would still be > > achieved (the original goal) > > > > right? > > The ASCII value for a hard space is 202, and unfortunately the answer > depends on what you've got in your container. If you have: > > (CR) > (spc)(CR) > Test1(CR) > Test2(CR) > (CR) > (spc)(CR) > > when you do word 1 to -1 you get: > > Test1(CR) > Test2 > > However, if the container is: > > (CR) > (hardspc)(CR) > Test1(CR) > Test2(CR) > (CR) > (hardspc)(CR) > > when you do word 1 to -1 you get: > > (hardspc)CR > Test1(CR) > Test2(CR) > (hardspc) > > This is why I use the regex expression for my "stsTrim" function instead of > "word 1 to -1"... it's not as elegant, but it *does* handle all the > situations. > > function stsTrim pWhat > local tRetVal > get matchText(pWhat, "(?s)^\s*(.*?)\s*$", tRetVal) > return tRetVal > end stsTrim > > But if you know for sure that you won't be dealing with hard spaces, "word 1 > to -1" is really elegant and easier to use I'd think. > > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From 36degrees at runrev.com Sun Aug 14 06:13:27 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Sun, 14 Aug 2005 11:13:27 +0100 Subject: OT: Spotlight on Rev scripts In-Reply-To: References: <20050812221543.73AC28251B3@mail.runrev.com> Message-ID: <1124014407.13111.292.camel@rachmaninov> There are were some issues with the OS actually finding the spotlight importers that applications export in the early releases of Tiger, and indeed, it sounds like there still are! It could be that the point 'auto-updates' that you have performed (given that you are on 10.4.2) have made the system 'forget' about the Revolution Spotlight Importer. In order to find out whether this is the case, go to the shell and type: mdimport -L This will dump a list of all known importers - if Revolution is not mentioned anywhere in this list then it is probably best to copy the importer from within the Revolution application bundle into the global '/Library/Spotlight' folder. The Revolution Spotlight importer can be found inside Revolution.app in Library/Spotlight - it's called 'Revolution.mdimporter'. Of course, the latter step shouldn't be necessary as the system is meant to 'automatically' pick them up... Warmest Regards, Mark. On Fri, 2005-08-12 at 15:45 -0700, Jim Hurley wrote: > > > >Message: 8 > >Date: Fri, 12 Aug 2005 19:56:49 +0200 > >From: Eric Chatonet > >Subject: Re: OT: Spotlight on Rev scripts > >To: How to use Revolution > >Message-ID: > >Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; > > format=flowed > > > >Hi Jim and Klaus, > > > > From the read-me about 2.6: > > > >* Spotlight support: use Spotlight to search within Revolution stacks > >on Mac OS Tiger > > > >I made some tests with Spotlight and Rev 2.6: > > > >1. I found some specific handlers not only in stack scripts but in > >another objects (cards). > >2. I found some field's text extracts without problem either (in any > >card). > > > >So I'm inclined to think that Spotlight is able to search fields and > >scripts. > > > > > Eric, > > I glad to hear that it works on your system. > > But why are Klaus and I unable to work with Spotlight? I have just > upgraded to 10.4.2 and am using Rev 2.6. > > Klaus: Thanks for confirming. Glad to know at least that I'm not > crazy. Are you also using a PowerBook? > > I did a search for MouseUp in Spotlight and got some results > (including Read-me about 2.6 you mentioned) but there were no ".rev" > files. Only some text and pdf files. > > I this an issue for Bugzilla? > > > Jim > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From 36degrees at runrev.com Sun Aug 14 06:50:14 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Sun, 14 Aug 2005 11:50:14 +0100 Subject: put word 1 to -1 of tString into tString -- staggeringly simple In-Reply-To: <1124013759.13111.285.camel@rachmaninov> References: <1124013759.13111.285.camel@rachmaninov> Message-ID: <1124016614.13111.295.camel@rachmaninov> Hmmm... Okay having noticed Ken Ray's post on the utility of non- breaking-spaces *not* being recognised as spaces - it is perhaps not as clear cut as it seems... Mark. On Sun, 2005-08-14 at 11:02 +0100, Mark Waddingham wrote: > Prior to 2.2.1 (I believe) non-breaking-spaces were treated the same as > other spaces. In particular, they would be eaten up by the 'word' chunk > *and* allow line wraps in fields. > > The latter was reported as a bug and so 'fixed'. In so doing it seems to > have broken the functionality of the 'word' chunk in this specific > circumstance - something which I don't believe has been mentioned up > until now. > > Anyway, if people are generally of the feeling that the word chunk > should also eat non-breaking spaces then BZ it and it will do so > again... > > Warmest Regards, > > Mark. > > On Sat, 2005-08-13 at 18:57 -0500, Ken Ray wrote: > > On 8/13/05 3:22 PM, "Sivakatirswami" wrote: > > > > > What is the ASCII for a hard space and while the space might be > > > retained, I do believe even with a a hard space, the empty line(s) > > > deletion at beginning and end of the entire text chunk would still be > > > achieved (the original goal) > > > > > > right? > > > > The ASCII value for a hard space is 202, and unfortunately the answer > > depends on what you've got in your container. If you have: > > > > (CR) > > (spc)(CR) > > Test1(CR) > > Test2(CR) > > (CR) > > (spc)(CR) > > > > when you do word 1 to -1 you get: > > > > Test1(CR) > > Test2 > > > > However, if the container is: > > > > (CR) > > (hardspc)(CR) > > Test1(CR) > > Test2(CR) > > (CR) > > (hardspc)(CR) > > > > when you do word 1 to -1 you get: > > > > (hardspc)CR > > Test1(CR) > > Test2(CR) > > (hardspc) > > > > This is why I use the regex expression for my "stsTrim" function instead of > > "word 1 to -1"... it's not as elegant, but it *does* handle all the > > situations. > > > > function stsTrim pWhat > > local tRetVal > > get matchText(pWhat, "(?s)^\s*(.*?)\s*$", tRetVal) > > return tRetVal > > end stsTrim > > > > But if you know for sure that you won't be dealing with hard spaces, "word 1 > > to -1" is really elegant and easier to use I'd think. > > > > > > Ken Ray > > Sons of Thunder Software > > Web site: http://www.sonsothunder.com/ > > Email: kray at sonsothunder.com > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From charles.hartman at conncoll.edu Sun Aug 14 08:05:04 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sun, 14 Aug 2005 08:05:04 -0400 Subject: running the Player In-Reply-To: References: <7C563748-0E21-4DA8-9EBC-7C13B408CA4F@conncoll.edu> <42FE9844.9030302@fourthworld.com> <7495CE23-4DC1-4E06-BD38-155C6FB010FC@conncoll.edu> Message-ID: <236AE511-9EFF-4858-A256-84D45D885263@conncoll.edu> Well, it's me too. Is there a bug report on this? If so I'll be glad to spend votes on it. As things are, I'm going to have to wrap my app (=stack) in warning stickers. Charles On Aug 13, 2005, at 11:31 PM, Dan Shafer wrote: > Yeah, as I've said here before, the Player just isn't well > documented or understood. > > It *appears* to me that it is RunRev's intent that the Player > should *never* be launched directly, but only indirectly by double- > clicking on a stack. The problem, of course, is that you can't > prevent users from launching it. > > I think it should either: > > (1) Display message that says, in essence, "This is a Player. You > got to give it something to play with. Pick a stack file, double- > click it and then see how great it is" > > Or > > (2) Present with a file selection dialog (filtered for stacks if > possible). > > But that's just me. From sonesond1 at southernct.edu Sun Aug 14 08:58:45 2005 From: sonesond1 at southernct.edu (Dan Soneson) Date: Sun, 14 Aug 2005 08:58:45 -0400 Subject: Re; Recording Sound on the Mac Message-ID: <260F5730-0CC3-11DA-B0A2-00039303CE26@southernct.edu> Sivakatirwami, You've gotten some good feedback already. We use the iMic with Plantronics A-90 headsets to do audio recording. The quality is fine. Once you have set the audio input in System Preferences, you don't need Rev to do that any more. It becomes troublesome anyway, since your users may not all have the same USB device, which the system would list, and I have not found a way in Rev to go out and poll for the options. There are three things I would suggest looking into: set the recordSampleSize to 16 -- 8 just sounds scratchier and tinnier As Tom said, "mp4a" may not be the best (or even any) choice for compression. Although QuickTime Pro can compress files with that codec, I am not sure it is available for other applications (like Rev) to use. I have realistically only been able to compress audio from within Rev with IMA 4:1. The two MACE options are scratchy, and Qualcomm sounds hollow, but it's usable. Perhaps you can just save the files with no compression and use QuickTime to compress them as mp4a files... BTW, the recordFormat property only deals with file types. From the docs: > Value: > The recordFormat is one of the following: > > aiff records a file in AIFF format > wave records a file in WAV format > ulaw records a file in AU format > movie records a file in QuickTime format > So, that would not be where you set the compression. Use the recordCompression property instead. Finally, if you use any compression at all, you cannot use the "play" command in Rev to play it back. You just get screeches. Use a QuickTime player instead. Set the filename of the player to your tSoundFile and play it pack through the player. > set the recordRate to 22.050 --the uSampleRate of me > set the recordChannels to 1 --the uRecordChannels of me > set the recordSamplesize to 8 --the uSampleSize of me > set the recordFormat to "mp4a" --the uRecordFormat of me > > if fld "soundFileName" is empty then > answer "You need to set a sound file name." with "OK" > exit mouseup > end if > > if the short name of me = "Record" then > set the recordInput to "dflt" HTH, Dan Daniel B. Soneson Director, Language Lab Southern CT State University From christian.langers at education.lu Sun Aug 14 09:17:41 2005 From: christian.langers at education.lu (Christian Langers) Date: Sun, 14 Aug 2005 15:17:41 +0200 Subject: "Trouble Downloading Engine" In-Reply-To: <8FFCD288-4E44-438D-A512-AFF327EF6E12@danshafer.com> References: <8FFCD288-4E44-438D-A512-AFF327EF6E12@danshafer.com> Message-ID: <3B94AF13-98C5-43F0-BD09-37AFD5F254AA@education.lu> Hello Dan, I once had the same problem and I realized that it was because of being behind a firewall which filters cookies, banners, http infos.... I turned it off and it worked then... Christian Le 14 ao?t 05 ? 00:58, Dan Shafer a ?crit : > I'm trying to download the engines for OS 9 and FreeBSD to test an > app I'm scheduled to deliver soon. When I check the appropriate > systems in the Standalone APplication Settings dialog, the builder > tells me I don't have that engine and asks if I want to download > it. I say yes. It starts the download but almost immediately > reports "Problem downloading engine." > > Anyone else having problems with this process? I know my license > allows for these downloads. > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From christian.langers at education.lu Sun Aug 14 09:22:10 2005 From: christian.langers at education.lu (Christian Langers) Date: Sun, 14 Aug 2005 15:22:10 +0200 Subject: "Trouble Downloading Engine" In-Reply-To: <3B94AF13-98C5-43F0-BD09-37AFD5F254AA@education.lu> References: <8FFCD288-4E44-438D-A512-AFF327EF6E12@danshafer.com> <3B94AF13-98C5-43F0-BD09-37AFD5F254AA@education.lu> Message-ID: <53AEC0DC-DBE7-43D0-804E-765AB66F7097@education.lu> To be precise : it worked for downloading the win engine ; I tried to download the Mac OS 9 engines... Same message as you got : "Problem downloading engine..." Sorry, Christian Le 14 ao?t 05 ? 15:17, Christian Langers a ?crit : > Hello Dan, > > I once had the same problem and I realized that it was because of > being behind a firewall which filters cookies, banners, http infos.... > > I turned it off and it worked then... > > > Christian > > > > > Le 14 ao?t 05 ? 00:58, Dan Shafer a ?crit : > > >> I'm trying to download the engines for OS 9 and FreeBSD to test an >> app I'm scheduled to deliver soon. When I check the appropriate >> systems in the Standalone APplication Settings dialog, the builder >> tells me I don't have that engine and asks if I want to download >> it. I say yes. It starts the download but almost immediately >> reports "Problem downloading engine." >> >> Anyone else having problems with this process? I know my license >> allows for these downloads. >> >> >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Dan Shafer, Revolution Consultant and Author >> http://www.shafermedia.com >> Get my book, "Revolution: Software at the Speed of Thought" >> From http://www.revolutionpros.com, Click "My Stuff" >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jhurley at infostations.com Sun Aug 14 09:42:41 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 14 Aug 2005 06:42:41 -0700 Subject: e: OT: Spotlight on Rev scripts In-Reply-To: <20050814103703.166E5824F1B@mail.runrev.com> References: <20050814103703.166E5824F1B@mail.runrev.com> Message-ID: > >Message: 19 >Date: Sun, 14 Aug 2005 11:13:27 +0100 >From: Mark Waddingham <36degrees at runrev.com> >Subject: Re: OT: Spotlight on Rev scripts >To: How to use Revolution >Message-ID: <1124014407.13111.292.camel at rachmaninov> >Content-Type: text/plain > >There are were some issues with the OS actually finding the spotlight >importers that applications export in the early releases of Tiger, and >indeed, it sounds like there still are! > >It could be that the point 'auto-updates' that you have performed (given >that you are on 10.4.2) have made the system 'forget' about the >Revolution Spotlight Importer. In order to find out whether this is the >case, go to the shell and type: > mdimport -L > >This will dump a list of all known importers - if Revolution is not >mentioned anywhere in this list then it is probably best to copy the >importer from within the Revolution application bundle into the global >'/Library/Spotlight' folder. The Revolution Spotlight importer can be >found inside Revolution.app in Library/Spotlight - it's called >'Revolution.mdimporter'. > >Of course, the latter step shouldn't be necessary as the system is meant >to 'automatically' pick them up... > >Warmest Regards, > >Mark. Mark, Thank you for monitoring this list. We need you every now and then for issues like this. Shell? What shell? You're talking to a confirmed GUI person. There is a bit of Hermit Crab in me; I have traded my shell for a retirement home. But, to your point. I can't find "Revolution.mdimporter," or "/Library/Spotlight" folder, at least Spotlight can't. Am I missing something, and might this be the reason why Spotlight doesn't recognize Rev stacks? Jim From rpresender at cox.net Sun Aug 14 11:46:33 2005 From: rpresender at cox.net (Robert Presender) Date: Sun, 14 Aug 2005 08:46:33 -0700 Subject: Standalone error Message-ID: Upon saving a rev project as a standalone, an error -10810 resulted. using OS10.3.9, rev 2.5.1 My Mac error chart doesn't show a -10810. Is this error a Rev error? Hope someone can explain what -10810 means. Thanks in advance Regards ... Bob From douggilliland at gmail.com Sun Aug 14 13:02:09 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Sun, 14 Aug 2005 13:02:09 -0400 Subject: running the Player In-Reply-To: <236AE511-9EFF-4858-A256-84D45D885263@conncoll.edu> References: <7C563748-0E21-4DA8-9EBC-7C13B408CA4F@conncoll.edu> <42FE9844.9030302@fourthworld.com> <7495CE23-4DC1-4E06-BD38-155C6FB010FC@conncoll.edu> <236AE511-9EFF-4858-A256-84D45D885263@conncoll.edu> Message-ID: <890e3d26050814100262179ca7@mail.gmail.com> Charles, When I click on the DC Player (on my PowerBook running Tiger) I get the revOnline Viewer which enables one to navigate to the stack. Instead of opening the player, I hide the player and have my students double-click on the stack to open it. Control-click on the stack and drag down to Open With and navigate to the Dream Card Player. When opened, the stack will now open with the Player screen in the background. Works great on my eMacs at school running OSX 10.3. Doug Gilliland Sarasota, FL On 8/14/05, Charles Hartman wrote: > Well, it's me too. Is there a bug report on this? If so I'll be glad > to spend votes on it. As things are, I'm going to have to wrap my app > (=stack) in warning stickers. > > Charles > > On Aug 13, 2005, at 11:31 PM, Dan Shafer wrote: > > > Yeah, as I've said here before, the Player just isn't well > > documented or understood. > > > > It *appears* to me that it is RunRev's intent that the Player > > should *never* be launched directly, but only indirectly by double- > > clicking on a stack. The problem, of course, is that you can't > > prevent users from launching it. > > > > I think it should either: > > > > (1) Display message that says, in essence, "This is a Player. You > > got to give it something to play with. Pick a stack file, double- > > click it and then see how great it is" > > > > Or > > > > (2) Present with a file selection dialog (filtered for stacks if > > possible). > > > > But that's just me. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Sun Aug 14 13:58:14 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Aug 2005 12:58:14 -0500 Subject: what is a hard space? In-Reply-To: <42FEE27B.3040005@materiaprima.fsnet.co.uk> References: <42FEE27B.3040005@materiaprima.fsnet.co.uk> Message-ID: <42FF8636.2060102@hyperactivesw.com> On 8/13/05 6:21 PM, "Erik Hansen" wrote: > > what is a hard space? It's what you are between a rock and a. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhurley at infostations.com Sun Aug 14 14:03:33 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 14 Aug 2005 11:03:33 -0700 Subject: ANN: Dragging along a fixed path In-Reply-To: <20050814103703.166E5824F1B@mail.runrev.com> References: <20050814103703.166E5824F1B@mail.runrev.com> Message-ID: > >Message: 17 >Date: Sat, 13 Aug 2005 23:47:56 -0700 >From: John >Subject: Re: use-revolution Digest, Vol 23, Issue 31 >To: use-revolution at lists.runrev.com >Message-ID: >Content-Type: text/plain; charset="us-ascii" ; format="flowed" > >I've been working on much the same thing. My problem is that I have >crossing lines >and need to be able to drag either right, left, or straight. Any suggestions? > >John > John, I have added a fourth card to the earlier stack that allows for crossing lines. It is no longer possible to use the intersection function when moving along the lines of a closed polygon. The best I could think of was dropping a perpendicular projection from the mouse loc to the crossing lines. (See function below.) The script sets the control to the closest of these projection points. This can create some peculiar results after the mouse passes beyond the end points of a given line. So I require a certain minimum distance between the mouse loc and the projection point. If the mouse is moved too fast, the mouse will sometimes pass beyond this minimum and it looses track of the control; you will have to move the mouse back until it is within this minimum. (I think I set it to 20 pixels. You can change this.) In the message box: go stack url "http://home.infostations.net/jhurley/LineCircleIntersection.rev" and go to the last card. Hope this works for you. Jim function thePerpProjPt2 p0, tLine put line 1 of tLine into p1 put line 2 of tLine into p2 put item 1 of p1 into x1 put item 2 of p1 into y1 put item 1 of p2 into x2 put item 2 of p2 into y2 put item 1 of p0 into x0 put item 2 of p0 into y0 if x2 = x1 then --Vertical line put 1 into s put 0 into c else put (y2-y1)/(x2-x1) into m put m/sqrt(1+m*m) into s --sine put 1/sqrt(1+m*m) into c -- cosine end if put x1+(y0-y1)*s*c+(x0-x1)*c*c into x put y1 + (y0-y1)*s*s + (x0-x1) * s * c into y put x,y into tPt if projPointLiesWithinEndPts(tPt,tLine)then return round(x),round(y) else return "" end thePerpProjPt2 From charles.hartman at conncoll.edu Sun Aug 14 14:07:09 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sun, 14 Aug 2005 14:07:09 -0400 Subject: running the Player In-Reply-To: <890e3d26050814100262179ca7@mail.gmail.com> References: <7C563748-0E21-4DA8-9EBC-7C13B408CA4F@conncoll.edu> <42FE9844.9030302@fourthworld.com> <7495CE23-4DC1-4E06-BD38-155C6FB010FC@conncoll.edu> <236AE511-9EFF-4858-A256-84D45D885263@conncoll.edu> <890e3d26050814100262179ca7@mail.gmail.com> Message-ID: <298F2B53-64F8-4FC3-9C2B-25DAC000DE49@conncoll.edu> That is not what happens when I click the DC Player on my PowerBook running Tiger. Maybe something is strange about my system, but I don't think so, and the Player app obviously works (is not corrupted.) So we seem to have *both* bad behavior (on my PB) and inconsistent behavior. As for control-clicking etc, I don't trust my users to do that much. I also want if possible to have pretty nearly identical instructions for Mac and Windows users. I'll have to play around with both configurations, when I get to the Windows machine I test on. Thanks for the info. Charles On Aug 14, 2005, at 1:02 PM, Douglas Gilliland wrote: > When I click on the DC Player (on my PowerBook running Tiger) I get > the revOnline Viewer which enables one to navigate to the stack. > Instead of opening the player, I hide the player and have my students > double-click on the stack to open it. From jacque at hyperactivesw.com Sun Aug 14 15:48:27 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Aug 2005 14:48:27 -0500 Subject: running the Player In-Reply-To: <298F2B53-64F8-4FC3-9C2B-25DAC000DE49@conncoll.edu> References: <7C563748-0E21-4DA8-9EBC-7C13B408CA4F@conncoll.edu> <42FE9844.9030302@fourthworld.com> <7495CE23-4DC1-4E06-BD38-155C6FB010FC@conncoll.edu> <236AE511-9EFF-4858-A256-84D45D885263@conncoll.edu> <890e3d26050814100262179ca7@mail.gmail.com> <298F2B53-64F8-4FC3-9C2B-25DAC000DE49@conncoll.edu> Message-ID: <42FFA00B.8070706@hyperactivesw.com> Charles Hartman wrote: > That is not what happens when I click the DC Player on my PowerBook > running Tiger. Maybe something is strange about my system, but I don't > think so, and the Player app obviously works (is not corrupted.) So we > seem to have *both* bad behavior (on my PB) and inconsistent behavior. I don't think it is inconsistent -- it has the same behavior problems across the board. :) In a new, virgin copy I get RevOnline opening, along with the ability to open a stack using the folder icon. However, once I change Player's prefs to not open RevOnline, I get the behavior you describe where the Player appears to hang at "preparing..." After that, I can't get it back to the original behavior any more because there is no way to get to the prefs. It hasn't really hung and you can drop stacks onto the icon and they will open, but I know that's not what you want. Player appears to need some adjustments. I don't think it loads libraries either, if stacks are just double-clicked. I'll try to find out more and let the list know. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pixelbird at interisland.net Sun Aug 14 15:52:36 2005 From: pixelbird at interisland.net (Ken Norris) Date: Sun, 14 Aug 2005 12:52:36 -0700 Subject: running the Player In-Reply-To: <20050814103703.02236824F16@mail.runrev.com> References: <20050814103703.02236824F16@mail.runrev.com> Message-ID: Hi Richard, Charles, et al, > Date: Sat, 13 Aug 2005 18:03:00 -0700 > From: Richard Gaskin > Subject: Re: running the Player > > Charles Hartman wrote: >> When I launch the (OSX) Dreamcard Player by double-clicking the app >> (not a stack), I'm getting *nothing* -- just a splash / starup screen >> with "Preparing..." and "Checking license..." and a big right-facing >> arrow. The arrow isn't clickable; nothing is; and the menu offers >> nothing useful except Quit. >> >> Clearly *not* what I want to instruct my Dreamcard-stack users to do. >> But if the app is there (if they've downloaded both my stack and the >> Player), some will do it anyway. > > Agreed, it doesn't provide much guidance. > > What do you feel would make for a better user experience? > > For example, should it present a file selection dialog, or have some > sort of Home stack, or....? Well, I think a customizeable Home stack for DreamCard developers would be helpful...maybe the thing that would bring me back into Rev. Something with a simpler interface to use when developing a project. You can _very_ easily (hard to imagine anything easier) have a sorted and/or categorized list field of stacks, helpful prescripted objects, etc. As a teaching tool, that's the way I'd want it. But, and maybe I don't understand something here: From a stack-user standpoint, shouldn't the stack be installed to where double-clicking on it invisibly launches DreamCard Player which then opens the stack? IOW, the stack end-user need not see the player at all, right? Or am I missing something? All the best, Ken N. From jacque at hyperactivesw.com Sun Aug 14 15:59:52 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Aug 2005 14:59:52 -0500 Subject: "Trouble Downloading Engine" In-Reply-To: <8FFCD288-4E44-438D-A512-AFF327EF6E12@danshafer.com> References: <8FFCD288-4E44-438D-A512-AFF327EF6E12@danshafer.com> Message-ID: <42FFA2B8.7060807@hyperactivesw.com> Dan Shafer wrote: > I'm trying to download the engines for OS 9 and FreeBSD to test an app > I'm scheduled to deliver soon. When I check the appropriate systems in > the Standalone APplication Settings dialog, the builder tells me I > don't have that engine and asks if I want to download it. I say yes. It > starts the download but almost immediately reports "Problem downloading > engine." > > Anyone else having problems with this process? I know my license allows > for these downloads. The 2.6 version of the OS 9 engine isn't availble yet, which is why you get that message. Instead, you can download the last OS 9 engine manually and put it into your Components/engines folder and it will work. If you have an OS 9 engine from another version already, you can just copy it over to the 2.6 engines folder right from your hard disk. If not, you can grab the last available copy here: You'll need to decompress this file after you download it. To do that, put it into the Rev folder (don't decompress it with anything else first, leave it as-is,) launch Rev, and type this into the message box: revDecompress "MacOSfat.dir.gz",defaultfolder The resulting engine file can then be moved to the engines folder. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdan at danshafer.com Sun Aug 14 16:03:12 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 14 Aug 2005 13:03:12 -0700 Subject: "Trouble Downloading Engine" In-Reply-To: <3B94AF13-98C5-43F0-BD09-37AFD5F254AA@education.lu> References: <8FFCD288-4E44-438D-A512-AFF327EF6E12@danshafer.com> <3B94AF13-98C5-43F0-BD09-37AFD5F254AA@education.lu> Message-ID: No firewall here. And the Linux engine downloaded fine; BSD won't and neither will any of the Mac Classic engines. Dan On Aug 14, 2005, at 6:17 AM, Christian Langers wrote: > Hello Dan, > > I once had the same problem and I realized that it was because of > being behind a firewall which filters cookies, banners, http infos.... > > I turned it off and it worked then... > > > Christian > > > > > Le 14 ao?t 05 ? 00:58, Dan Shafer a ?crit : > > >> I'm trying to download the engines for OS 9 and FreeBSD to test an >> app I'm scheduled to deliver soon. When I check the appropriate >> systems in the Standalone APplication Settings dialog, the builder >> tells me I don't have that engine and asks if I want to download >> it. I say yes. It starts the download but almost immediately >> reports "Problem downloading engine." >> >> Anyone else having problems with this process? I know my license >> allows for these downloads. >> >> >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Dan Shafer, Revolution Consultant and Author >> http://www.shafermedia.com >> Get my book, "Revolution: Software at the Speed of Thought" >> From http://www.revolutionpros.com, Click "My Stuff" >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From pixelbird at interisland.net Sun Aug 14 16:08:52 2005 From: pixelbird at interisland.net (Ken Norris) Date: Sun, 14 Aug 2005 13:08:52 -0700 Subject: Recording Sound on the Mac In-Reply-To: <20050814170003.A5BEE824EAF@mail.runrev.com> References: <20050814170003.A5BEE824EAF@mail.runrev.com> Message-ID: Howdy, > Date: Sun, 14 Aug 2005 08:58:45 -0400 > From: Dan Soneson > Subject: Re; Recording Sound on the Mac > > Sivakatirwami, > > You've gotten some good feedback already. We use the iMic with > Plantronics A-90 headsets to do audio recording. The quality is fine. Yes, I should think so. > > Once you have set the audio input in System Preferences, you don't > need Rev to do that any more. It becomes troublesome anyway, since > your users may not all have the same USB device, which the system would > list, and I have not found a way in Rev to go out and poll for the > options. I don't have it yet, but since we're talking Mac here, I bet there is an AS or Shell command that can retrieve the list. All the best, Ken N. From mcdomi at free.fr Sun Aug 14 16:17:37 2005 From: mcdomi at free.fr (Dom) Date: Sun, 14 Aug 2005 22:17:37 +0200 Subject: running the Player In-Reply-To: <42FFA00B.8070706@hyperactivesw.com> Message-ID: <1h1b1gn.ooxm791eiml6qM%mcdomi@free.fr> J. Landman Gay wrote: > Player appears to need some adjustments. Indeed ;-) Else, a simple text file with some explanations would be helpful! A searched in the help, with the word "Player". Didn't found helpful hints! Not to confuse also with the video animations ;-) > I don't think it loads libraries either, if stacks are just > double-clicked. I told here that my Diary would not more respond to a "delete card" menu action. I am thinking that it resorts to an old "ask answer" problem ;-) In fact, on the menu action, I ask wether the usr is sure to delete the card. So, it relies on the "answer" substack in Revolution, which is NOT obviously in the MetaCard Player! Oddly, the Player is able to "find" this substack when it is located within the Dreamcard folder -- but not when it is located outside. I had this problem with standalones created by Rev 1.x, but not aware of the very same problem with the Player -- in fact it seems that the Player is a sort of standalone, for individuals which are not buying the Studio (or better ;-)) version of Revolution... -- Revolutionario (not so much) From ambassador at fourthworld.com Sun Aug 14 16:26:12 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 14 Aug 2005 13:26:12 -0700 Subject: running the Player In-Reply-To: <1h1b1gn.ooxm791eiml6qM%mcdomi@free.fr> References: <1h1b1gn.ooxm791eiml6qM%mcdomi@free.fr> Message-ID: <42FFA8E4.1060206@fourthworld.com> Dom wrote: > I told here that my Diary would not more respond to a "delete card" menu > action. I am thinking that it resorts to an old "ask answer" problem ;-) > In fact, on the menu action, I ask wether the usr is sure to delete the > card. So, it relies on the "answer" substack in Revolution, which is NOT > obviously in the MetaCard Player! For clarity, there is no MetaCard Player anymore. There is the Revolution Player, and possibly a Dreamcard Player (I have trouble distinguishing between the two products; forgive my confusion), and ideally the Player application would be a single self-contained executable with the ask and answer dialogs already included. If the current Player executable requires anything other than itself to run I would consider submitting an enhancement request to simplify the user experience. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mcdomi at free.fr Sun Aug 14 17:07:40 2005 From: mcdomi at free.fr (Dom) Date: Sun, 14 Aug 2005 23:07:40 +0200 Subject: running the Player In-Reply-To: <42FFA8E4.1060206@fourthworld.com> Message-ID: <1h1b3yi.b3b76d8nn3uoM%mcdomi@free.fr> Richard Gaskin wrote: > For clarity, there is no MetaCard Player anymore. There is the > Revolution Player, My error! It's a typo... Can't figure why I speaked of MetaCard instead of DreamCard (I was some times ago a MetaCard user I preferred over the former Rev 1.0 version) ;-) > and possibly a Dreamcard Player (I have trouble > distinguishing between the two products; forgive my confusion), It seems that the two proucts have a number of differences not very well understood (by me, at least) > and ideally the Player application would be a single self-contained > executable with the ask and answer dialogs already included. I thought so -- but it seems that this not the case I'm testing that (and failed to destruct my license.rev by saving the "answer" substack to a toplevel mainstack; I forgot to "clone the topstack" ;->) -- Revolutionario but puzzled From ambassador at fourthworld.com Sun Aug 14 17:17:40 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 14 Aug 2005 14:17:40 -0700 Subject: looking for two things.... Message-ID: <42FFB4F4.9030103@fourthworld.com> Prepping two new articles for revJournal, I'd like to see if I could find these two things: 1. Have any of you done an implementation of the Prisoner's Dilemma in Rev? 2. Any of you have a copy of the old Roget's Thesaurus done in HyperCard? I used to have a copy but I can only find my converted stack but not the original. TIA - -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From revdan at danshafer.com Sun Aug 14 18:04:27 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 14 Aug 2005 15:04:27 -0700 Subject: "Trouble Downloading Engine" In-Reply-To: <42FFA2B8.7060807@hyperactivesw.com> References: <8FFCD288-4E44-438D-A512-AFF327EF6E12@danshafer.com> <42FFA2B8.7060807@hyperactivesw.com> Message-ID: <2D7EC452-3441-4903-AC92-0BD2F487A1A0@danshafer.com> Thanks, Jacque.... Now I've put this in my Scripter's Scrapbook so I won't have to ask this one again. I wonder when RR will finish engines for 2.6 for the remaining platforms? After 2.7, 2.8, 3.0, 11.42? (Just wondering.) Heh heh On Aug 14, 2005, at 12:59 PM, J. Landman Gay wrote: > > > The resulting engine file can then be moved to the engines folder. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revinfo1155 at aol.com Sun Aug 14 19:35:39 2005 From: revinfo1155 at aol.com (revinfo1155 at aol.com) Date: Sun, 14 Aug 2005 19:35:39 -0400 Subject: running the Player In-Reply-To: <42FFA00B.8070706@hyperactivesw.com> References: <7C563748-0E21-4DA8-9EBC-7C13B408CA4F@conncoll.edu> <42FE9844.9030302@fourthworld.com> <7495CE23-4DC1-4E06-BD38-155C6FB010FC@conncoll.edu> <236AE511-9EFF-4858-A256-84D45D885263@conncoll.edu> <890e3d26050814100262179ca7@mail.gmail.com> <298F2B53-64F8-4FC3-9C2B-25DAC000DE49@conncoll.edu> <42FFA00B.8070706@hyperactivesw.com> Message-ID: <8C76F400367BDF2-13E8-9BFE@FWM-R36.sysops.aol.com> It's probably been suggested, but why don't some of you experienced folks develop a great player? Maybe a contest! jack To: How to use Revolution Sent: Sun, 14 Aug 2005 14:48:27 -0500 Subject: Re: running the Player Charles Hartman wrote:? > That is not what happens when I click the DC Player on my PowerBook > running Tiger. Maybe something is strange about my system, but I don't > think so, and the Player app obviously works (is not corrupted.) So we > seem to have *both* bad behavior (on my PB) and inconsistent behavior.? ? I don't think it is inconsistent -- it has the same behavior problems across the board. :) In a new, virgin copy I get RevOnline opening, along with the ability to open a stack using the folder icon. However, once I change Player's prefs to not open RevOnline, I get the behavior you describe where the Player appears to hang at "preparing..." After that, I can't get it back to the original behavior any more because there is no way to get to the prefs.? ? It hasn't really hung and you can drop stacks onto the icon and they will open, but I know that's not what you want.? ? Player appears to need some adjustments. I don't think it loads libraries either, if stacks are just double-clicked. I'll try to find out more and let the list know.? ? -- Jacqueline Landman Gay | jacque at hyperactivesw.com? HyperActive Software | http://www.hyperactivesw.com? _______________________________________________? use-revolution mailing list? use-revolution at lists.runrev.com? Please visit this url to subscribe, unsubscribe and manage your subscription preferences:? http://lists.runrev.com/mailman/listinfo/use-revolution? From erikhans08 at yahoo.com Sun Aug 14 20:24:25 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sun, 14 Aug 2005 17:24:25 -0700 (PDT) Subject: when do you use a hard space today? In-Reply-To: Message-ID: <20050815002425.10706.qmail@web33004.mail.mud.yahoo.com> --- Ken Ray wrote: > A "hard space" is ASCII 202 (which on a Mac you > can get by typing > Option-Space), which looks like a space, but > acts like a non-space character > - that is, you can't break the words connected > with hard spaces because it > "looks" (to the OS) like a single word. when do you use a hard space today? thanks, Erik Hansen erik at erikhansen.org http://www.erikhansen.org ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From katir at hindu.org Sun Aug 14 20:28:24 2005 From: katir at hindu.org (Sivakatirswami) Date: Sun, 14 Aug 2005 14:28:24 -1000 Subject: Recording Sound on the Mac In-Reply-To: <260F5730-0CC3-11DA-B0A2-00039303CE26@southernct.edu> References: <260F5730-0CC3-11DA-B0A2-00039303CE26@southernct.edu> Message-ID: ahh, my goof was simple: set the recordFormat to "mp4a" is simply wrong. setting that to "aiff" no compression ("raw") is fine for initial recording... thanks ====== set the recordRate to 22.050 --the uSampleRate of me set the recordChannels to 1 --the uRecordChannels of me set the recordSamplesize to 16 --the uSampleSize of me set the recordFormat to "aiff" --the uRecordFormat of me ==== the above works fine... in fact the quality is amazing with my Telex US B Audio Device Headset. and FYI set the recordCompression to "mp4a" simply does not work... though it is on the list or returned compression types.. if you run put the recordcompressiontypes in the msg box... it appears, but it does not appear in the list from the "answer record" dialog... if you do set this, no sound file is saved at all. So, confirmed saving as mp4 from Rev is not an option. Sivakatirswami On Aug 14, 2005, at 2:58 AM, Dan Soneson wrote: > BTW, the recordFormat property only deals with file types. From the > docs: > > >> Value: >> The recordFormat is one of the following: >> >> aiff records a file in AIFF format >> wave records a file in WAV format >> ulaw records a file in AU format >> movie records a file in QuickTime format >> >> > So, that would not be where you set the compression. Use the > recordCompression property instead. From douggilliland at gmail.com Sun Aug 14 21:08:24 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Sun, 14 Aug 2005 21:08:24 -0400 Subject: running the Player In-Reply-To: <8C76F400367BDF2-13E8-9BFE@FWM-R36.sysops.aol.com> References: <7C563748-0E21-4DA8-9EBC-7C13B408CA4F@conncoll.edu> <42FE9844.9030302@fourthworld.com> <7495CE23-4DC1-4E06-BD38-155C6FB010FC@conncoll.edu> <236AE511-9EFF-4858-A256-84D45D885263@conncoll.edu> <890e3d26050814100262179ca7@mail.gmail.com> <298F2B53-64F8-4FC3-9C2B-25DAC000DE49@conncoll.edu> <42FFA00B.8070706@hyperactivesw.com> <8C76F400367BDF2-13E8-9BFE@FWM-R36.sysops.aol.com> Message-ID: <890e3d260508141808576ebea0@mail.gmail.com> When I finish a stack on my Powerbook (running Tiger), I: 1. Control-click on the stack and drag down to Open With 2. Navigate to the Dream Card Player. After that any time the stack is double-clicked it automatically launches the DC Player and plays the stack. No Player window or having to launch the Player first. Doug Gilliland Sarasota, FL >>But, and maybe I don't understand something here: From a stack-user standpoint, shouldn't the stack be installed to where double-clicking on it invisibly launches DreamCard Player which then opens the stack?<< From sarahr at genesearch.com.au Sun Aug 14 22:03:13 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 15 Aug 2005 12:03:13 +1000 Subject: OT: Spotlight on Rev scripts In-Reply-To: References: <20050812152227.2309F825109@mail.runrev.com> Message-ID: On 13/08/2005, at 2:21 AM, Jim Hurley wrote: > Anybody have any ideas why Spotlight would work for Eric and not > for me? > > Is it possible that Spotlight is still working its way through my > hard drive and hasn't gotten to Rev yet? > > I think that only stacks saved using Rev 2.6 will store the meta-data for Spotlight. You will need to open the stacks you want to search and save them again in order to trigger that. Sarah From mwieder at ahsoftware.net Sun Aug 14 22:14:26 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 14 Aug 2005 19:14:26 -0700 Subject: ECMI draft specification Message-ID: <4334179257.20050814191426@ahsoftware.net> All- I see Richard has quietly added a mirror of the ECMI draft spec in RevJournal's front page at http://www.revjournal.com, thus making it publicly accessible. IMO this is a major step and the document should be required reading for anyone making resources for other runrev developers to use. Way to go, RIP team - this is good stuff. -- -Mark Wieder mwieder at ahsoftware.net From yaseenramjohn at hotmail.com Sun Aug 14 22:22:13 2005 From: yaseenramjohn at hotmail.com (Yaseen Ramjohn) Date: Sun, 14 Aug 2005 22:22:13 -0400 Subject: OT: Spotlight on Rev scripts In-Reply-To: Message-ID: >From: Till Bandi >Reply-To: How to use Revolution >To: How to use Revolution >Subject: Re: OT: Spotlight on Rev scripts >Date: Sat, 13 Aug 2005 17:19:00 +0200 > >it is working here to - but only the stack (in wich the script is) is >indicated. (iMac 5) > >Till > > >Am 13.08.2005 um 00:45 schrieb Jim Hurley: > stop emailing mi >>> >>>Message: 8 >>>Date: Fri, 12 Aug 2005 19:56:49 +0200 >>>From: Eric Chatonet >>>Subject: Re: OT: Spotlight on Rev scripts >>>To: How to use Revolution >>>Message-ID: >>>Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; >>> format=flowed >>> >>>Hi Jim and Klaus, >>> >>> From the read-me about 2.6: >>> >>>* Spotlight support: use Spotlight to search within Revolution stacks on >>>Mac OS Tiger >>> >>>I made some tests with Spotlight and Rev 2.6: >>> >>>1. I found some specific handlers not only in stack scripts but in >>>another objects (cards). >>>2. I found some field's text extracts without problem either (in any >>>card). >>> >>>So I'm inclined to think that Spotlight is able to search fields and >>>scripts. >>> >>> >> >> >>Eric, >> >>I glad to hear that it works on your system. >> >>But why are Klaus and I unable to work with Spotlight? I have just >>upgraded to 10.4.2 and am using Rev 2.6. >> >>Klaus: Thanks for confirming. Glad to know at least that I'm not crazy. >>Are you also using a PowerBook? >> >>I did a search for MouseUp in Spotlight and got some results (including >>Read-me about 2.6 you mentioned) but there were no ".rev" files. Only >>some text and pdf files. >> >>I this an issue for Bugzilla? >> >> >>Jim >> >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-revolution >> > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From charles.hartman at conncoll.edu Sun Aug 14 22:22:59 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sun, 14 Aug 2005 22:22:59 -0400 Subject: running the Player In-Reply-To: <890e3d260508141808576ebea0@mail.gmail.com> References: <7C563748-0E21-4DA8-9EBC-7C13B408CA4F@conncoll.edu> <42FE9844.9030302@fourthworld.com> <7495CE23-4DC1-4E06-BD38-155C6FB010FC@conncoll.edu> <236AE511-9EFF-4858-A256-84D45D885263@conncoll.edu> <890e3d26050814100262179ca7@mail.gmail.com> <298F2B53-64F8-4FC3-9C2B-25DAC000DE49@conncoll.edu> <42FFA00B.8070706@hyperactivesw.com> <8C76F400367BDF2-13E8-9BFE@FWM-R36.sysops.aol.com> <890e3d260508141808576ebea0@mail.gmail.com> Message-ID: Or you (the developer) can simply open Get Info on the stack file and change the Open With there, before distributing the stack. Either way, you produce a stack which can be double-clicked to run under the Player. The problem comes when you -- or rather your not-in-the-know user -- double-click the Player app. It's a perfectly reasonable thing to do, so you can't blame users for doing it. But it doesn't work. That's the issue, at least for me. Charles On Aug 14, 2005, at 9:08 PM, Douglas Gilliland wrote: > When I finish a stack on my Powerbook (running Tiger), I: > 1. Control-click on the stack and drag down to Open With > 2. Navigate to the Dream Card Player. > > After that any time the stack is double-clicked it automatically > launches the DC Player and plays the stack. No Player window or having > to launch the Player first. > Doug Gilliland > Sarasota, FL > > >>> But, and maybe I don't understand something here: From a stack-user >>> > standpoint, shouldn't the stack be installed to where double-clicking > on it invisibly launches DreamCard Player which then opens the > stack?<< > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Sun Aug 14 22:50:42 2005 From: chipp at chipp.com (Chipp Walters) Date: Sun, 14 Aug 2005 21:50:42 -0500 Subject: altBrowser for Linux? In-Reply-To: <961D817A-1C0B-4ED8-A580-C4895C005A25@canelasoftware.com> References: <001601c59f53$6d7fa130$0201a8c0@john> <961D817A-1C0B-4ED8-A580-C4895C005A25@canelasoftware.com> Message-ID: <43000302.1040501@chipp.com> Hi Mark, I've already replied to Bob offlist, but to sum up: Chris has spent a lot of time already trying to integrate a browser into the Linux version of RR, and has come to the conclusion that the externals interface for RR Linux implementation is 'lacking' for the task. Mark and Kevin both are aware and I would imagine are looking at improving it. Once the interface is working in a way which altBrowser can be implemented, we will port it. I'm told that Mark uses Linux daily and has plans on how to fix this. best, Chipp Mark Talluto wrote: > > On Aug 12, 2005, at 8:26 AM, Bob Warren wrote: > > > > ...snip > >> If it is >> not a trade secret, could the Rev team tell us what plans (if any) >> they have >> for launching (or arranging the launching of) a (Debian-based) >> version of >> altBrowser? My decision to continue with Rev might possibly be >> determined >> by the answer to this question. > > > > Bob, > > That product is created by Chipp Walters at: webs/altuit2/altBrowserCover/default.htm> > You need to ask him if he has any plans to support Linux. Sounds viable. > > > Mark Talluto From kray at sonsothunder.com Sun Aug 14 23:09:05 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 14 Aug 2005 22:09:05 -0500 Subject: when do you use a hard space today? In-Reply-To: <20050815002425.10706.qmail@web33004.mail.mud.yahoo.com> Message-ID: On 8/14/05 7:24 PM, "Erik Hansen" wrote: > --- Ken Ray wrote: >> A "hard space" is ASCII 202 (which on a Mac you >> can get by typing >> Option-Space), which looks like a space, but >> acts like a non-space character >> - that is, you can't break the words connected >> with hard spaces because it >> "looks" (to the OS) like a single word. > > when do you use a hard space today? Hardly ever... the only times I've used it has been in web pages to get things to line up. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From pixelbird at interisland.net Mon Aug 15 00:48:02 2005 From: pixelbird at interisland.net (Ken Norris) Date: Sun, 14 Aug 2005 21:48:02 -0700 Subject: use-revolution Digest, Vol 23, Issue 49 In-Reply-To: <20050815020853.F2929824F0F@mail.runrev.com> References: <20050815020853.F2929824F0F@mail.runrev.com> Message-ID: <3fbf5f9979bedc40a29bf7a6f6211502@interisland.net> Hi Douglas, > Date: Sun, 14 Aug 2005 21:08:24 -0400 > From: Douglas Gilliland > Subject: Re: running the Player > > When I finish a stack on my Powerbook (running Tiger), I: > 1. Control-click on the stack and drag down to Open With > 2. Navigate to the Dream Card Player. > > After that any time the stack is double-clicked it automatically > launches the DC Player and plays the stack. No Player window or having > to launch the Player first. So, if I did that before I ship a stack to be run by DC Player, and the intended user indeed _has_ the DC Player, what will happen? Suppose the user is a PC user with a DC Player -- then what happens? All the best, Ken N. From pixelbird at interisland.net Mon Aug 15 00:50:26 2005 From: pixelbird at interisland.net (Ken Norris) Date: Sun, 14 Aug 2005 21:50:26 -0700 Subject: running the Player In-Reply-To: <20050815020853.F2929824F0F@mail.runrev.com> References: <20050815020853.F2929824F0F@mail.runrev.com> Message-ID: <9b5dbed69c0b1296af27e7dedae5afc7@interisland.net> OOPS sorry, forgot to change the RE header before Hi Douglas, > Date: Sun, 14 Aug 2005 21:08:24 -0400 > From: Douglas Gilliland > Subject: Re: running the Player > > When I finish a stack on my Powerbook (running Tiger), I: > 1. Control-click on the stack and drag down to Open With > 2. Navigate to the Dream Card Player. > > After that any time the stack is double-clicked it automatically > launches the DC Player and plays the stack. No Player window or having > to launch the Player first. So, if I did that before I ship a stack to be run by DC Player, and the intended user indeed _has_ the DC Player, what will happen? Suppose the user is a PC user with a DC Player -- then what happens? All the best, Ken N. From mtitu11 at gmail.com Mon Aug 15 00:52:46 2005 From: mtitu11 at gmail.com (musfiqur rahman) Date: Mon, 15 Aug 2005 10:52:46 +0600 Subject: hi Message-ID: <75c98534050814215216a29298@mail.gmail.com> i donot actually know how i can be benificial with is program.Please make me clear Musfiqur Rahman From jacque at hyperactivesw.com Mon Aug 15 00:59:59 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Aug 2005 23:59:59 -0500 Subject: Scripting conference stacks - Menus Message-ID: <4300214F.1010803@hyperactivesw.com> Jeanne DeVoto's excellent scripting conference stack on Menus is now available for download at: You can download and study this stack in preparation for our conference on August 20. Jeanne's expertise makes this an excellent conference on a subject that often causes some confusion, so come on over and learn from an expert. Also, I forgot to post to the list earlier this week when Alex Tweedly's stack was re-uploaded containing the conference log from his well-received discussion on Text and Chunk Expressions. You can grab that stack at the same URL above. You won't want to miss his comprehensive coverage of the topic. Jeanne's conference on August 20 will happen at 1124553600 seconds: get 1124553600; convert it to system date and time; put it -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mtitu11 at gmail.com Mon Aug 15 01:01:25 2005 From: mtitu11 at gmail.com (musfiqur rahman) Date: Mon, 15 Aug 2005 11:01:25 +0600 Subject: running the Player In-Reply-To: <9b5dbed69c0b1296af27e7dedae5afc7@interisland.net> References: <20050815020853.F2929824F0F@mail.runrev.com> <9b5dbed69c0b1296af27e7dedae5afc7@interisland.net> Message-ID: <75c98534050814220114193864@mail.gmail.com> do i know u!!!!!!!!!!!!!!! On 8/15/05, Ken Norris wrote: > OOPS sorry, forgot to change the RE header before > > Hi Douglas, > > > Date: Sun, 14 Aug 2005 21:08:24 -0400 > > From: Douglas Gilliland > > Subject: Re: running the Player > > > > When I finish a stack on my Powerbook (running Tiger), I: > > 1. Control-click on the stack and drag down to Open With > > 2. Navigate to the Dream Card Player. > > > > After that any time the stack is double-clicked it automatically > > launches the DC Player and plays the stack. No Player window or having > > to launch the Player first. > > So, if I did that before I ship a stack to be run by DC Player, and the > intended user indeed _has_ the DC Player, what will happen? > > Suppose the user is a PC user with a DC Player -- then what happens? > > All the best, > Ken N. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Mon Aug 15 04:06:32 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 15 Aug 2005 10:06:32 +0200 Subject: looking for two things.... In-Reply-To: <42FFB4F4.9030103@fourthworld.com> Message-ID: <20050815075125.82A43824F32@mail.runrev.com> Hi Richard, can't help you with #2 but i found this belgian link (of all places) for # 1 seems appropriate... google "prisonners dilemma" and click "im feeling lucky" ;) unless you need something different? This looks like Neural Networks kind of... Weighted nodes... cheers Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Richard Gaskin > Sent: Sunday, August 14, 2005 23:18 > To: How to use Revolution > Subject: looking for two things.... > > Prepping two new articles for revJournal, I'd like to see if > I could find these two things: > > 1. Have any of you done an implementation of the Prisoner's > Dilemma in Rev? > > 2. Any of you have a copy of the old Roget's Thesaurus done > in HyperCard? I used to have a copy but I can only find my > converted stack but not the original. > > TIA - > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From gcanyon at inspiredlogic.com Mon Aug 15 06:25:06 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon, 15 Aug 2005 03:25:06 -0700 Subject: looking for two things.... In-Reply-To: <42FFB4F4.9030103@fourthworld.com> References: <42FFB4F4.9030103@fourthworld.com> Message-ID: <5E94D934-FAD3-48C9-B423-1F06D70A8038@inspiredlogic.com> On Aug 14, 2005, at 2:17 PM, Richard Gaskin wrote: > 2. Any of you have a copy of the old Roget's Thesaurus done in > HyperCard? I used to have a copy but I can only find my converted > stack but not the original. > I once asked Mark Zimmermann and I believe he answered that he no longer had it. http://www.his.com/~z/ Matt Neuburg presumably does/did. http://www.macdevcenter.com/pub/a/ mac/2001/09/20/realbasic.html I wrote a response to that article. It's at: http:// www.inspiredlogic.com/article/ gc From stephenonlinesales at barncard.com Thu Aug 11 13:31:55 2005 From: stephenonlinesales at barncard.com (Stephen Barncard) Date: Thu, 11 Aug 2005 10:31:55 -0700 Subject: Looking for suggestions/advice In-Reply-To: References: <01D4C63D-F7CD-4DE3-ADC1-C1AE8430E285@inspiredlogic.com> Message-ID: > >But, short of that, does anyone have any other suggestions? > >-Rodney Yes, by all means write an interpreter! It's not that hard and fun too, with no script limits. I did this in Hypercard once. I needed to munge huge text files for translation between databases, so I created an 'action processor' with a simple language that could save its code as a resource in the stack. Just make it human-readable, and you can even use some of the 'forbidden words' used for Transcript. Most of your 'interpreter' is going to consist of CASE or IF-THEN statements. You're going to need some time brainstorming the structure --but are basically just redirecting your new commands to rev handlers. Error checking and validation is up to you. And of course since you're writing it, it's extensible at all times. This also has added security, as you completely control what happens in your world, as opposed to using the rev script system - and message path - to interpret your scripts. From cbsiskin+ at pitt.edu Sun Aug 14 22:03:10 2005 From: cbsiskin+ at pitt.edu (Claire Bradin Siskin) Date: Sun, 14 Aug 2005 22:03:10 -0400 Subject: uploading QuickTime movie to ftp server Message-ID: I am trying to upload a binary file (QuickTime movie) to an ftp server, using the following script: put URL "binfile:moviefile.mov" into URL "ftp://username:password at myftpserver.edu/moviefile.mov" With this script, I get a file on the server with the correct number of bytes, but the file appears not to be binary and cannot be opened by QuickTime. If I use a slash after "binfile:" the file is uploaded, but it is zero bytes in size. The server indicates that it is receiving the file in binary. Can anyone suggest a way to upload a file that works as QuickTime? Thanks in advance, Claire -- Claire Bradin Siskin Director Robert Henderson Language Media Center G 17 Cathedral of Learning University of Pittsburgh Pittsburgh, PA 15260 Office Phone: (412) 624-5939 Email: cbsiskin at pitt.edu http://www.polyglot.pitt.edu From dcragg at lacscentre.co.uk Mon Aug 15 06:51:16 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 15 Aug 2005 11:51:16 +0100 Subject: uploading QuickTime movie to ftp server In-Reply-To: References: Message-ID: <45CAD26A-7BA4-4DB7-987B-DE0B609153A2@lacscentre.co.uk> On 15 Aug 2005, at 03:03, Claire Bradin Siskin wrote: > I am trying to upload a binary file (QuickTime movie) to an ftp > server, using the following script: > > put URL "binfile:moviefile.mov" into URL "ftp:// > username:password at myftpserver.edu/moviefile.mov" > > > With this script, I get a file on the server with the correct > number of bytes, but the file appears not to be binary and cannot > be opened by QuickTime. The syntax looks correct. All ftp transfers in Rev are done as binary. When you say the file appears not to be binary, can you be more specific? How are you trying to open the movie in QT, as a file or as a url? I was able to use a similar script to upload a movie file by ftp and then play it from the QT Player as a file. No problems. Cheers Dave From cbsiskin at pitt.edu Mon Aug 15 07:20:53 2005 From: cbsiskin at pitt.edu (Claire Bradin Siskin) Date: Mon, 15 Aug 2005 07:20:53 -0400 Subject: uploading QuickTime movie to ftp server In-Reply-To: <45CAD26A-7BA4-4DB7-987B-DE0B609153A2@lacscentre.co.uk> References: <45CAD26A-7BA4-4DB7-987B-DE0B609153A2@lacscentre.co.uk> Message-ID: >On 15 Aug 2005, at 03:03, Claire Bradin Siskin wrote: > >>I am trying to upload a binary file (QuickTime movie) to an ftp >>server, using the following script: >> >> put URL "binfile:moviefile.mov" into URL >>"ftp://username:password at myftpserver.edu/moviefile.mov" >> >> >>With this script, I get a file on the server with the correct >>number of bytes, but the file appears not to be binary and cannot >>be opened by QuickTime. > >The syntax looks correct. All ftp transfers in Rev are done as >binary. When you say the file appears not to be binary, can you be >more specific? How are you trying to open the movie in QT, as a file >or as a url? > >I was able to use a similar script to upload a movie file by ftp and >then play it from the QT Player as a file. No problems. > >Cheers >Dave Hi Dave, I meant that when I try to open the file with QuickTime Player, I get a message saying that it cannot be played by Quicktime Player. So I assumed that it isn't binary. We are trying to upload it to a Mac OSX server, and according to Terminal, all ftp transfers are binary. We are stumped on this one. :-) Thanks for any clues, Claire -- Claire Bradin Siskin Director Robert Henderson Language Media Center University of Pittsburgh G 17 Cathedral of Learning Pittsburgh, PA 15260 Phone: 412-624-5939 cbsiskin at pitt.edu http://www.polyglot.pitt.edu http://edvista.com/claire/ From cbsiskin at pitt.edu Mon Aug 15 07:26:54 2005 From: cbsiskin at pitt.edu (Claire Bradin Siskin) Date: Mon, 15 Aug 2005 07:26:54 -0400 Subject: uploading QuickTime movie to ftp server Message-ID: Hi Dave, If you think it would help, I can send you the real script with the real URL. Thanks, Claire >On 15 Aug 2005, at 03:03, Claire Bradin Siskin wrote: > >>I am trying to upload a binary file (QuickTime movie) to an ftp >>server, using the following script: >> >> put URL "binfile:moviefile.mov" into URL >>"ftp://username:password at myftpserver.edu/moviefile.mov" >> >> >>With this script, I get a file on the server with the correct >>number of bytes, but the file appears not to be binary and cannot >>be opened by QuickTime. > >The syntax looks correct. All ftp transfers in Rev are done as >binary. When you say the file appears not to be binary, can you be >more specific? How are you trying to open the movie in QT, as a file >or as a url? > >I was able to use a similar script to upload a movie file by ftp and >then play it from the QT Player as a file. No problems. > >Cheers >Dave Hi Dave, I meant that when I try to open the file with QuickTime Player, I get a message saying that it cannot be played by Quicktime Player. So I assumed that it isn't binary. We are trying to upload it to a Mac OSX server, and according to Terminal, all ftp transfers are binary. We are stumped on this one. :-) Thanks for any clues, Claire -- Claire Bradin Siskin Director Robert Henderson Language Media Center University of Pittsburgh G 17 Cathedral of Learning Pittsburgh, PA 15260 Phone: 412-624-5939 cbsiskin at pitt.edu http://www.polyglot.pitt.edu http://edvista.com/claire/ From bill at bluewatermaritime.com Mon Aug 15 09:38:15 2005 From: bill at bluewatermaritime.com (Bill) Date: Mon, 15 Aug 2005 09:38:15 -0400 Subject: Zen and Clarity In-Reply-To: <75c98534050814215216a29298@mail.gmail.com> Message-ID: Musfigur Rahman Realizing that the mind is not clear is the first step. The next step is to understand that it is only you that can bring about clarity in your own mind. An outside force cannot make you clear. It is an internal process. Start with the excellent tutorials (which require a fast internet connection -- go to a Starbucks or somewhere like that which has a fast internet connection if you don't have one, bring head phones). The tutorials are movies which show each step of the process. Good luck and welcome to the Revolution. Grasshopper Bill On 8/15/05 12:52 AM, "musfiqur rahman" wrote: > i donot actually know how i can be benificial with is program.Please > make me clear > > Musfiqur Rahman > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- 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 dcragg at lacscentre.co.uk Mon Aug 15 10:04:13 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 15 Aug 2005 15:04:13 +0100 Subject: uploading QuickTime movie to ftp server In-Reply-To: References: <45CAD26A-7BA4-4DB7-987B-DE0B609153A2@lacscentre.co.uk> Message-ID: <8D4DE127-F767-4AD4-B72D-144ECFD11915@lacscentre.co.uk> On 15 Aug 2005, at 12:20, Claire Bradin Siskin wrote: >> On 15 Aug 2005, at 03:03, Claire Bradin Siskin wrote: >> >> >>> I am trying to upload a binary file (QuickTime movie) to an ftp >>> server, using the following script: >>> >>> put URL "binfile:moviefile.mov" into URL "ftp:// >>> username:password at myftpserver.edu/moviefile.mov" >>> >>> >>> With this script, I get a file on the server with the correct >>> number of bytes, but the file appears not to be binary and cannot >>> be opened by QuickTime. >>> >> >> The syntax looks correct. All ftp transfers in Rev are done as >> binary. When you say the file appears not to be binary, can you be >> more specific? How are you trying to open the movie in QT, as a >> file or as a url? >> >> I was able to use a similar script to upload a movie file by ftp >> and then play it from the QT Player as a file. No problems. >> >> Cheers >> Dave >> > > Hi Dave, > > I meant that when I try to open the file with QuickTime Player, I > get a message saying that it cannot be played by Quicktime Player. > So I assumed that it isn't binary. We are trying to upload it to a > Mac OSX server, and according to Terminal, all ftp transfers are > binary. We are stumped on this one. :-) I'd check the permissions on the uploaded file. Does it give read permissions to the user who is trying to open the file with the QuickTime Player? Here, after uploading, I switched off both read/write access to the file, and the Player gave the message "QuickTime cannot open the file "test.mov" an unknown error occurred (-5000)" Is that the message you got? Cheers Dave From douggilliland at gmail.com Mon Aug 15 10:26:27 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Mon, 15 Aug 2005 10:26:27 -0400 Subject: running the Player In-Reply-To: <9b5dbed69c0b1296af27e7dedae5afc7@interisland.net> References: <20050815020853.F2929824F0F@mail.runrev.com> <9b5dbed69c0b1296af27e7dedae5afc7@interisland.net> Message-ID: <890e3d260508150726524a1ef3@mail.gmail.com> It should work regardless of where the player is located on the HD. I've tested this in my classroom by moving the player to a different location on the HD and the stack still loads. Can't say what will happen on a PC because all I use in my class are Macs. Doug Gilliland, Sarasota, FL On 8/15/05, Ken Norris wrote: > OOPS sorry, forgot to change the RE header before > > Hi Douglas, > > > Date: Sun, 14 Aug 2005 21:08:24 -0400 > > From: Douglas Gilliland > > Subject: Re: running the Player > > > > When I finish a stack on my Powerbook (running Tiger), I: > > 1. Control-click on the stack and drag down to Open With > > 2. Navigate to the Dream Card Player. > > > > After that any time the stack is double-clicked it automatically > > launches the DC Player and plays the stack. No Player window or having > > to launch the Player first. > > So, if I did that before I ship a stack to be run by DC Player, and the > intended user indeed _has_ the DC Player, what will happen? > > Suppose the user is a PC user with a DC Player -- then what happens? > > All the best, > Ken N. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From 3mcgrath at adelphia.net Mon Aug 15 10:47:12 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 15 Aug 2005 10:47:12 -0400 Subject: hi In-Reply-To: <75c98534050814215216a29298@mail.gmail.com> References: <75c98534050814215216a29298@mail.gmail.com> Message-ID: <3bbcdd2d032b84ebd4100668ee5f1580@adelphia.net> Hello, musfiqur rahman, Do you mean the Revolution program? If so, it can be used in many wonderful ways. You can build yourself very useful utilities or you can build database structures, as well as prototypes of software (what I do) and also you can build education tools and slide show tools, etc. When you are done building something you can save it as a standalone .app/.exe file for use in Windows, Macintosh and Unix OSes. You build by using Transcript - the programing language - which is an english like language that makes the code read easier and faster. Tell us more about what you do and/or what you might be interested in doing? Tom On Aug 15, 2005, at 12:52 AM, musfiqur rahman wrote: > i donot actually know how i can be benificial with is program.Please > make me clear > > Musfiqur Rahman > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Thomas J McGrath III 3mcgrath at adelphia.net Lazy River Software? http://homepage.mac.com/mcgrath3/lazyriver.html Meeting Wear? - Unique Apparel Design http://www.cafepress.com/meetingwear From cbsiskin+ at pitt.edu Mon Aug 15 12:46:29 2005 From: cbsiskin+ at pitt.edu (Claire Bradin Siskin) Date: Mon, 15 Aug 2005 12:46:29 -0400 Subject: uploading QuickTime movie to ftp server In-Reply-To: <8D4DE127-F767-4AD4-B72D-144ECFD11915@lacscentre.co.uk> References: <45CAD26A-7BA4-4DB7-987B-DE0B609153A2@lacscentre.co.uk> <8D4DE127-F767-4AD4-B72D-144ECFD11915@lacscentre.co.uk> Message-ID: >On 15 Aug 2005, at 12:20, Claire Bradin Siskin wrote: > >>>On 15 Aug 2005, at 03:03, Claire Bradin Siskin wrote: >>> >>>>I am trying to upload a binary file (QuickTime movie) to an ftp >>>>server, using the following script: >>>> >>>> put URL "binfile:moviefile.mov" into URL >>>>"ftp://username:password at myftpserver.edu/moviefile.mov" >>>> >>>> >>>>With this script, I get a file on the server with the correct >>>>number of bytes, but the file appears not to be binary and cannot >>>>be opened by QuickTime. >>>> >>> >>>The syntax looks correct. All ftp transfers in Rev are done as >>>binary. When you say the file appears not to be binary, can you be >>>more specific? How are you trying to open the movie in QT, as a >>>file or as a url? >>> >>>I was able to use a similar script to upload a movie file by ftp >>>and then play it from the QT Player as a file. No problems. >>> >>>Cheers >>>Dave >>> >> >>Hi Dave, >> >>I meant that when I try to open the file with QuickTime Player, I >>get a message saying that it cannot be played by Quicktime Player. >>So I assumed that it isn't binary. We are trying to upload it to a >>Mac OSX server, and according to Terminal, all ftp transfers are >>binary. We are stumped on this one. :-) > >I'd check the permissions on the uploaded file. Does it give read >permissions to the user who is trying to open the file with the >QuickTime Player? Dave, I checked the permissions, and, it gives read permissions to everyone. >Here, after uploading, I switched off both read/write access to the >file, and the Player gave the message "QuickTime cannot open the >file "test.mov" an unknown error occurred (-5000)" Is that the >message you got? Here is the message that I got: "Quicktime cannot open the file . It is not a file that QuickTime understands (-2048)". Thanks, Claire -- Claire Bradin Siskin Director Robert Henderson Language Media Center G 17 Cathedral of Learning University of Pittsburgh Pittsburgh, PA 15260 Office Phone: (412) 624-5939 Email: cbsiskin at pitt.edu http://www.polyglot.pitt.edu From userev at canelasoftware.com Mon Aug 15 13:02:57 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 15 Aug 2005 10:02:57 -0700 Subject: altBrowser for Linux? In-Reply-To: <43000302.1040501@chipp.com> References: <001601c59f53$6d7fa130$0201a8c0@john> <961D817A-1C0B-4ED8-A580-C4895C005A25@canelasoftware.com> <43000302.1040501@chipp.com> Message-ID: <82C8C057-468D-4D7B-B0EF-7726F3106E69@canelasoftware.com> On Aug 14, 2005, at 7:50 PM, Chipp Walters wrote: > I've already replied to Bob offlist, but to sum up: > > Chris has spent a lot of time already trying to integrate a browser > into the Linux version of RR, and has come to the conclusion that > the externals interface for RR Linux implementation is 'lacking' > for the task. Mark and Kevin both are aware and I would imagine are > looking at improving it. Once the interface is working in a way > which altBrowser can be implemented, we will port it. I'm told that > Mark uses Linux daily and has plans on how to fix this. Ahh. Sounds good. As can happen a lot in software development one finds himself saying "I must get around this next corner and then...." Mark Talluto -- CANELA Software http://www.canelasoftware.com From hershrev at realtorsgroup.us Mon Aug 15 13:03:27 2005 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Mon, 15 Aug 2005 13:03:27 -0400 Subject: Close Card preOpenCard precedence In-Reply-To: <42FD82DB.3040301@hyperactivesw.com> Message-ID: On 8/13/05 1:19 AM, "J. Landman Gay" wrote: > > If you are testing on the first card of your stack, that stack won't get > any "closecard" message when the stack first opens. If you are testing > after the stack is already open or from a different card, then you > should get a closecard each time. Could the problem be that you are > trying to do something when the stack first opens? Yes I'm doing a preOpenCard. Thanks, Hershel From warren at howsoft.com Mon Aug 15 13:16:26 2005 From: warren at howsoft.com (Bob Warren) Date: Mon, 15 Aug 2005 14:16:26 -0300 Subject: altBrowser for Linux? Message-ID: <004001c5a1bd$4e1691c0$0201a8c0@john> Thanks for the more promising info about the Linux altBrowser Chipp! Is any kind of ETA possible, e.g. this year, first semester next year, second semester next year, etc? From dcragg at lacscentre.co.uk Mon Aug 15 14:00:20 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 15 Aug 2005 19:00:20 +0100 Subject: uploading QuickTime movie to ftp server In-Reply-To: References: <45CAD26A-7BA4-4DB7-987B-DE0B609153A2@lacscentre.co.uk> <8D4DE127-F767-4AD4-B72D-144ECFD11915@lacscentre.co.uk> Message-ID: <877CFCD0-7972-437C-859F-FDEC0B819EA5@lacscentre.co.uk> On 15 Aug 2005, at 17:46, Claire Bradin Siskin wrote: >> Here, after uploading, I switched off both read/write access to >> the file, and the Player gave the message "QuickTime cannot open >> the file "test.mov" an unknown error occurred (-5000)" Is that the >> message you got? >> > > Here is the message that I got: "Quicktime cannot open the file > . It is not a file that QuickTime understands (-2048)". I read somewhere that QT movies need to be "prepared" (flattened) for x-platform use. If so, I guess this would be the same for ftp uploading (remove stuff from the resource fork). Perhaps one of the QT gurus can help out. Cheers Dave From revdan at danshafer.com Mon Aug 15 14:31:17 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 15 Aug 2005 11:31:17 -0700 Subject: Setting Mac OS File Type & Creator Message-ID: This ought to be duck soup. But it's turned into alligator stew with a live alligator. I have a custom property set to a file. I want to write this file out to an OS 9 system so that it shows up in Finder as a PDF file. From all I can gather, I have a two-line problem: set the fileType to "CAROPDF " put PDFToOpen into URL "binfile:myFile.pdf" But alas, this does not work. The file type and creator come up empty. If I use ResEdit to set the file type and creator as in the command above, the file becomes a PDF file that Acrobat Reader recognizes. So I know I have the creator and file type correct. Am I perhaps doing this in the wrong place? A clue: ResEdit tells me the file I'm writing has no resource fork. I was under the impression that using "binfile" solved that problem? I gather then that this has something to do with resfile: types but I can't find anything in the docs about creating a resource fork, only about copying them. But when I do a getResources on an OS9 file, as far as I can tell, the type and creator aren't stored in the resource fork (at least not as identifiable resources), so I'm basically lost and under very tight deadline. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From hershrev at realtorsgroup.us Mon Aug 15 14:32:00 2005 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Mon, 15 Aug 2005 14:32:00 -0400 Subject: Close Card preOpenCard precedence ???BUG?? In-Reply-To: Message-ID: On 8/15/05 1:03 PM, "Hershel Fisch" wrote: As you could see below I added the "wait for 75 milisecs" in the "putDataIntoFlds" handler and that got it to work. That is the least that did it. And I took out all path's meaning I put all below in every card script and it only worked with the wait for 75 mile and more. Now I'm convinced that's some kind of bug, Sorry Hershel > On 8/13/05 1:19 AM, "J. Landman Gay" wrote: > >> >> If you are testing on the first card of your stack, that stack won't get >> any "closecard" message when the stack first opens. If you are testing >> after the stack is already open or from a different card, then you >> should get a closecard each time. Could the problem be that you are >> trying to do something when the stack first opens? I'll try to give the code I'm using. On closeCard hEmptyFlds End closeCard on hEmptyFlds repeat with x = 1 to the number of flds if the name of fld x contains "zzzL" is false then put empty into fld x end repeat end hEmptyFlds on preOpenCard set the label of this stack to the short name of this cd if gAction <>"new" then put the uQuery of this cd & "'" & \ the uSelectedPk of this stack & "'" into tQ put revDataFromQuery(,,gDbid,tQ) into pData if pData contains "error" then answer tQ & return & pData end if hPutDataIntoFlds pData --,the uCount of this stack hSetBtnLabel set the uQueryResult of this cd to pData end if end preOpenCard on hPutDataIntoFlds pData,pItem set itemDelimiter to tab put 1 into y if pItem is empty then put 1 into pItem wait for 75 millisecs repeat with x = pItem to the number of flds if the short name of field x contains "zzzL" is false then put item y of pData into field x add 1 to y end if if the mouse is down then exit repeat end repeat end hPutDataIntoFlds From scott at tactilemedia.com Mon Aug 15 15:06:38 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 15 Aug 2005 12:06:38 -0700 Subject: Setting Mac OS File Type & Creator In-Reply-To: Message-ID: Recently, Dan Shafer wrote: > I have a custom property set to a file. I want to write this file out > to an OS 9 system so that it shows up in Finder as a PDF file. From > all I can gather, I have a two-line problem: > > set the fileType to "CAROPDF " > put PDFToOpen into URL "binfile:myFile.pdf" > > But alas, this does not work. The file type and creator come up > empty. If I use ResEdit to set the file type and creator as in the > command above, the file becomes a PDF file that Acrobat Reader > recognizes. So I know I have the creator and file type correct. Am I > perhaps doing this in the wrong place? If PDFToOpen is a property of your stack, try: put the PDFToOpen of this stack into URL "binfile:myFile.pdf" ...or the appropriate variation of the above. Even if PDFToOpen is a complete container reference, you might try using the actual container reference to see if doing so makes a difference. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From revlist at cableone.net Mon Aug 15 15:31:34 2005 From: revlist at cableone.net (Chris Sheffield) Date: Mon, 15 Aug 2005 13:31:34 -0600 Subject: Setting Mac OS File Type & Creator In-Reply-To: References: Message-ID: Could Rev have a problem with using a space in the type? It shouldn't, but that's the only thing I can think of. From what I can determine, pdf's do not have resource forks, so you shouldn't have to mess with resfile at all. Although, to be totally sure, maybe you should try using "detailed files" and take a look to see if the files have resource data (item 3 will be the size of the resource fork. That might tell you something. A couple things I found interesting: 1. Using ResEdit on some PDF files on my machine I found that not all of them even have a file type and creator set. They're both empty. 2. Some of my PDF files have the creator set as prvw, which I'm assuming stands for the OS X app Preview. And yet, they still open with Adobe Reader when I double-click them. Maybe that's cause the file extension is associated with the app, and not the files' type and creator? I have done what you're trying to do in the past and never had any problems. That's why I wondered if it was the space in the file type. I've never dealt with any spaces in file types before. This is probably not very helpful, but I thought some of this information was kind of interesting. Chris On Aug 15, 2005, at 12:31 PM, Dan Shafer wrote: > This ought to be duck soup. But it's turned into alligator stew > with a live alligator. > > I have a custom property set to a file. I want to write this file > out to an OS 9 system so that it shows up in Finder as a PDF file. > From all I can gather, I have a two-line problem: > > set the fileType to "CAROPDF " > put PDFToOpen into URL "binfile:myFile.pdf" > > But alas, this does not work. The file type and creator come up > empty. If I use ResEdit to set the file type and creator as in the > command above, the file becomes a PDF file that Acrobat Reader > recognizes. So I know I have the creator and file type correct. Am > I perhaps doing this in the wrong place? > > A clue: ResEdit tells me the file I'm writing has no resource fork. > I was under the impression that using "binfile" solved that problem? > > I gather then that this has something to do with resfile: types but > I can't find anything in the docs about creating a resource fork, > only about copying them. But when I do a getResources on an OS9 > file, as far as I can tell, the type and creator aren't stored in > the resource fork (at least not as identifiable resources), so I'm > basically lost and under very tight deadline. > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From chipp at chipp.com Mon Aug 15 15:36:19 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 15 Aug 2005 14:36:19 -0500 Subject: altBrowser for Linux? In-Reply-To: <004001c5a1bd$4e1691c0$0201a8c0@john> References: <004001c5a1bd$4e1691c0$0201a8c0@john> Message-ID: <4300EEB3.1090500@chipp.com> Hi Bob, That would have to come from the RR team. We'll probably release a month or so afterwards, assuming everything works :-) best, Chipp Bob Warren wrote: > Thanks for the more promising info about the Linux altBrowser Chipp! > Is any kind of ETA possible, e.g. this year, first semester next year, > second semester next year, etc? From martin at materiaprima.fsnet.co.uk Mon Aug 15 16:54:58 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Mon, 15 Aug 2005 21:54:58 +0100 Subject: Setting Mac OS File Type & Creator In-Reply-To: References: Message-ID: <43010122.2040200@materiaprima.fsnet.co.uk> Dan, Under OS9 and earlier the type and creator are stored by the finder in a hidden file on the disk where the file resides. So forget the resource fork. Res Edit just sets the finder information in this case. You can set the global filetype property in rev before writing the file. Once the finder has this info about the file, it will then be copied to any mac media that the file itself is copied to. To transmit the file via a network with this data intact I suggest zip or stuffit, both of which should keep type creator info intact. Martin Baxter Dan Shafer wrote: > This ought to be duck soup. But it's turned into alligator stew with a > live alligator. > > I have a custom property set to a file. I want to write this file out > to an OS 9 system so that it shows up in Finder as a PDF file. From all > I can gather, I have a two-line problem: > > set the fileType to "CAROPDF " > put PDFToOpen into URL "binfile:myFile.pdf" > > But alas, this does not work. The file type and creator come up empty. > If I use ResEdit to set the file type and creator as in the command > above, the file becomes a PDF file that Acrobat Reader recognizes. So I > know I have the creator and file type correct. Am I perhaps doing this > in the wrong place? > > A clue: ResEdit tells me the file I'm writing has no resource fork. I > was under the impression that using "binfile" solved that problem? > > I gather then that this has something to do with resfile: types but I > can't find anything in the docs about creating a resource fork, only > about copying them. But when I do a getResources on an OS9 file, as far > as I can tell, the type and creator aren't stored in the resource fork > (at least not as identifiable resources), so I'm basically lost and > under very tight deadline. > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From eric.miclo at wanadoo.fr Mon Aug 15 17:12:16 2005 From: eric.miclo at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Miclo?=) Date: Mon, 15 Aug 2005 23:12:16 +0200 Subject: Printing with Revolution Message-ID: <038D8FAA-A222-45D0-B041-2665378E1093@wanadoo.fr> Hello, When using "open printing" on Mac the printing window lets you chose the pages you want to print. Is there a way to get back that setting in order to print only the chosen pages? Thanks, ?rIC -- My NeXT computer will Be a Mac too! -- From bill at bluewatermaritime.com Mon Aug 15 17:23:10 2005 From: bill at bluewatermaritime.com (Bill) Date: Mon, 15 Aug 2005 17:23:10 -0400 Subject: Printing with Revolution In-Reply-To: <038D8FAA-A222-45D0-B041-2665378E1093@wanadoo.fr> Message-ID: I hope someone can answer this for you! It will involve some fairly complex applescript calls... On 8/15/05 5:12 PM, "?ric Miclo" wrote: > Hello, > > When using "open printing" on Mac the printing window lets you chose > the pages you want to print. Is there a way to get back that setting > in order to print only the chosen pages? > > Thanks, > > ?rIC > > -- My NeXT computer will Be a Mac too! -- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- 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 katir at hindu.org Mon Aug 15 17:51:59 2005 From: katir at hindu.org (Sivakatirswami) Date: Mon, 15 Aug 2005 11:51:59 -1000 Subject: Spell Checker In-Reply-To: <42D3DF05.9050906@dreamscapesoftware.com> References: <42D3DF05.9050906@dreamscapesoftware.com> Message-ID: Aloha, Derek... Any news on your spellchecker? I need a cross-platform one that does the following: 1) uses some standard English dictionary-word list (if you can hack and parse the one from OSX Tiger... it's very good.) 2) has a "special" dictionary that is "locked" i.e. the user cannot add words to it. Context: I've got about 20 people in remote locations working on documents which are uploaded to our server here. There is no spell checking now. They cut and paste the text out to MSword and paste back, in [nasty! I get strange chars introduced from this operation...] But we have a lot of foreign, Sanskrit, Tamil, "proprietary" (company names place names etc) words that need to be added to a "Special Dictionary" The spellchecker wants to be able to propose a list (a simple algorithm will do.. even a list of words starting with the same first letter..) that is drawn from both the standard dictionary and the user dictionary. The user dictionary gets updated on line. (I can do all this part) if the version number changes when someone goes to work, my Rev app alerts them to download a new user dictionary... if they want to add words to that dictionary, they have to email me suggestions.. (I can't have 20 different people adding words locally... needs to be a central list...) Before I start working on this... I looked on the list and see you have plans already in motion... Thanks! Sivakatirswami On Jul 12, 2005, at 5:17 AM, Derek Bump wrote: > Bob Earp wrote: > >> Is there any chance you could share this with the rest of us. To >> be able to add a spell checker to Rev would be quite fantastic >> given my spelling and typing dyslexia ;-) >> > > I'm working hard on completing the Spell Checker Plugin. I wanted > to have something by this morning, but work was busy last night so > I didn't have a lot of free time (I'm in law enforcement). > > Rest assured though, I will put it up for everyone to > download...the question then is do I charge a fee? :) (just > kidding about the fee) > > > Derek Bump > Dreamscape Software > _______________________________________________ > Compress Photos for the Web with JPEGCompress > http://www.dreamscapesoftware.com/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Mon Aug 15 18:36:29 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 15 Aug 2005 15:36:29 -0700 Subject: Setting Mac OS File Type & Creator In-Reply-To: <43010122.2040200@materiaprima.fsnet.co.uk> References: <43010122.2040200@materiaprima.fsnet.co.uk> Message-ID: <56E8B5AC-CFFB-4181-BCA3-9710C5BBA623@danshafer.com> The problem I'm having -- and several people have been very helpful trying to get this to work -- is that my Rev standalone app writes a file to the disk and then later wants to use an AppleScript to open that file. In order for AppleScript to open the file via Finder, Finder needs to know the type and creator of the file, of course. But whether we use Revolution's set the fileType command or whether we plug in AppleScript set the creator and set the type commands, the type of the file never gets updated on the drive. As a result, Finder can't open it, either from my script calling an AppleScript or from the Finder directly by double-clicking the file. The old "I don't know what app created this file" dialog pops up. We've tried a lot of stuff, including inserting a delay between the time we set the type and creator and the time we try to open the file (figuring maybe a slow drive or CPU could be at fault). So far, no luck on my setup, though one of the guys has had it work on his machine fine with a later version of OS9. On Aug 15, 2005, at 1:54 PM, Martin Baxter wrote: > Dan, > > Under OS9 and earlier the type and creator are stored by the finder > in a hidden file on the disk where the file resides. So forget the > resource fork. Res Edit just sets the finder information in this case. > You can set the global filetype property in rev before writing the > file. Once the finder has this info about the file, it will then be > copied to any mac media that the file itself is copied to. To > transmit the file via a network with this data intact I suggest zip > or stuffit, both of which should keep type creator info intact. > > Martin Baxter > > Dan Shafer wrote: > >> This ought to be duck soup. But it's turned into alligator stew >> with a live alligator. >> I have a custom property set to a file. I want to write this file >> out to an OS 9 system so that it shows up in Finder as a PDF >> file. From all I can gather, I have a two-line problem: >> set the fileType to "CAROPDF " >> put PDFToOpen into URL "binfile:myFile.pdf" >> But alas, this does not work. The file type and creator come up >> empty. If I use ResEdit to set the file type and creator as in >> the command above, the file becomes a PDF file that Acrobat >> Reader recognizes. So I know I have the creator and file type >> correct. Am I perhaps doing this in the wrong place? >> A clue: ResEdit tells me the file I'm writing has no resource >> fork. I was under the impression that using "binfile" solved that >> problem? >> I gather then that this has something to do with resfile: types >> but I can't find anything in the docs about creating a resource >> fork, only about copying them. But when I do a getResources on an >> OS9 file, as far as I can tell, the type and creator aren't >> stored in the resource fork (at least not as identifiable >> resources), so I'm basically lost and under very tight deadline. >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Dan Shafer, Revolution Consultant and Author >> http://www.shafermedia.com >> Get my book, "Revolution: Software at the Speed of Thought" >> From http://www.revolutionpros.com, Click "My Stuff" >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From warren at howsoft.com Mon Aug 15 18:36:43 2005 From: warren at howsoft.com (Bob Warren) Date: Mon, 15 Aug 2005 19:36:43 -0300 Subject: altBrowser for Linux? References: <004001c5a1bd$4e1691c0$0201a8c0@john> <4300EEB3.1090500@chipp.com> Message-ID: <00ab01c5a1ea$2515ebe0$0201a8c0@john> Hi Chipp, You mean that altBrowser for Linux would be ready about 1 month after the necessary alterations have been made to the RunRev IDE? OK, so now I'll ask the Rev team (Kevin, Mark and Chris) the same question: Is any kind of ETA possible, e.g. this year, first semester next year, second semester next year, etc? Best, Bob ----- Original Message ----- From: "Chipp Walters" To: "Bob Warren" ; "How to use Revolution" Sent: Monday, August 15, 2005 4:36 PM Subject: Re: altBrowser for Linux? > Hi Bob, > > That would have to come from the RR team. We'll probably release a month > or so afterwards, assuming everything works :-) > > best, > > Chipp > > Bob Warren wrote: > > Thanks for the more promising info about the Linux altBrowser Chipp! > > Is any kind of ETA possible, e.g. this year, first semester next year, > > second semester next year, etc? > > > From revdan at danshafer.com Mon Aug 15 19:21:33 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 15 Aug 2005 16:21:33 -0700 Subject: Setting Mac OS File Type & Creator In-Reply-To: <56E8B5AC-CFFB-4181-BCA3-9710C5BBA623@danshafer.com> References: <43010122.2040200@materiaprima.fsnet.co.uk> <56E8B5AC-CFFB-4181-BCA3-9710C5BBA623@danshafer.com> Message-ID: <1862BB39-CF0B-4837-A0E1-73FAB78BDCB7@danshafer.com> We're not 100% sure but the problem may be anomalous system rather than an inherent issue. My partner's old G3 iBook is creaky, running 9.0.4, and has AppleScript 1.4. Plus the hard drive is probably just one big fragment. So the odds are that the app, which works fine on a couple of other machines, just flakes on this setup. We'll know soon enough. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From erikhans08 at yahoo.com Mon Aug 15 19:29:20 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Mon, 15 Aug 2005 16:29:20 -0700 (PDT) Subject: when do you use a hard space today? In-Reply-To: Message-ID: <20050815232921.44882.qmail@web33002.mail.mud.yahoo.com> --- Ken Ray wrote: > Hardly ever... the only times I've used it has > been in web pages to get > things to line up. so it is an HTML thing. thanks, 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 erikhans08 at yahoo.com Mon Aug 15 19:47:02 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Mon, 15 Aug 2005 16:47:02 -0700 (PDT) Subject: Subject Hi -- looks likes like a possible spam virus vector In-Reply-To: <3bbcdd2d032b84ebd4100668ee5f1580@adelphia.net> Message-ID: <20050815234703.20961.qmail@web33004.mail.mud.yahoo.com> non-Rev topics like Subject: Hi look like possible spam virus carriers. erik at erikhansen.org http://www.erikhansen.org ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From chipp at chipp.com Mon Aug 15 23:13:35 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 15 Aug 2005 22:13:35 -0500 Subject: Setting Mac OS File Type & Creator In-Reply-To: <1862BB39-CF0B-4837-A0E1-73FAB78BDCB7@danshafer.com> References: <43010122.2040200@materiaprima.fsnet.co.uk> <56E8B5AC-CFFB-4181-BCA3-9710C5BBA623@danshafer.com> <1862BB39-CF0B-4837-A0E1-73FAB78BDCB7@danshafer.com> Message-ID: <430159DF.20903@chipp.com> Just a thought... Could you download a 'shell' file w/resources intact, then extract your PDF to it? Sorry, I don't use OS9 (nor do we offer any programs which run on it-- a much simpler proposition ;-) Dan Shafer wrote: > We're not 100% sure but the problem may be anomalous system rather than > an inherent issue. My partner's old G3 iBook is creaky, running 9.0.4, > and has AppleScript 1.4. Plus the hard drive is probably just one big > fragment. So the odds are that the app, which works fine on a couple of > other machines, just flakes on this setup. From revdan at danshafer.com Mon Aug 15 23:40:54 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 15 Aug 2005 20:40:54 -0700 Subject: Setting Mac OS File Type & Creator In-Reply-To: <430159DF.20903@chipp.com> References: <43010122.2040200@materiaprima.fsnet.co.uk> <56E8B5AC-CFFB-4181-BCA3-9710C5BBA623@danshafer.com> <1862BB39-CF0B-4837-A0E1-73FAB78BDCB7@danshafer.com> <430159DF.20903@chipp.com> Message-ID: <235121C5-9EAF-4267-97EE-1D3A456FFE2F@danshafer.com> I don't know if that would work or not. Not supporting OS9 seems unwise since a fair amount of my stuff will appeal to the education market and they're probably still running OS 8.6 in some places. On Aug 15, 2005, at 8:13 PM, Chipp Walters wrote: > Just a thought... > > Could you download a 'shell' file w/resources intact, then extract > your PDF to it? Sorry, I don't use OS9 (nor do we offer any > programs which run on it-- a much simpler proposition ;-) > > Dan Shafer wrote: > >> We're not 100% sure but the problem may be anomalous system >> rather than an inherent issue. My partner's old G3 iBook is >> creaky, running 9.0.4, and has AppleScript 1.4. Plus the hard >> drive is probably just one big fragment. So the odds are that the >> app, which works fine on a couple of other machines, just flakes >> on this setup. >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From b.xavier at internet.lu Tue Aug 16 00:34:12 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 16 Aug 2005 06:34:12 +0200 Subject: ANN: BreakPoints Navigator 1.2.2 Message-ID: <20050816041846.2D6FC824F86@mail.runrev.com> Jim Thanks for the bug report. The new release of BreakPoints Navigator is finally online... version bumped to 1.2.2. You can download the 162KB plugin here. http://monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=77 Fixed the wrap lines and the misbehaved buttons toggling between debug objects, breakpoints and options panels. I've tested it as well as i could but if something slipped let me know... cheers Xavier http://monsieurx.com From mtitu11 at gmail.com Tue Aug 16 00:38:35 2005 From: mtitu11 at gmail.com (musfiqur rahman) Date: Tue, 16 Aug 2005 10:38:35 +0600 Subject: hi In-Reply-To: <3bbcdd2d032b84ebd4100668ee5f1580@adelphia.net> References: <75c98534050814215216a29298@mail.gmail.com> <3bbcdd2d032b84ebd4100668ee5f1580@adelphia.net> Message-ID: <75c9853405081521387cc3bceb@mail.gmail.com> Hello Thomas MsGrath III Thanks for ur help. I am also looking forward to have a manual or tutorial to use this properly and efficently. I dnt have Audio and vedio support in my PC. So if u can send any PDF or Text manual paper by attachment or by link then it will be much helpful for me. Musfiqur Rahman On 8/15/05, Thomas McGrath III <3mcgrath at adelphia.net> wrote: > Hello, musfiqur rahman, > > Do you mean the Revolution program? If so, it can be used in many > wonderful ways. You can build yourself very useful utilities or you can > build database structures, as well as prototypes of software (what I > do) and also you can build education tools and slide show tools, etc. > When you are done building something you can save it as a standalone > .app/.exe file for use in Windows, Macintosh and Unix OSes. > > You build by using Transcript - the programing language - which is an > english like language that makes the code read easier and faster. > > Tell us more about what you do and/or what you might be interested in > doing? > > Tom > > > On Aug 15, 2005, at 12:52 AM, musfiqur rahman wrote: > > > i donot actually know how i can be benificial with is program.Please > > make me clear > > > > Musfiqur Rahman > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > Thomas J McGrath III > 3mcgrath at adelphia.net > > Lazy River Software? > http://homepage.mac.com/mcgrath3/lazyriver.html > > Meeting Wear? - Unique Apparel Design > http://www.cafepress.com/meetingwear > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revolution at jaedworks.com Tue Aug 16 00:42:30 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Mon, 15 Aug 2005 21:42:30 -0700 Subject: Setting Mac OS File Type & Creator In-Reply-To: References: Message-ID: At 11:31 AM -0700 8/15/2005, Dan Shafer wrote: >I have a custom property set to a file. I want to write this file >out to an OS 9 system so that it shows up in Finder as a PDF file. >From all I can gather, I have a two-line problem: > > set the fileType to "CAROPDF " > put PDFToOpen into URL "binfile:myFile.pdf" Possibly try this instead: set the fileType to "CAROPDF " open file "myFile.pdf" -- create the file close file "myFile.pdf" put PDFToOpen into URL "binfile:myFile.pdf" I'm not sure whether it will work - your original code works fine here - but there may be some nuance or other operating with URLs. >A clue: ResEdit tells me the file I'm writing has no resource fork. >I was under the impression that using "binfile" solved that problem? Actually no; whether a file is binary or not doesn't affect whether it has a resource fork. (PDFs normally have no resource fork anyway.) The type and creator are stored as part of the file meta-information, which isn't in either fork.... -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From revolution at jaedworks.com Tue Aug 16 00:41:07 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Mon, 15 Aug 2005 21:41:07 -0700 Subject: when do you use a hard space today? In-Reply-To: <20050815232921.44882.qmail@web33002.mail.mud.yahoo.com> References: <20050815232921.44882.qmail@web33002.mail.mud.yahoo.com> Message-ID: At 4:29 PM -0700 8/15/2005, Erik Hansen wrote: >--- Ken Ray wrote: >> Hardly ever... the only times I've used it has >> been in web pages to get >> things to line up. > >so it is an HTML thing. Not just HTML; you can use a non-breaking space whenever you don't want a line to break. For example, between a title (Dr., Mr., etc.) and the name; or between the characters of an equation where you want the equation all on one line for readability. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From 3mcgrath at adelphia.net Tue Aug 16 01:10:02 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 16 Aug 2005 01:10:02 -0400 Subject: hi In-Reply-To: <75c9853405081521387cc3bceb@mail.gmail.com> References: <75c98534050814215216a29298@mail.gmail.com> <3bbcdd2d032b84ebd4100668ee5f1580@adelphia.net> <75c9853405081521387cc3bceb@mail.gmail.com> Message-ID: Sure, just go to the website where there are help files and tutorials etc. Tom On Aug 16, 2005, at 12:38 AM, musfiqur rahman wrote: > Hello Thomas MsGrath III > > Thanks for ur help. I am also looking forward to have a manual or > tutorial to use this properly and efficently. I dnt have Audio and > vedio support in my PC. So if u can send any PDF or Text manual paper > by attachment or by link then it will be much helpful for me. > > Musfiqur Rahman > > On 8/15/05, Thomas McGrath III <3mcgrath at adelphia.net> wrote: >> Hello, musfiqur rahman, >> >> Do you mean the Revolution program? If so, it can be used in many >> wonderful ways. You can build yourself very useful utilities or you >> can >> build database structures, as well as prototypes of software (what I >> do) and also you can build education tools and slide show tools, etc. >> When you are done building something you can save it as a standalone >> .app/.exe file for use in Windows, Macintosh and Unix OSes. >> >> You build by using Transcript - the programing language - which is an >> english like language that makes the code read easier and faster. >> >> Tell us more about what you do and/or what you might be interested in >> doing? >> >> Tom >> >> >> On Aug 15, 2005, at 12:52 AM, musfiqur rahman wrote: >> >>> i donot actually know how i can be benificial with is program.Please >>> make me clear >>> >>> Musfiqur Rahman >>> _______________________________________________ From katir at hindu.org Tue Aug 16 01:15:21 2005 From: katir at hindu.org (Sivakatirswami) Date: Mon, 15 Aug 2005 19:15:21 -1000 Subject: altBrowser for Linux? In-Reply-To: <4300EEB3.1090500@chipp.com> References: <004001c5a1bd$4e1691c0$0201a8c0@john> <4300EEB3.1090500@chipp.com> Message-ID: <52246C20-33DB-4B70-9213-82DA88FDE568@hindu.org> Go west young man... I don't mean California, further, across the big pond: Check the distant horizon: a Tsunami not far off: linux --> china --> millions of users On Aug 15, 2005, at 9:36 AM, Chipp Walters wrote: > Hi Bob, > > That would have to come from the RR team. We'll probably release a > month or so afterwards, assuming everything works :-) > > best, > > Chipp > > Bob Warren wrote: > >> Thanks for the more promising info about the Linux altBrowser Chipp! >> Is any kind of ETA possible, e.g. this year, first semester next >> year, >> second semester next year, etc? >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Tue Aug 16 01:19:25 2005 From: katir at hindu.org (Sivakatirswami) Date: Mon, 15 Aug 2005 19:19:25 -1000 Subject: More Long File Name Gotcha's on OSX Message-ID: <9BB8A475-CD01-4521-80C3-3A96DCB53B61@hindu.org> launch "file_name_with_more_than_32_chars.xml" with "/Applications/ BBEdit.app blink... nothing happens should I add this to BZ, or will this get auto squashed when the long file name fix comes? Meanwhile... are there workarounds like we had for players? Sivakatirswami From warren at howsoft.com Tue Aug 16 01:33:11 2005 From: warren at howsoft.com (Bob Warren) Date: Tue, 16 Aug 2005 02:33:11 -0300 Subject: altbrowser for linux Message-ID: <011b01c5a224$25f8c570$0201a8c0@john> Chris (Bohnert): Sorry about the confusion. I had the (wrong) impression that apart from being the other half of Altuit, you were ALSO a member of the RR team! Regards, Bob From erikhans08 at yahoo.com Tue Aug 16 02:01:57 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Mon, 15 Aug 2005 23:01:57 -0700 (PDT) Subject: hard space in names of objects? In-Reply-To: Message-ID: <20050816060157.96811.qmail@web33009.mail.mud.yahoo.com> --- "Jeanne A. E. DeVoto" wrote: > Not just HTML; you can use a non-breaking space > whenever you don't > want a line to break. For example, between a > title (Dr., Mr., etc.) > and the name; or between the characters of an > equation where you want > the equation all on one line for readability. a non-breaking space sounds like an invisible underline. i remember a discussion at Monterrey on underlines in names of objects btw black belt practitioners Gaskin and Rossi. no food was thrown and the trade-offs seemed about even. the big disadvantege of underlines was not being able to double-click on the name to select it. assuming you script set the title with numToChar() for the break, would there be any problems btw systems, versions, and who knows what? thanks, Erik Hansen erik at erikhansen.org http://www.erikhansen.org ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From 36degrees at runrev.com Tue Aug 16 06:21:06 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Tue, 16 Aug 2005 11:21:06 +0100 Subject: More Long File Name Gotcha's on OSX In-Reply-To: <9BB8A475-CD01-4521-80C3-3A96DCB53B61@hindu.org> References: <9BB8A475-CD01-4521-80C3-3A96DCB53B61@hindu.org> Message-ID: <1124187666.13111.370.camel@rachmaninov> On Mon, 2005-08-15 at 19:19 -1000, Sivakatirswami wrote: > launch "file_name_with_more_than_32_chars.xml" with "/Applications/ > BBEdit.app > > blink... nothing happens > > should I add this to BZ, or will this get auto squashed when the > long file name fix comes? It will get squished along with all the other long file name fixes :o) > Meanwhile... are there workarounds like we had for players? In the mean-time, try: get shell("open -a /Applications/BBEdit.app" && \ quote & tLongFilename & quote) Warmest Regards, > Sivakatirswami Mark. ------------------------------------------------------------------ Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From AMACHADO at bouyguestelecom.fr Tue Aug 16 07:14:01 2005 From: AMACHADO at bouyguestelecom.fr (AMACHADO at bouyguestelecom.fr) Date: Tue, 16 Aug 2005 13:14:01 +0200 Subject: Field List : disable field in a field list Message-ID: Hi everyone, May be a basic question (still a beginner) but I still have problems with field lists... I want to disable some items in my field list "My Field List" (still visible but not clickable + in grey if possible) I tried the following : disable menuItem 1 of field "My Field List" But it seems that this command only works for menus :-( May be the solution can be : Set the disabled of XXX to true But what have I to use instead of XXX ? Thanks. Alex ____________________________________________________________ L'integrite de ce message n'etant pas assuree sur Internet, Bouygues Telecom ne peut etre tenue responsable de son contenu en ce compris les pieces jointes. Toute utilisation ou diffusion non autorisee est interdite. Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur. The integrity of this message cannot be guaranteed on the Internet. Bouygues Telecom cannot therefore be considered liable for the contents including its attachments. Any unauthorized use or dissemination is prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender. ____________________________________________________________ From ridge11103 at btinternet.com Tue Aug 16 08:16:07 2005 From: ridge11103 at btinternet.com (John Ridge) Date: Tue, 16 Aug 2005 13:16:07 +0100 Subject: Field List : disable field in a field list In-Reply-To: References: Message-ID: Hi Alex I'm sure someone will have a good answer to this! But meanwhile I wonder if you could do the following: (a) set the textColor of each of your "disabled" lines to "gray", to simulate a menu. This does not disable the line, alas. So (b) use the clickLine function to get the line number that has been clicked - if the number is in your list of disabled lines, ignore the selection. I haven't tried this, but who knows, it might work... On 16 Aug 2005, at 12:14, AMACHADO at bouyguestelecom.fr wrote: > Hi everyone, > > May be a basic question (still a beginner) but I still have problems > with field lists... > I want to disable some items in my field list "My Field List" (still > visible but not clickable + in grey if possible) > > I tried the following : > disable menuItem 1 of field "My Field List" > But it seems that this command only works for menus :-( > > May be the solution can be : > Set the disabled of XXX to true > But what have I to use instead of XXX ? > > > Thanks. > Alex > Best wishes John ridge11103 at btinternet.com From cbsiskin+ at pitt.edu Tue Aug 16 09:56:04 2005 From: cbsiskin+ at pitt.edu (Claire Bradin Siskin) Date: Tue, 16 Aug 2005 09:56:04 -0400 Subject: uploading QuickTime movie to ftp server In-Reply-To: <20050816041851.84D86824FAB@mail.runrev.com> References: <20050816041851.84D86824FAB@mail.runrev.com> Message-ID: > > Here is the message that I got: "Quicktime cannot open the file > > . It is not a file that QuickTime understands (-2048)". Dave Cragg wrote: >I read somewhere that QT movies need to be "prepared" (flattened) for >x-platform use. If so, I guess this would be the same for ftp >uploading (remove stuff from the resource fork). Perhaps one of the >QT gurus can help out. Since no QT gurus have stepped forward :-), I found another way to accomplish what I wanted to do. What I was **really** trying to do was get Revolution to upload a sound file to the server. libURLftpUploadfile globalvariable, \ "ftp://username:password at myftpserver.edu/" & globalvariable & ".wav" The above script works just fine, and it can be played in QuickTime or whatever. Of course, those who know me will realize that it was really my husband who figured this out. :-) Regards, Claire -- Claire Bradin Siskin Director Robert Henderson Language Media Center G 17 Cathedral of Learning University of Pittsburgh Pittsburgh, PA 15260 Office Phone: (412) 624-5939 Email: cbsiskin at pitt.edu http://www.polyglot.pitt.edu From david at openpartnership.net Tue Aug 16 04:00:12 2005 From: david at openpartnership.net (david bovill) Date: Tue, 16 Aug 2005 10:00:12 +0200 Subject: Testing if an image is empty (blank)? In-Reply-To: <82C8C057-468D-4D7B-B0EF-7726F3106E69@canelasoftware.com> References: <001601c59f53$6d7fa130$0201a8c0@john> <961D817A-1C0B-4ED8-A580-C4895C005A25@canelasoftware.com> <43000302.1040501@chipp.com> <82C8C057-468D-4D7B-B0EF-7726F3106E69@canelasoftware.com> Message-ID: <69435CD3-AD77-4573-9590-16FF7BD0B318@openpartnership.net> How do I test to see if an image is empty? The issue is that it is hard to filter the file dialog in such a way that only images or videos are selectable cross platform and then you have drag and drop... so I tried testing after a drag and drop (which sets the filename property) to see if the image has any data... so if you choose a text file or pdf the filename property is set (which is a pitty) and the imageData is not empy... There is nothing that I now of like "file is an image"... Any ideas of how to figure out after setting the filename of an image whether it worked or not? From bnz2 at cdc.gov Tue Aug 16 11:14:27 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Tue, 16 Aug 2005 11:14:27 -0400 Subject: Windows registry question Message-ID: <64878EF567131D4596246171F75FD4A9968184@m-epo-1.epo.cdc.gov> Instead of using queryregistry to get a specific key, I would like to get the list of folders contained within a registry path. Is this possible? From b.xavier at internet.lu Tue Aug 16 11:18:25 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 16 Aug 2005 17:18:25 +0200 Subject: Testing if an image is empty (blank)? In-Reply-To: <69435CD3-AD77-4573-9590-16FF7BD0B318@openpartnership.net> Message-ID: <20050816150257.7A67F825039@mail.runrev.com> Hi David length(the imagedata of image x)=0 or the filename of image x is empty Also if you open any image and look at the hex/ascii data you will see the similitudes of the headers. Im sure they are documented... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > david bovill > Sent: Tuesday, August 16, 2005 10:00 > To: How to use Revolution > Subject: Testing if an image is empty (blank)? > > How do I test to see if an image is empty? > > The issue is that it is hard to filter the file dialog in > such a way that only images or videos are selectable cross > platform and then you have drag and drop... so I tried > testing after a drag and drop (which sets the filename > property) to see if the image has any data... so if you > choose a text file or pdf the filename property is set (which > is a pitty) and the imageData is not empy... > > There is nothing that I now of like "file is an image"... > > Any ideas of how to figure out after setting the filename of > an image whether it worked or not? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION at barncard.com Tue Aug 16 11:35:02 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 16 Aug 2005 08:35:02 -0700 Subject: Setting Mac OS File Type & Creator In-Reply-To: References: Message-ID: Dan,since it's OS9, you could always use Rinaldi's Type And Creator SetFInfo 1.4 XCMD to set the type and creator of the file on the fly on the OS9 end. http://rinaldicollection.free.fr/ >This ought to be duck soup. But it's turned into alligator stew with >a live alligator. From webmaster at dreamscapesoftware.com Tue Aug 16 11:44:40 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Tue, 16 Aug 2005 10:44:40 -0500 Subject: Testing if an image is empty (blank)? In-Reply-To: <69435CD3-AD77-4573-9590-16FF7BD0B318@openpartnership.net> References: <001601c59f53$6d7fa130$0201a8c0@john> <961D817A-1C0B-4ED8-A580-C4895C005A25@canelasoftware.com> <43000302.1040501@chipp.com> <82C8C057-468D-4D7B-B0EF-7726F3106E69@canelasoftware.com> <69435CD3-AD77-4573-9590-16FF7BD0B318@openpartnership.net> Message-ID: <430209E8.3050709@dreamscapesoftware.com> david bovill wrote: > How do I test to see if an image is empty? if (the imagePixMapID of img "testImage") is empty then answer "Unable to open the selected image." with "OK" end if You can also get a little more creative and use QuickTime to determine if the file can be opened. At that point you can go 1 further and convert the image to a format that Revolution can understand, and now you've given yourself the ability to open all image types that QuickTime can support. Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From b.xavier at internet.lu Tue Aug 16 11:52:15 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 16 Aug 2005 17:52:15 +0200 Subject: Windows registry question In-Reply-To: <64878EF567131D4596246171F75FD4A9968184@m-epo-1.epo.cdc.gov> Message-ID: <20050816153645.7E73B825058@mail.runrev.com> Hi Jonathan sorry, i couldn't find something quick but it's probably via vbs only... but i haven't found the right script to do it... Actually, you either need to create a key and it's usually preset how to do it or you try to modify one so it's usually not necessary to read the whole structure unless you're scanning for something or cleaning up the registry - which many tools do already... what do you need to do? cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Lynch, Jonathan > Sent: Tuesday, August 16, 2005 17:14 > To: How to use Revolution > Subject: Windows registry question > > > Instead of using queryregistry to get a specific key, I would > like to get the list of folders contained within a registry path. > > Is this possible? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Tue Aug 16 11:51:29 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 16 Aug 2005 08:51:29 -0700 Subject: Setting Mac OS File Type & Creator In-Reply-To: References: Message-ID: Hmmmm. I might try that, Stephen. But I think the problem is that the Rev method works fine except on a really old version of OS9 and/or AppleScript or with a hard drive that may be so slow the update never happens before I try to open the file. I'm doing another experiment this morning. I feel like a mad scientist in a laboratory. On Aug 16, 2005, at 8:35 AM, Stephen Barncard wrote: > Dan,since it's OS9, you could always use Rinaldi's Type And Creator > SetFInfo 1.4 XCMD to set the type and creator of the file on the > fly on the OS9 end. > http://rinaldicollection.free.fr/ > > >> This ought to be duck soup. But it's turned into alligator stew >> with a live alligator. >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From bnz2 at cdc.gov Tue Aug 16 11:57:52 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Tue, 16 Aug 2005 11:57:52 -0400 Subject: Windows registry question Message-ID: <64878EF567131D4596246171F75FD4A9744620@m-epo-1.epo.cdc.gov> I am trying to figure out how to obtain printer information from the registry. Rev doesn't really allow perfect printer control. I want to create a one-stop substack that works as a printer dialog box, but allows for proper control of printer choice, collating, page numbers, etc... For windows, anyway. Probably none of this is necessary for Mac or Linux. Some printer information (network printers, I believe) is contained, for example, in HKEY_CURRENT_USERS\PRINTERS\CONNECTIONS It is not the key that I need, but the list of folders contained under CONNECTIONS. I probably will have to resort to running a vbscript in Cscript.exe - but it would be nice not to have to do that. My VB skills are shaky, to say the least, and a Rev-only solution allows for such great flexibility when changes need to be made. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX Sent: Tuesday, August 16, 2005 11:52 AM To: 'How to use Revolution' Subject: RE: Windows registry question Hi Jonathan sorry, i couldn't find something quick but it's probably via vbs only... but i haven't found the right script to do it... Actually, you either need to create a key and it's usually preset how to do it or you try to modify one so it's usually not necessary to read the whole structure unless you're scanning for something or cleaning up the registry - which many tools do already... what do you need to do? cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Lynch, Jonathan > Sent: Tuesday, August 16, 2005 17:14 > To: How to use Revolution > Subject: Windows registry question > > > Instead of using queryregistry to get a specific key, I would > like to get the list of folders contained within a registry path. > > Is this possible? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Tue Aug 16 12:07:46 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 16 Aug 2005 18:07:46 +0200 Subject: Setting Mac OS File Type & Creator In-Reply-To: Message-ID: <20050816155212.CCE69824F4C@mail.runrev.com> just a suggestion out of the blue why not rename the file with a pc type extension like file.txt The Files and something Control Panel in OS9 did manage the extensions to be filetyped to any preference you set in the control panel... Uh, but im not sure that works too well unless you rebuild the desktop, rebooted twice and held the control-alt-command shift 1 key with one hand while you pressed the reboot key with the other ;)) Who said PCs are bad? There was a utility app in macOS named FileTyper with which you could create droplets to drop your files (or open them via AS) and preset the file props including type and creator. That would be quicker... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Dan Shafer > Sent: Tuesday, August 16, 2005 17:51 > To: How to use Revolution > Subject: Re: Setting Mac OS File Type & Creator > > Hmmmm. I might try that, Stephen. But I think the problem is > that the Rev method works fine except on a really old version > of OS9 and/or AppleScript or with a hard drive that may be so > slow the update never happens before I try to open the file. > > I'm doing another experiment this morning. > > I feel like a mad scientist in a laboratory. > > > On Aug 16, 2005, at 8:35 AM, Stephen Barncard wrote: > > > Dan,since it's OS9, you could always use Rinaldi's Type And Creator > > SetFInfo 1.4 XCMD to set the type and creator of the file > on the fly > > on the OS9 end. > > http://rinaldicollection.free.fr/ > > > > > >> This ought to be duck soup. But it's turned into alligator stew > >> with a live alligator. > >> > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION at barncard.com Tue Aug 16 12:11:01 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 16 Aug 2005 09:11:01 -0700 Subject: Close and Remove stack from memory Message-ID: Hello, Friends, I'm having trouble with trying to 'Close and Remove Stack from Memory' a stack window in a script while working in the IDE. No matter if I use the 'destroy' properties in any configuration - I still get the 'conflict' dialog from the IDE. Is there an incantation - a window type or whatever - to fix this? Eric, you've had to deal with this in your Backup plugin.... I'm saving a preferences stack to a different file name in a different area to be used as a clone later for 'first time installation' of the prefs file. I want it to be saved and then have the copy go away. But the memory image of the backup stays around, and if I open the prefs file, the IDE complains. One can do this in the Application Browser - how does one do this in a script? thanks sqb From b.xavier at internet.lu Tue Aug 16 12:13:21 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 16 Aug 2005 18:13:21 +0200 Subject: Setting Mac OS File Type & Creator In-Reply-To: Message-ID: <20050816155824.7A05A825036@mail.runrev.com> now i know what you need... run a disk first aid first - common ailing of OS9's Then rebuild the desktop... (before teh finder arrives, press command-option) Then it should work momentarily better until you need to redo that op... One of the reasons i quit the mac was this - just was one more reason - and i found it back in win95... grrr... Today, i think the PC file type world is a mess... But it is easier to manage than on any mac i've seen... No hidden props, extra programs, special editors, etc... cheers Xavier > -----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, August 15, 2005 20:31 > To: Revolution List > Subject: Setting Mac OS File Type & Creator > > This ought to be duck soup. But it's turned into alligator > stew with a live alligator. > > I have a custom property set to a file. I want to write this > file out to an OS 9 system so that it shows up in Finder as a > PDF file. From all I can gather, I have a two-line problem: > > set the fileType to "CAROPDF " > put PDFToOpen into URL "binfile:myFile.pdf" > > But alas, this does not work. The file type and creator come > up empty. If I use ResEdit to set the file type and creator > as in the command above, the file becomes a PDF file that > Acrobat Reader recognizes. So I know I have the creator and > file type correct. Am I perhaps doing this in the wrong place? > > A clue: ResEdit tells me the file I'm writing has no resource > fork. I was under the impression that using "binfile" solved > that problem? > > I gather then that this has something to do with resfile: > types but I can't find anything in the docs about creating a > resource fork, only about copying them. But when I do a > getResources on an OS9 file, as far as I can tell, the type > and creator aren't stored in the resource fork (at least not > as identifiable resources), so I'm basically lost and under > very tight deadline. > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com Get my book, "Revolution: Software > at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Tue Aug 16 12:23:22 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 16 Aug 2005 18:23:22 +0200 Subject: Setting Mac OS File Type & Creator In-Reply-To: <20050816155212.CCE69824F4C@mail.runrev.com> Message-ID: <20050816160751.E78FB824EE8@mail.runrev.com> dont try dont key combinations unless you know what you are doing... rebuilding a desktop will make your mac faster but it can take time. Dont do it on a disk that may be corrupted (b-trees stuff) or your finder may hang... And dont do the 4 key combo or you loose all your pram settings (printers, time, etc...) in case you wondered why those keys are so well hidden ;) i was only joking... But they could help Dan InTrouble... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX > Sent: Tuesday, August 16, 2005 18:08 > To: 'How to use Revolution' > Subject: RE: Setting Mac OS File Type & Creator > > just a suggestion out of the blue > > why not rename the file with a pc type extension like file.txt > > The Files and something Control Panel in OS9 did manage the > extensions to be filetyped to any preference you set in the > control panel... > > Uh, but im not sure that works too well unless you rebuild > the desktop, rebooted twice and held the control-alt-command > shift 1 key with one hand while you pressed the reboot key > with the other ;)) > > Who said PCs are bad? > > There was a utility app in macOS named FileTyper with which > you could create droplets to drop your files (or open them > via AS) and preset the file props including type and creator. > > That would be quicker... > > cheers > Xavier > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Dan > > Shafer > > Sent: Tuesday, August 16, 2005 17:51 > > To: How to use Revolution > > Subject: Re: Setting Mac OS File Type & Creator > > > > Hmmmm. I might try that, Stephen. But I think the problem > is that the > > Rev method works fine except on a really old version of OS9 and/or > > AppleScript or with a hard drive that may be so slow the > update never > > happens before I try to open the file. > > > > I'm doing another experiment this morning. > > > > I feel like a mad scientist in a laboratory. > > > > > > On Aug 16, 2005, at 8:35 AM, Stephen Barncard wrote: > > > > > Dan,since it's OS9, you could always use Rinaldi's Type > And Creator > > > SetFInfo 1.4 XCMD to set the type and creator of the file > > on the fly > > > on the OS9 end. > > > http://rinaldicollection.free.fr/ > > > > > > > > >> This ought to be duck soup. But it's turned into alligator stew > > >> with a live alligator. > > >> > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Dan Shafer, Revolution Consultant and Author > > http://www.shafermedia.com Get my book, "Revolution: > Software at the > > Speed of Thought" > > From http://www.revolutionpros.com, Click "My Stuff" > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Tue Aug 16 12:33:30 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 16 Aug 2005 11:33:30 -0500 Subject: Windows registry question In-Reply-To: <64878EF567131D4596246171F75FD4A9744620@m-epo-1.epo.cdc.gov> Message-ID: On 8/16/05 10:57 AM, "Lynch, Jonathan" wrote: > I am trying to figure out how to obtain printer information from the > registry. > > Rev doesn't really allow perfect printer control. I want to create a > one-stop substack that works as a printer dialog box, but allows for > proper control of printer choice, collating, page numbers, etc... For > windows, anyway. Probably none of this is necessary for Mac or Linux. > > Some printer information (network printers, I believe) is contained, for > example, in HKEY_CURRENT_USERS\PRINTERS\CONNECTIONS > > It is not the key that I need, but the list of folders contained under > CONNECTIONS. Well, you could use the "reg" command through the shell and export the folders to a text file that you could then open and parse: get shell("reg export HKCU\PRINTERS\CONNECTIONS C:\Dump.txt") put url("file:C:\Dump.txt") into tData ... etc. HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From stephenREVOLUTION at barncard.com Tue Aug 16 12:37:55 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 16 Aug 2005 09:37:55 -0700 Subject: Setting Mac OS File Type & Creator In-Reply-To: <20050816155824.7A05A825036@mail.runrev.com> References: <20050816155824.7A05A825036@mail.runrev.com> Message-ID: X, I suggest you read up on the modern OSX (or try it) before you put it down anymore - your Apple bias and experience seems to stem mostly from OS9 - with little reference to Tiger or Jaguar, which is the Mac system today. Cmon, man, it's UNIX with a pretty face. >now i know what you need... > >run a disk first aid first - common ailing of OS9's > >Then rebuild the desktop... (before teh finder arrives, press >command-option) > >Then it should work momentarily better until you need to redo that op... > >One of the reasons i quit the mac was this - just was one more reason - and >i found it back in win95... grrr... > >Today, i think the PC file type world is a mess... But it is easier to >manage than on any mac i've seen... No hidden props, extra programs, special >editors, etc... > >cheers >Xavier From revlist at cableone.net Tue Aug 16 12:43:53 2005 From: revlist at cableone.net (Chris Sheffield) Date: Tue, 16 Aug 2005 10:43:53 -0600 Subject: Close and Remove stack from memory In-Reply-To: References: Message-ID: Pretty easily, actually. close stack "MyStack" delete stack "MyStack" These have always worked for me. Just be careful not to accidentally use "delete" on a substack because it will actually get deleted from the main stack. For more info, look up the command in the docs. Chris On Aug 16, 2005, at 10:11 AM, Stephen Barncard wrote: > Hello, Friends, > > I'm having trouble with trying to 'Close and Remove Stack from > Memory' a stack window in a script while working in the IDE. No > matter if I use the 'destroy' properties in any configuration - I > still get the 'conflict' dialog from the IDE. Is there an > incantation - a window type or whatever - to fix this? Eric, you've > had to deal with this in your Backup plugin.... > > I'm saving a preferences stack to a different file name in a > different area to be used as a clone later for 'first time > installation' of the prefs file. > > I want it to be saved and then have the copy go away. But the > memory image of the backup stays around, and if I open the prefs > file, the IDE complains. > > One can do this in the Application Browser - how does one do this > in a script? > > thanks > sqb > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From ambassador at fourthworld.com Tue Aug 16 12:53:19 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 16 Aug 2005 09:53:19 -0700 Subject: Close and Remove stack from memory In-Reply-To: References: Message-ID: <430219FF.5050703@fourthworld.com> Stephen Barncard wrote: > Hello, Friends, > > I'm having trouble with trying to 'Close and Remove Stack from Memory' a > stack window in a script while working in the IDE. No matter if I use > the 'destroy' properties in any configuration - I still get the > 'conflict' dialog from the IDE. ... > I'm saving a preferences stack to a different file name in a different > area to be used as a clone later for 'first time installation' of the > prefs file. > > I want it to be saved and then have the copy go away. But the memory > image of the backup stays around, and if I open the prefs file, the IDE > complains. I have no idea what the IDE does, but getting the engine to do what you need is simple (so simple I never really understood why the IDE offers a preference to alter this well-tested built-in behavior): Just make sure the stack's destroyStack property is true, and whenever the stack is closed its copy in memory is destroyed. However, keep in mind that any stackfile is loaded into memory as a whole, mainstack and its substacks. So if the stack you're cloning is a substack of something that's open, your clone will need a different name to avoid the name conflict. To keep such template stacks named differently than their clones I often append their name with "RSRC" as an arbitrary reminder to myself which is which, cloning them like this: clone stack "PrefsRSRC" set the name of it to "UserPrefs" set the filename of it to tMyFilePath save it -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From stephenREVOLUTION at barncard.com Tue Aug 16 13:34:14 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 16 Aug 2005 10:34:14 -0700 Subject: Close and Remove stack from memory In-Reply-To: References: Message-ID: Thanks, Guys, "delete stack" was the hint I needed... At 9:53 AM -0700 8/16/05, Richard Gaskin wrote: >Just make sure the stack's destroyStack property is true, and >whenever the stack is closed its copy in memory is destroyed. > At 10:43 AM -0600 8/16/05, Chris Sheffield wrote: >Pretty easily, actually. > >close stack "MyStack" >delete stack "MyStack" > >These have always worked for me. Just be careful not to >accidentally use "delete" on a substack because it will actually get >deleted from the main stack. For more info, look up the command in >the docs. > >Chris From ambassador at fourthworld.com Tue Aug 16 14:00:50 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 16 Aug 2005 11:00:50 -0700 Subject: looking for two things.... In-Reply-To: <20050815075125.82A43824F32@mail.runrev.com> References: <20050815075125.82A43824F32@mail.runrev.com> Message-ID: <430229D2.4020801@fourthworld.com> MisterX wrote: >> Prepping two new articles for revJournal, I'd like to see if >> I could find these two things: >> >>1. Have any of you done an implementation of the Prisoner's >>Dilemma in Rev? > > i found this belgian link (of all places)for # 1 seems > appropriate... > google "prisonners dilemma" and click "im feeling lucky" > ;) > unless you need something different? This looks like Neural > Networks kind of... > Weighted nodes... Thanks for the link. That's a good description, and there are many find implementations in a lot of different languages. I was hoping to find one already done in Transcript to post at revJournal to stimulate discussion of simulations in Rev. >>2. Any of you have a copy of the old Roget's Thesaurus done >>in HyperCard? I used to have a copy but I can only find my >>converted stack but not the original. Thankfully the stack's author, Mark Zimmerman, was kind enough to locate and send me a copy. It'll be at least a week before I can write the article for it (so many apps to ship, so little time), but this will be available as part of a brief article at revJournal soon. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Tue Aug 16 14:24:16 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 16 Aug 2005 11:24:16 -0700 Subject: ECMI draft specification In-Reply-To: <4334179257.20050814191426@ahsoftware.net> References: <4334179257.20050814191426@ahsoftware.net> Message-ID: <43022F50.4030004@fourthworld.com> Mark Wieder wrote: > I see Richard has quietly added a mirror of the ECMI draft spec in > RevJournal's front page at http://www.revjournal.com, thus making it > publicly accessible. IMO this is a major step and the document should > be required reading for anyone making resources for other runrev > developers to use. Way to go, RIP team - this is good stuff. Thank you, Mark. It's a start, and there's more to come: Hugh Senior recently sent me a version of the group's RIP editor updated for the latest spec (thank you Hugh), and Eric Chatonet has some nifty RIP tools as well. These will be posted to that mirror soon. There are so many contributors to RIP to thank, from toolmakers to the many who've participated in the discussion of the spec to hone it into something truly useful, and their contributions have been enormously valuable. With all the respect due those generous souls, I'd like to take a moment here for a special thanks to Ken Ray for his ongoing effort in coordinating and maintaining the ECMI draft. He's done a wonderful job putting in the level of detailed explanation that's turned a merely good idea into a workable draft people can make tools from. Thank you Ken. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From david at openpartnership.net Tue Aug 16 14:26:12 2005 From: david at openpartnership.net (david bovill) Date: Tue, 16 Aug 2005 20:26:12 +0200 Subject: Testing if an image is empty (blank)? In-Reply-To: <430209E8.3050709@dreamscapesoftware.com> References: <001601c59f53$6d7fa130$0201a8c0@john> <961D817A-1C0B-4ED8-A580-C4895C005A25@canelasoftware.com> <43000302.1040501@chipp.com> <82C8C057-468D-4D7B-B0EF-7726F3106E69@canelasoftware.com> <69435CD3-AD77-4573-9590-16FF7BD0B318@openpartnership.net> <430209E8.3050709@dreamscapesoftware.com> Message-ID: <109DFDCF-6A6F-4061-8726-A208C1DAED5C@openpartnership.net> Thanks of the tip - works great for image object. On 16 Aug 2005, at 17:44, Derek Bump wrote: > if (the imagePixMapID of img "testImage") is empty then > answer "Unable to open the selected image." with "OK" > end if Now for the player object? Do you have any scripts / appleScripts for figuring out whether the fileType of a file is supported by QuickTime? I am getting rather pleasant / unpleasant surprises here - what is being displayed for pdf's and text files? Work in progress.... From rjb at robelko.com Tue Aug 16 09:20:09 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 16 Aug 2005 15:20:09 +0200 Subject: running the Player In-Reply-To: References: <7C563748-0E21-4DA8-9EBC-7C13B408CA4F@conncoll.edu> <42FE9844.9030302@fourthworld.com> <7495CE23-4DC1-4E06-BD38-155C6FB010FC@conncoll.edu> Message-ID: Charles Hartman wrote: I'm getting *nothing* -- just a splash / starup screen with "Preparing..." and "Checking license..." This is a known problem of player and has been reported in Bugzilla. It gets stuck when launching for some people. AFAIK it has something to do with some gimmicks to run in secure mode. Robert >Yeah, as I've said here before, the Player just isn't well >documented or understood. > >It *appears* to me that it is RunRev's intent that the Player should >*never* be launched directly, but only indirectly by double-clicking >on a stack. The problem, of course, is that you can't prevent users >from launching it. > >I think it should either: > >(1) Display message that says, in essence, "This is a Player. You >got to give it something to play with. Pick a stack file, >double-click it and then see how great it is" > >Or > >(2) Present with a file selection dialog (filtered for stacks if possible). > >But that's just me. > > >On Aug 13, 2005, at 7:46 PM, Charles Hartman wrote: > >> >>On Aug 13, 2005, at 9:03 PM, Richard Gaskin wrote: >> >>>Charles Hartman wrote: >>> >>>>When I launch the (OSX) Dreamcard Player by double-clicking the >>>>app (not a stack), I'm getting *nothing* -- just a splash / >>>>starup screen with "Preparing..." and "Checking license..." and >>>>a big right-facing arrow. The arrow isn't clickable; nothing is; >>>>and the menu offers nothing useful except Quit. >>>>Clearly *not* what I want to instruct my Dreamcard-stack users to >>>>do. But if the app is there (if they've downloaded both my stack >>>>and the Player), some will do it anyway. >>>> >>> >>>Agreed, it doesn't provide much guidance. >>> >>As far as I can see (??), less than that: it doesn't look as though >>it permits any action but quitting. (Not a useful application model >>. . .) I'm sure I'm missing something. But -- appearances sometimes >>to the contrary, I'm not a really naive computer user -- and if I >>can't find it, I *know* many of the people using my stack won't be >>able to either. >> >> >>>What do you feel would make for a better user experience? >>> >>>For example, should it present a file selection dialog, or have >>>some sort of Home stack, or....? >>> >> >>The former seems like the best idea; users are accustomed to those >>dialogs in all kinds of apps. The latter could be good. But there >>would have to be a really direct way for me, as developer, to make >>my stack available either as or from that "home stack". >> >>Charles >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Dan Shafer, Revolution Consultant and Author >http://www.shafermedia.com >Get my book, "Revolution: Software at the Speed of Thought" >From http://www.revolutionpros.com, Click "My Stuff" > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From warren at howsoft.com Tue Aug 16 14:40:23 2005 From: warren at howsoft.com (Bob Warren) Date: Tue, 16 Aug 2005 15:40:23 -0300 Subject: altBrowser for Linux? Message-ID: <001601c5a292$8f08f120$0201a8c0@john> There's a tidal wave on the doorstep, here in Brazil (just a little bit to the south). Linux has scared the pants off Micro$oft so much, they're distributing anti-Linux propaganda, insisting that in the long run, their software is cheaper! (No joke) And if the Chinese don't have a good Linux, we'll give them one! Tally Ho! Tip: If you don't fancy converting the excellent Brazilian Linuxes (e.g. Kurumin, Conectiva, etc.) into English, I suggest you try the South-African "Ubuntu" (Gnome version). On my machines, everything works! It's brilliant. Ubuntu is available as 2 CDs: Installable and "Live" (which means that you can try running it from the CD without touching your HD). And of course it is completely free, and always will be. '''''''''''''''''''''''''''''''''''''''''''''''''''''' china --> millions of users >On Aug 15, 2005, at 9:36 AM, Chipp Walters wrote: > Hi Bob, > > That would have to come from the RR team. We'll probably release a > month or so afterwards, assuming everything works :-) > > best, > > Chipp > > Bob Warren wrote: > >> Thanks for the more promising info about the Linux altBrowser Chipp! >> Is any kind of ETA possible, e.g. this year, first semester next >> year, >> second semester next year, etc? >> From JimCarwardine at OwnYourFuture-net.com Tue Aug 16 15:22:31 2005 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Tue, 16 Aug 2005 16:22:31 -0300 Subject: Drag & Drop from one substack to another In-Reply-To: Message-ID: Hi Folks... Maybe this looked too much like another thread on D&D. I really need to know if anyone can point me to the right info on dragging and dropping text from a field in one substack to a field in another substack of the same file. I just can't seem to do it... Jim OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Lower Water Street, Suite 1700, 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 warren at howsoft.com Tue Aug 16 15:29:10 2005 From: warren at howsoft.com (Bob Warren) Date: Tue, 16 Aug 2005 16:29:10 -0300 Subject: altBrowser for Linux? Message-ID: <002901c5a29a$3770f4a0$0201a8c0@john> In a private communication to somebody yesterday I said that I thought that RR always was, and always would be, fundamentally Macintosh, and that it had been extended to Windows as a favour, and to Linux as a matter of lip-service. But to be absolutely fair, when I installed the trail version of Linux RR, I was very impressed. It was pretty, and the little things I tried worked perfectly normally. Those of you who are familar with Linux know that one of its weak points at the moment is the question of program installation (though this is by no means applicable to all software). With Rev, you just make your single standalone file (including pictures or even the kitchen sink) and run it. I think that RR has great potential in Linux. But I ain't gonna use it without my altBrowser, so there! I come originally from VB6 where embedded tailorable browsers have been available for years, and the majority of programs I have ever written (and will ever write) depend on the use of an embedded browser. So as soon as RR decide to break their deathly silence about the subject, the better. From bann at sunncomm.com Tue Aug 16 16:14:03 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Tue, 16 Aug 2005 13:14:03 -0700 Subject: running player makes other thing slower Message-ID: Hi everyone, Does anyone run into this problem like I have? In my rev application, I have a player (playing song and movie) running just fine but when I scroll up and down the field, the sound is messed up and slows down other things such as selecting a line in the field list, clicking on a button What should I do to fix this problem? Please help. Thank you From kray at sonsothunder.com Tue Aug 16 16:32:23 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 16 Aug 2005 15:32:23 -0500 Subject: Drag & Drop from one substack to another In-Reply-To: Message-ID: On 8/16/05 2:22 PM, "Jim Carwardine" wrote: > Hi Folks... Maybe this looked too much like another thread on D&D. I really > need to know if anyone can point me to the right info on dragging and > dropping text from a field in one substack to a field in another substack of > the same file. I just can't seem to do it... Jim Is this between list fields, or between "normal" text fields? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From scott at tactilemedia.com Tue Aug 16 17:07:22 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 16 Aug 2005 14:07:22 -0700 Subject: Blowing in the Wind Message-ID: Greetings List: For those of you who were unable to attend my presentation at RevConWest, I showed some experiments with one of Rev's newest features: deep masks. One of the nice things about this feature is the ability of Rev to cache the current window shape before switching to new shape. This effectively allows you to smoothly change shape of a window without it briefly disappearing or flashing -- in essence creating an animated stack. Today I came across a flag animation on the 'net and, just to see if it would work, I tried applying the animation to the windowShape of a stack. The result is a stack that whose shape and surface ripples as if blown in a light breeze. Execute the following in your message box: go url "http://www.tactilemedia.com/download/breeze.rev" This stack is about 600K so give it a minute to download (you should be able to drag the stack around your desktop as well). On my 667mHz laptop the result is pretty nice; your mileage may vary... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From chipp at chipp.com Tue Aug 16 17:13:56 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 16 Aug 2005 16:13:56 -0500 Subject: Blowing in the Wind In-Reply-To: References: Message-ID: <43025714.1040100@chipp.com> Show off.. (Though works great here on WinXP!) From kray at sonsothunder.com Tue Aug 16 17:20:17 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 16 Aug 2005 16:20:17 -0500 Subject: Blowing in the Wind In-Reply-To: Message-ID: On 8/16/05 4:07 PM, "Scott Rossi" wrote: > Greetings List: > > For those of you who were unable to attend my presentation at RevConWest, I > showed some experiments with one of Rev's newest features: deep masks. One > of the nice things about this feature is the ability of Rev to cache the > current window shape before switching to new shape. This effectively allows > you to smoothly change shape of a window without it briefly disappearing or > flashing -- in essence creating an animated stack. > > Today I came across a flag animation on the 'net and, just to see if it > would work, I tried applying the animation to the windowShape of a stack. > The result is a stack that whose shape and surface ripples as if blown in a > light breeze. > > Execute the following in your message box: > > go url "http://www.tactilemedia.com/download/breeze.rev" > > This stack is about 600K so give it a minute to download (you should be able > to drag the stack around your desktop as well). On my 667mHz laptop the > result is pretty nice; your mileage may vary... Very nice, Scott! You never cease to amaze me... and the code is so simple! :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From dick.kriesel at mail.com Tue Aug 16 17:22:34 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Tue, 16 Aug 2005 14:22:34 -0700 Subject: Blowing in the Wind In-Reply-To: Message-ID: On 8/16/05 2:07 PM, "Scott Rossi" wrote: > (you should be able to drag the stack around your desktop as well) Almost every time, that worked. The other times, the click on the flag brought the application behind the flag to the front, so that the flag disappeared behind the other app's window. Why would Rev miss a click? Is that preventable? -- Dick From jbondy at sover.net Tue Aug 16 17:28:14 2005 From: jbondy at sover.net (Jon) Date: Tue, 16 Aug 2005 17:28:14 -0400 Subject: a Rev program to automatically download files using FTP Message-ID: <43025A6E.201@sover.net> Is there a simple [?!?] sample stack that would show me how to automatically FTP some files every 24 hours? I need to back up a few files from my server, and this seems like a nice way to try to do it. Thanks! :) Jon From jbondy at sover.net Tue Aug 16 17:29:42 2005 From: jbondy at sover.net (Jon) Date: Tue, 16 Aug 2005 17:29:42 -0400 Subject: "working" a web site from Rev Message-ID: <43025AC6.6040509@sover.net> I want to write a Rev program to make sure that a web site I've written is still functioning correctly, perhaps once an hour, 24/7. The manipulations for a person are pretty simple: 1) go to a fixed URL 2) click a button 3) go to the bottom of the page 4) check a check box 5) click a button 6) verify that the received HTML contains some key phrases. Is it easy to do this in Rev? Any sample stacks you can recommend? :) Jon From scott at tactilemedia.com Tue Aug 16 17:45:52 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 16 Aug 2005 14:45:52 -0700 Subject: Blowing in the Wind In-Reply-To: Message-ID: Recently, Dick Kriesel wrote: >> (you should be able to drag the stack around your desktop as well) > > Almost every time, that worked. The other times, the click on the flag > brought the application behind the flag to the front, so that the flag > disappeared behind the other app's window. Why would Rev miss a click? Is > that preventable? I noticed this as well. I might hazard a guess that the mouseclick is hitting the stack at the precise moment that the stack's mask is being updated, and maybe in between updates, the click is passed through to whatever is behind the stack. Perhaps the mask caching is more effective visually than physically... Mark W might be the best person to respond to this. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kray at sonsothunder.com Tue Aug 16 17:48:02 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 16 Aug 2005 16:48:02 -0500 Subject: "working" a web site from Rev In-Reply-To: <43025AC6.6040509@sover.net> Message-ID: On 8/16/05 4:29 PM, "Jon" wrote: > I want to write a Rev program to make sure that a web site I've written > is still functioning correctly, perhaps once an hour, 24/7. The > manipulations for a person are pretty simple: > > 1) go to a fixed URL > 2) click a button > 3) go to the bottom of the page > 4) check a check box > 5) click a button > 6) verify that the received HTML contains some key phrases. > > Is it easy to do this in Rev? Any sample stacks you can recommend? Well, that actual button clicking can't be done with Rev, but you can simulate it by passing the parameters with the url string that would normally be sent when you click the button in a ' get url ' call. For example, suppose I had a simple form on a web page for name and email address with a "submit" button. When the submit button is clicked, it sends that data to the CGI on the server (let's say it's "www.123.com/cgi-bin/testcgi"). I could simulate the submit button for the person "Test" with email address "test at test.com" like this: put urlEncode("Test") into tName put urlEncode("test at test.com") into tEmail get url("http://www.123.com/cgi-bin/testcgi?" & tName & "&" & tEmail) --> now "it" contains the source of the page that would be displayed after the submit button was pressed Hope this helps... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From dcragg at lacscentre.co.uk Tue Aug 16 18:11:28 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 16 Aug 2005 23:11:28 +0100 Subject: "working" a web site from Rev In-Reply-To: <43025AC6.6040509@sover.net> References: <43025AC6.6040509@sover.net> Message-ID: On 16 Aug 2005, at 22:29, Jon wrote: > I want to write a Rev program to make sure that a web site I've > written is still functioning correctly, perhaps once an hour, > 24/7. The manipulations for a person are pretty simple: > > 1) go to a fixed URL > 2) click a button > 3) go to the bottom of the page > 4) check a check box > 5) click a button > 6) verify that the received HTML contains some key phrases. Are steps 2 and 4 both form submission buttons? Anyway, if you are trying to check that the form submission is working, you should be able to check this directly from Rev without opening a browser. Depending on the form's method (GET or POST) you would use get url or post. For example, say the form had the following fields: Field 1 name = "name"; value = "Jon" Field 2 name = "happy"; value = "true" You could construct the form data like this: put "Jon" into tName put "true" into tHappy put libUrlFormData("name",tName,"happy",tHappy) into tFormData If you are using "get", then you would append the form data to the url like this: put "http://www.mysite.com/myform.cgi" & "?" & tFormData into tUrl put url tUrl into tReturnedHtml if the result is empty then ##parse tReturnedHtml for key phrases else ##error answer the result end if If you are using "post", then like this: post tFormData to url "http://www.mysite.com/myform.cgi" if the result is empty then put it into tReturnedHtml ##parse tReturnedHtml for key phrases else ##error answer the result end if Hope that helps Dave From revdan at danshafer.com Tue Aug 16 18:13:54 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 16 Aug 2005 15:13:54 -0700 Subject: Blowing in the Wind In-Reply-To: References: Message-ID: <31D3FDA2-BAD7-435C-ABA6-2FD8BCD01558@danshafer.com> Dick... I saw that once, too. But I discovered I was in edit mode, not browse mode. COuld be? On Aug 16, 2005, at 2:22 PM, Dick Kriesel wrote: > On 8/16/05 2:07 PM, "Scott Rossi" wrote: > > >> (you should be able to drag the stack around your desktop as well) >> > > Almost every time, that worked. The other times, the click on the > flag > brought the application behind the flag to the front, so that the flag > disappeared behind the other app's window. Why would Rev miss a > click? Is > that preventable? > > -- Dick > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revdan at danshafer.com Tue Aug 16 18:14:20 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 16 Aug 2005 15:14:20 -0700 Subject: Blowing in the Wind In-Reply-To: References: Message-ID: <418A7CDB-C517-4F09-AB57-D84537877219@danshafer.com> Scott.... You continue to amaze me. Very, very nice. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From kray at sonsothunder.com Tue Aug 16 18:19:49 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 16 Aug 2005 17:19:49 -0500 Subject: "working" a web site from Rev In-Reply-To: Message-ID: On 8/16/05 4:48 PM, "Ken Ray" wrote: > put urlEncode("Test") into tName > put urlEncode("test at test.com") into tEmail > get url("http://www.123.com/cgi-bin/testcgi?" & tName & "&" & tEmail) Whoops! That should be: get url("http://www.123.com/cgi-bin/testcgi?name=" & tName & "&email=" & tEmail) Sorry... But Dave's already clued you in on this, and his code is better than mine... :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From vokey at uleth.ca Tue Aug 16 21:25:33 2005 From: vokey at uleth.ca (John Vokey) Date: Tue, 16 Aug 2005 19:25:33 -0600 Subject: Blowing in the Wind In-Reply-To: <20050816220036.86A4E82507B@mail.runrev.com> References: <20050816220036.86A4E82507B@mail.runrev.com> Message-ID: <82D71823-C084-4773-89D0-D8491870648F@uleth.ca> Beautiful under RR, flickers like mad under MC 2.6.1 On 16-Aug-05, at 4:00 PM, use-revolution-request at lists.runrev.com wrote: >> Greetings List: >> >> For those of you who were unable to attend my presentation at >> RevConWest, I >> showed some experiments with one of Rev's newest features: deep >> masks. One >> of the nice things about this feature is the ability of Rev to >> cache the >> current window shape before switching to new shape. This >> effectively allows >> you to smoothly change shape of a window without it briefly >> disappearing or >> flashing -- in essence creating an animated stack. >> >> Today I came across a flag animation on the 'net and, just to see >> if it >> would work, I tried applying the animation to the windowShape of a >> stack. >> The result is a stack that whose shape and surface ripples as if >> blown in a >> light breeze. >> >> Execute the following in your message box: >> >> go url "http://www.tactilemedia.com/download/breeze.rev" >> >> This stack is about 600K so give it a minute to download (you >> should be able >> to drag the stack around your desktop as well). On my 667mHz >> laptop the >> result is pretty nice; your mileage may vary... > - JRV -- There are 10 kinds of people: those who understand binary, and those who don't From kray at sonsothunder.com Tue Aug 16 21:35:37 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 16 Aug 2005 20:35:37 -0500 Subject: Blowing in the Wind In-Reply-To: <82D71823-C084-4773-89D0-D8491870648F@uleth.ca> Message-ID: On 8/16/05 8:25 PM, "John Vokey" wrote: > Beautiful under RR, flickers like mad under MC 2.6.1 That's because MC 2.6.1 doesn't have support for deep masks... the MC engine that is "under" Revolution 2.6 (the one that uses deep masks) is 2.6.5. HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From see3d at writeme.com Tue Aug 16 22:36:47 2005 From: see3d at writeme.com (Dennis Brown) Date: Tue, 16 Aug 2005 22:36:47 -0400 Subject: Alias' on OS X Message-ID: <7C96A483-A21E-4C8F-9A98-DE62331787C2@writeme.com> Hi, I have a very large list of large files (thousands) that I use as a database in my program. I also use a subset of them for faster testing. At first I was duplicating the subset in another folder, but I thought it would be nice to just have an alias of the files I wanted to use in that folder. The problem is that my program is happy with the file names except it sees them as empty. Shouldn't they provide the get File: URL command with the data from the original file? Dennis From sims at ezpzapps.com Tue Aug 16 22:41:30 2005 From: sims at ezpzapps.com (sims) Date: Wed, 17 Aug 2005 04:41:30 +0200 Subject: Blowing in the Wind In-Reply-To: References: Message-ID: Scott, Totally awesome, as they used to say. You must be from another planet...space ships & aliens on your front yard every Halloween. There is a connection. Great stuff. ciao, sims From kray at sonsothunder.com Tue Aug 16 23:13:19 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 16 Aug 2005 22:13:19 -0500 Subject: Alias' on OS X In-Reply-To: <7C96A483-A21E-4C8F-9A98-DE62331787C2@writeme.com> Message-ID: On 8/16/05 9:36 PM, "Dennis Brown" wrote: > Hi, > > I have a very large list of large files (thousands) that I use as a > database in my program. I also use a subset of them for faster > testing. At first I was duplicating the subset in another folder, > but I thought it would be nice to just have an alias of the files I > wanted to use in that folder. The problem is that my program is > happy with the file names except it sees them as empty. Shouldn't > they provide the get File: URL command with the data from the > original file? Yes, and in fact that seems to still be the case. I created a text file and an alias to the text file. I then ran this simple script: on mouseUp answer file "Pick the alias" if it <> "" then put url("file:" & it) into fld 1 end if end mouseUp and it successfully put the contents of the original file into field 1. Are you finding something else? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jacque at hyperactivesw.com Tue Aug 16 23:34:05 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 16 Aug 2005 22:34:05 -0500 Subject: Alias' on OS X In-Reply-To: <7C96A483-A21E-4C8F-9A98-DE62331787C2@writeme.com> References: <7C96A483-A21E-4C8F-9A98-DE62331787C2@writeme.com> Message-ID: <4302B02D.8010402@hyperactivesw.com> Dennis Brown wrote: > Hi, > > I have a very large list of large files (thousands) that I use as a > database in my program. I also use a subset of them for faster > testing. At first I was duplicating the subset in another folder, but > I thought it would be nice to just have an alias of the files I wanted > to use in that folder. The problem is that my program is happy with > the file names except it sees them as empty. Shouldn't they provide > the get File: URL command with the data from the original file? Are you on a Mac? The last time I checked (admittedly a while ago) the engine doesn't like Mac-style aliases very much, but does fine with Unix-style symlinks. I have a contextual menu I use to create real symlinks, or you can do it in Terminal. If you are on Windows then it should work as-is. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Wed Aug 17 00:52:15 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 16 Aug 2005 21:52:15 -0700 Subject: Blowing in the Wind In-Reply-To: Message-ID: Recently, sims wrote: > You must be from another planet...space ships & aliens on your front > yard every Halloween. There is a connection. Shhhhhhhhhh... Klaatu Barata Nikto. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kray at sonsothunder.com Wed Aug 17 00:58:48 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 16 Aug 2005 23:58:48 -0500 Subject: ECMI draft specification In-Reply-To: <43022F50.4030004@fourthworld.com> Message-ID: On 8/16/05 1:24 PM, "Richard Gaskin" wrote: > With all the respect due those generous souls, I'd like to take a moment > here for a special thanks to Ken Ray for his ongoing effort in > coordinating and maintaining the ECMI draft. He's done a wonderful job > putting in the level of detailed explanation that's turned a merely > good idea into a workable draft people can make tools from. Thank you Ken. Aw, shucks... ;-) Sometimes anal retentiveness can come in handy... :-D Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From revolution at jaedworks.com Wed Aug 17 01:30:08 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 16 Aug 2005 22:30:08 -0700 Subject: hard space in names of objects? In-Reply-To: <20050816060157.96811.qmail@web33009.mail.mud.yahoo.com> References: <20050816060157.96811.qmail@web33009.mail.mud.yahoo.com> Message-ID: At 11:01 PM -0700 8/15/2005, Erik Hansen wrote: >a non-breaking space sounds like an >invisible underline. i remember a discussion >at Monterrey on underlines in names of objects >btw black belt practitioners Gaskin and Rossi. >no food was thrown and the trade-offs seemed >about even. the big disadvantege of underlines >was not being able to double-click on the name >to select it. > >assuming you script set the title with >numToChar() for the break, would there be >any problems btw systems, versions, and who >knows what? Hmm. I don't think I'd recommend it - it's an allowed character, but as a high-ASCII character, its charToNum value differs between Mac and Windows (and unlike fields, object names don't get automatically converted) so I suspect it might cause trouble cross-platform. I use spaces all the time in object names, but pretty much never use high-bit characters. The potential for confusion wiith cross-platform work just seems too great. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From revolution at jaedworks.com Wed Aug 17 01:28:57 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 16 Aug 2005 22:28:57 -0700 Subject: Alias' on OS X In-Reply-To: <7C96A483-A21E-4C8F-9A98-DE62331787C2@writeme.com> References: <7C96A483-A21E-4C8F-9A98-DE62331787C2@writeme.com> Message-ID: At 10:36 PM -0400 8/16/2005, Dennis Brown wrote: >I have a very large list of large files (thousands) that I use as a >database in my program. I also use a subset of them for faster >testing. At first I was duplicating the subset in another folder, >but I thought it would be nice to just have an alias of the files I >wanted to use in that folder. The problem is that my program is >happy with the file names except it sees them as empty. Shouldn't >they provide the get File: URL command with the data from the >original file? Does it work if you use the aliasReference of the alias? -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From xbury.cs at clearstream.com Wed Aug 17 01:55:25 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 17 Aug 2005 07:55:25 +0200 Subject: Blowing in the Wind In-Reply-To: Message-ID: simply mind blowing... If only rev could "paint" that fast... cheers Xavier use-revolution-bounces at lists.runrev.com wrote on 17/08/2005 06:52:15: > Recently, sims wrote: > > > You must be from another planet...space ships & aliens on your front > > yard every Halloween. There is a connection. > > Shhhhhhhhhh... > > Klaatu Barata Nikto. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- 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 erikhans08 at yahoo.com Wed Aug 17 02:14:47 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Tue, 16 Aug 2005 23:14:47 -0700 (PDT) Subject: hard space in names of objects? In-Reply-To: Message-ID: <20050817061447.75884.qmail@web33001.mail.mud.yahoo.com> --- "Jeanne A. E. DeVoto" wrote: > I use spaces all the time in object names... i wasn't sure. residual DOS phobias. those underlines are ugly. thanks, Erik Hansen erik at erikhansen.org http://www.erikhansen.org ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From AMACHADO at bouyguestelecom.fr Wed Aug 17 03:04:35 2005 From: AMACHADO at bouyguestelecom.fr (AMACHADO at bouyguestelecom.fr) Date: Wed, 17 Aug 2005 09:04:35 +0200 Subject: Field List : disable field in a field list Message-ID: Thanks John. I thought there was a function to do this.. Something like 'disable menuItem'. But your proposition is correct : It works. The command I used for setting the colour to gray : set the foregroundcolor of line l of field "My field" to gray But what an horrible code... Don't you think ;-) -----Message d'origine----- De : use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] De la part de John Ridge Envoy? : mardi 16 ao?t 2005 14:16 ? : How to use Revolution Objet : Re: Field List : disable field in a field list Hi Alex I'm sure someone will have a good answer to this! But meanwhile I wonder if you could do the following: (a) set the textColor of each of your "disabled" lines to "gray", to simulate a menu. This does not disable the line, alas. So (b) use the clickLine function to get the line number that has been clicked - if the number is in your list of disabled lines, ignore the selection. I haven't tried this, but who knows, it might work... On 16 Aug 2005, at 12:14, AMACHADO at bouyguestelecom.fr wrote: > Hi everyone, > > May be a basic question (still a beginner) but I still have problems > with field lists... I want to disable some items in my field list "My > Field List" (still visible but not clickable + in grey if possible) > > I tried the following : > disable menuItem 1 of field "My Field List" > But it seems that this command only works for menus :-( > > May be the solution can be : > Set the disabled of XXX to true > But what have I to use instead of XXX ? > > > Thanks. > Alex > Best wishes John ridge11103 at btinternet.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ____________________________________________________________ L'integrit? de ce message n'?tant pas assur?e sur Internet, Bouygues Telecom ne peut ?tre tenue responsable de son contenu en ce compris les pi?ces jointes. Toute utilisation ou diffusion non autoris?e est interdite. Si vous n'?tes pas destinataire de ce message, merci de le d?truire et d'avertir l'exp?diteur. The integrity of this message cannot be guaranteed on the Internet. Bouygues Telecom cannot therefore be considered liable for the contents including its attachments. Any unauthorized use or dissemination is prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender. ____________________________________________________________ From ridge11103 at btinternet.com Wed Aug 17 03:38:42 2005 From: ridge11103 at btinternet.com (John Ridge) Date: Wed, 17 Aug 2005 08:38:42 +0100 Subject: Blowing in the Wind In-Reply-To: References: Message-ID: <4802651F-448C-4105-A2F3-14FDC0F14FBC@btinternet.com> Thanks, Scott. A superb effect - what seems to me particularly weird is to have it billowing smoothly as I read the emails about it! On 16 Aug 2005, at 22:07, Scott Rossi wrote: > Greetings List: > > For those of you who were unable to attend my presentation at > RevConWest, I > showed some experiments with one of Rev's newest features: deep > masks. One > of the nice things about this feature is the ability of Rev to > cache the > current window shape before switching to new shape. This > effectively allows > you to smoothly change shape of a window without it briefly > disappearing or > flashing -- in essence creating an animated stack. > > Today I came across a flag animation on the 'net and, just to see > if it > would work, I tried applying the animation to the windowShape of a > stack. > The result is a stack that whose shape and surface ripples as if > blown in a > light breeze. > > Execute the following in your message box: > > go url "http://www.tactilemedia.com/download/breeze.rev" > > This stack is about 600K so give it a minute to download (you > should be able > to drag the stack around your desktop as well). On my 667mHz > laptop the > result is pretty nice; your mileage may vary... > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Best wishes John ridge11103 at btinternet.com From ridge11103 at btinternet.com Wed Aug 17 03:45:44 2005 From: ridge11103 at btinternet.com (John Ridge) Date: Wed, 17 Aug 2005 08:45:44 +0100 Subject: Field List : disable field in a field list In-Reply-To: References: Message-ID: I see what you mean! But perhaps the point is that if you want to do this sort of thing you really should use a menu - that's what they're for :-( Human Interface Guidelines and all that... On 17 Aug 2005, at 08:04, AMACHADO at bouyguestelecom.fr wrote: > Thanks John. > I thought there was a function to do this.. Something like 'disable > menuItem'. > > But your proposition is correct : It works. > The command I used for setting the colour to gray : > set the foregroundcolor of line l of field "My field" to gray > > But what an horrible code... Don't you think ;-) > > > -----Message d'origine----- > De : use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] De la part de John Ridge > Envoy? : mardi 16 ao?t 2005 14:16 > ? : How to use Revolution > Objet : Re: Field List : disable field in a field list > > > Hi Alex > > I'm sure someone will have a good answer to this! > > But meanwhile I wonder if you could do the following: > > (a) set the textColor of each of your "disabled" lines to "gray", to > simulate a menu. This does not disable the line, alas. So > > (b) use the clickLine function to get the line number that has been > clicked - if the number is in your list of disabled lines, ignore the > selection. > > I haven't tried this, but who knows, it might work... > > > On 16 Aug 2005, at 12:14, AMACHADO at bouyguestelecom.fr wrote: > > >> Hi everyone, >> >> May be a basic question (still a beginner) but I still have problems >> with field lists... I want to disable some items in my field list "My >> Field List" (still visible but not clickable + in grey if possible) >> >> I tried the following : >> disable menuItem 1 of field "My Field List" >> But it seems that this command only works for menus :-( >> >> May be the solution can be : >> Set the disabled of XXX to true >> But what have I to use instead of XXX ? >> >> >> Thanks. >> Alex >> >> > > Best wishes > John > ridge11103 at btinternet.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: http://lists.runrev.com/mailman/listinfo/ > use-revolution > > ____________________________________________________________ > > L'integrit? de ce message n'?tant pas assur?e sur Internet, > Bouygues Telecom ne peut ?tre tenue responsable de son contenu en > ce compris les pi?ces jointes. Toute utilisation ou diffusion non > autoris?e est interdite. Si vous n'?tes pas destinataire de ce > message, merci de le d?truire et d'avertir l'exp?diteur. > > The integrity of this message cannot be guaranteed on the Internet. > Bouygues Telecom cannot therefore be considered liable for the > contents including its attachments. Any unauthorized use or > dissemination is prohibited. If you are not the intended recipient > of this message, then please delete it and notify the sender. > ____________________________________________________________ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Best wishes John ridge11103 at btinternet.com From david at openpartnership.net Wed Aug 17 08:21:16 2005 From: david at openpartnership.net (david bovill) Date: Wed, 17 Aug 2005 14:21:16 +0200 Subject: Blowing in the Wind In-Reply-To: <4802651F-448C-4105-A2F3-14FDC0F14FBC@btinternet.com> References: <4802651F-448C-4105-A2F3-14FDC0F14FBC@btinternet.com> Message-ID: Lovely :) Any chance of a Scottish Flag? From david at openpartenrship.net Tue Aug 16 10:55:26 2005 From: david at openpartenrship.net (David Bovill) Date: Tue, 16 Aug 2005 16:55:26 +0200 Subject: Image is empty? In-Reply-To: References: Message-ID: <4DCBC5E4-187D-40E7-A7EE-F681D4C95A35@openpartenrship.net> How do I test to see if an image is empty? The issue is that it is hard to filter the file dialog in such a way that only images or videos are selectable cross platform and then you have drag and drop... so I tried testing after a drag and drop (which sets the filename property) to see if the image has any data... so if you choose a text file or pdf the filename property is set (which is a pitty) and the imageData is not empy... There is nothing that I now of like "file is an image"... Any ideas of how to figure out after setting the filename of an image whether it worked or not? From douggilliland at gmail.com Wed Aug 17 10:36:22 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Wed, 17 Aug 2005 10:36:22 -0400 Subject: Stop automatic actions in editing mode Message-ID: <890e3d2605081707366cb952c5@mail.gmail.com> Is it possible to stop an automatic action once you have placed the on opencard script into the card. I have a stack that has a curtain (card 1) open automatically to the title (card 2). I used the card script on card 1: on opencard visual effect barn door open slow go next end opencard I want to edit the first card but the opencard script prevents me from doing so. I have looked through the documentation and manual but see nothing on how to do this. It is probably very simple - but even the simplest things are hard when you don't know the answer :>) Thanks, Doug Gilliland Sarasota, Fl PS - If anyone is a high school chemistry/physics teacher and wants some stacks I am using in my 9th grade Honors Physical Science classes (measuring, SI system, sig figs and other science topics) I'd be happy to share them. From bnz2 at cdc.gov Wed Aug 17 10:39:08 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 17 Aug 2005 10:39:08 -0400 Subject: Stop automatic actions in editing mode Message-ID: <64878EF567131D4596246171F75FD4A996818B@m-epo-1.epo.cdc.gov> Use the application browser - found in the tools menu. Right click on the icon for the card, which will be found under the icon for the stack in the application browser - this will give you an option to edit the card script. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Douglas Gilliland Sent: Wednesday, August 17, 2005 10:36 AM To: use-revolution at lists.runrev.com Subject: Stop automatic actions in editing mode Is it possible to stop an automatic action once you have placed the on opencard script into the card. I have a stack that has a curtain (card 1) open automatically to the title (card 2). I used the card script on card 1: on opencard visual effect barn door open slow go next end opencard I want to edit the first card but the opencard script prevents me from doing so. I have looked through the documentation and manual but see nothing on how to do this. It is probably very simple - but even the simplest things are hard when you don't know the answer :>) Thanks, Doug Gilliland Sarasota, Fl PS - If anyone is a high school chemistry/physics teacher and wants some stacks I am using in my 9th grade Honors Physical Science classes (measuring, SI system, sig figs and other science topics) I'd be happy to share them. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From dburgun at dsl.pipex.com Wed Aug 17 10:49:51 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 17 Aug 2005 15:49:51 +0100 Subject: Menu Problem! In-Reply-To: <890e3d2605081707366cb952c5@mail.gmail.com> References: <890e3d2605081707366cb952c5@mail.gmail.com> Message-ID: Hi, I have a pop up menu that has two values, call them A and B. In the preOpenStack handler I want to set the menu back to A so I tried the following: send "menuPick A" to button "myButton" The Script on myButton is as so: on menuPick theItemSelected if theItemSelected = "A" then -- Do Something else -- Do Something else end if end menuPick When I manually enter A or B on the Pop Up all works ok. However when I run the preOpenStack handler, the Menu Stays a B even though I send an "A" to it. I have put a breakpoint in the menu pick handler and it receive the "A" ok. Do I need to set something else to have the menu update to "A"????? Thanks in Advance Dave From bnz2 at cdc.gov Wed Aug 17 10:52:35 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 17 Aug 2005 10:52:35 -0400 Subject: Menu Problem! Message-ID: <64878EF567131D4596246171F75FD4A996818C@m-epo-1.epo.cdc.gov> Try this: Put "A" into tParm Send "menuPick tParm" to button "myButton" In a send command, items inside the quotes are still evaluated for their value, rather than being literal. -----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, August 17, 2005 10:50 AM To: How to use Revolution Subject: Menu Problem! Hi, I have a pop up menu that has two values, call them A and B. In the preOpenStack handler I want to set the menu back to A so I tried the following: send "menuPick A" to button "myButton" The Script on myButton is as so: on menuPick theItemSelected if theItemSelected = "A" then -- Do Something else -- Do Something else end if end menuPick When I manually enter A or B on the Pop Up all works ok. However when I run the preOpenStack handler, the Menu Stays a B even though I send an "A" to it. I have put a breakpoint in the menu pick handler and it receive the "A" ok. Do I need to set something else to have the menu update to "A"????? Thanks in Advance Dave _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Wed Aug 17 10:56:53 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 17 Aug 2005 16:56:53 +0200 Subject: Stop automatic actions in editing mode In-Reply-To: <890e3d2605081707366cb952c5@mail.gmail.com> Message-ID: <20050817144108.D1A6A824F77@mail.runrev.com> Douglas There's more than one way than just with the application browser. Remember the msg box is your friend ;) Note, i didn't test #1. #3 may need tweaking. and #2 is perenial, easy and works anywhere... from the message (multiline): Lock messages go to cd 1 in your script (ma favorite) on opencard if the shiftkey is down then pass opencard or exit opencard end if [yourscript] or also in msg set the clipboarddata to script of cd 1 set the script of cd 1 to "" go cd 1 set the script of cd 1 to the clipbarddata or ? im sure now you can think of a few more ways ;) cheers Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Douglas Gilliland > Sent: Wednesday, August 17, 2005 16:36 > To: use-revolution at lists.runrev.com > Subject: Stop automatic actions in editing mode > > Is it possible to stop an automatic action once you have > placed the on opencard script into the card. > I have a stack that has a curtain (card 1) open automatically > to the title (card 2). I used the card script on card 1: > > on opencard > visual effect barn door open slow > go next > end opencard > > I want to edit the first card but the opencard script > prevents me from doing so. I have looked through the > documentation and manual but see nothing on how to do this. > It is probably very simple - but even the simplest things are > hard when you don't know the answer :>) Thanks, Doug > Gilliland Sarasota, Fl PS - If anyone is a high school > chemistry/physics teacher and wants some stacks I am using in > my 9th grade Honors Physical Science classes (measuring, SI > system, sig figs and other science topics) I'd be happy to share them. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Wed Aug 17 12:25:11 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 17 Aug 2005 11:25:11 -0500 Subject: Menu Problem! In-Reply-To: Message-ID: On 8/17/05 9:49 AM, "David Burgun" wrote: > Hi, > > I have a pop up menu that has two values, call them A and B. In the > preOpenStack handler I want to set the menu back to A so I tried the > following: > > send "menuPick A" to button "myButton" Actually, what you want to do is to set the "menuHistory" to a number corresponding to the menu item you want selected. So if the menu displays "A" as the first item, then "B", you want to do: set the menuHistory of button "myButton" to 1 However keep in mind that this does the same thing as actually *selecting* the menu item, so if you want to reset the menu, but *not* have it take effect, you need to wrap the command in "lock messages", like this: lock messages set the menuHistory of button "myButton" to 1 unlock messages HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Wed Aug 17 12:21:32 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 17 Aug 2005 11:21:32 -0500 Subject: Field List : disable field in a field list In-Reply-To: Message-ID: On 8/17/05 2:04 AM, "AMACHADO at bouyguestelecom.fr" wrote: > Thanks John. > I thought there was a function to do this.. Something like 'disable menuItem'. Yes, but that works for menu *buttons*... fields aren't menus, so you can't use the "disable" command. Just FYI, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From bnz2 at cdc.gov Wed Aug 17 12:36:43 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 17 Aug 2005 12:36:43 -0400 Subject: Menu Problem! Message-ID: <64878EF567131D4596246171F75FD4A9744621@m-epo-1.epo.cdc.gov> I have used this sort of construction: Put "Insert Row Below" into tChoice Send "menupick tChoice" to button "row options" And it worked fine, no need to use menuhistory at all. Is there a hidden danger I am not aware of? -----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, August 17, 2005 12:25 PM To: Use Revolution List Subject: Re: Menu Problem! On 8/17/05 9:49 AM, "David Burgun" wrote: > Hi, > > I have a pop up menu that has two values, call them A and B. In the > preOpenStack handler I want to set the menu back to A so I tried the > following: > > send "menuPick A" to button "myButton" Actually, what you want to do is to set the "menuHistory" to a number corresponding to the menu item you want selected. So if the menu displays "A" as the first item, then "B", you want to do: set the menuHistory of button "myButton" to 1 However keep in mind that this does the same thing as actually *selecting* the menu item, so if you want to reset the menu, but *not* have it take effect, you need to wrap the command in "lock messages", like this: lock messages set the menuHistory of button "myButton" to 1 unlock messages HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Wed Aug 17 13:13:18 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 17 Aug 2005 12:13:18 -0500 Subject: Menu Problem! In-Reply-To: <64878EF567131D4596246171F75FD4A9744621@m-epo-1.epo.cdc.gov> Message-ID: On 8/17/05 11:36 AM, "Lynch, Jonathan" wrote: > I have used this sort of construction: > > Put "Insert Row Below" into tChoice > Send "menupick tChoice" to button "row options" > > > And it worked fine, no need to use menuhistory at all. Is there a hidden > danger I am not aware of? Well, the "send menupick" activates the menu option, but doesn't change the label on the menu to correspond to the choice. So if you only want to simulate the menu selection without setting the button's label, then it's a fine approach. Here's a summary of actions that can be taken: 1) put "Blue" into tChoice send "menupick tChoice" to button 1 --> triggers the menupick in the button and acts on the choice, but doesn't change the button's label, nor does it set the menuitem that is directly under the mouse when then option button is selected the next time (Mac only). 2) put "Blue" into tChoice send "menupick tChoice" to button 1 set the label of button 1 to "Blue" --> triggers the menupick in the button and acts on the choice, and sets the label appropriately, but doesn't set the menuitem that is directly under the mouse when then option button is selected the next time (Mac only). 3) set the menuhistory of button 1 to 1 --> (Assuming that "Blue" is the first menu item) Triggers the menupick in the button and acts on the choice, sets the label appropriately, and set the menuitem that is directly under the mouse when then option button is selected the next time (Mac only). HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From lists at mangomultimedia.com Wed Aug 17 13:46:30 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 17 Aug 2005 10:46:30 -0700 Subject: Testing if an image is empty (blank)? In-Reply-To: <109DFDCF-6A6F-4061-8726-A208C1DAED5C@openpartnership.net> References: <001601c59f53$6d7fa130$0201a8c0@john> <961D817A-1C0B-4ED8-A580-C4895C005A25@canelasoftware.com> <43000302.1040501@chipp.com> <82C8C057-468D-4D7B-B0EF-7726F3106E69@canelasoftware.com> <69435CD3-AD77-4573-9590-16FF7BD0B318@openpartnership.net> <430209E8.3050709@dreamscapesoftware.com> <109DFDCF-6A6F-4061-8726-A208C1DAED5C@openpartnership.net> Message-ID: On Aug 16, 2005, at 11:26 AM, david bovill wrote: > Thanks of the tip - works great for image object. > > On 16 Aug 2005, at 17:44, Derek Bump wrote: > > >> if (the imagePixMapID of img "testImage") is empty then >> answer "Unable to open the selected image." with "OK" >> end if >> > > Now for the player object? Do you have any scripts / appleScripts > for figuring out whether the fileType of a file is supported by > QuickTime? I am getting rather pleasant / unpleasant surprises here > - what is being displayed for pdf's and text files? > > Work in progress.... For images and player objects you can check the result() after setting the fileName of the object. If it isn't empty then there was an error. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From klaus at major-k.de Wed Aug 17 13:56:20 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 17 Aug 2005 19:56:20 +0200 Subject: Testing if an image is empty (blank)? In-Reply-To: References: <001601c59f53$6d7fa130$0201a8c0@john> <961D817A-1C0B-4ED8-A580-C4895C005A25@canelasoftware.com> <43000302.1040501@chipp.com> <82C8C057-468D-4D7B-B0EF-7726F3106E69@canelasoftware.com> <69435CD3-AD77-4573-9590-16FF7BD0B318@openpartnership.net> <430209E8.3050709@dreamscapesoftware.com> <109DFDCF-6A6F-4061-8726-A208C1DAED5C@openpartnership.net> Message-ID: Hi Trevor, > On Aug 16, 2005, at 11:26 AM, david bovill wrote: >> Thanks of the tip - works great for image object. >> On 16 Aug 2005, at 17:44, Derek Bump wrote: >> >>> if (the imagePixMapID of img "testImage") is empty then >>> answer "Unable to open the selected image." with "OK" >>> end if >> Now for the player object? Do you have any scripts / appleScripts >> for figuring out whether the fileType of a file is supported by >> QuickTime? I am getting rather pleasant / unpleasant surprises >> here - what is being displayed for pdf's and text files? >> Work in progress.... > For images and player objects you can check the result() after > setting the fileName of the object. If it isn't empty then there > was an error. is this a "new" feature? I remember that with earlier versions the result was always empty, even if you selected a text (TXT) file. > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From mark at maseurope.net Wed Aug 17 14:06:00 2005 From: mark at maseurope.net (Mark Smith) Date: Wed, 17 Aug 2005 19:06:00 +0100 Subject: Resetting a router Message-ID: Hi all. I have, at my workplace, an OS X machine that collects various bits of data from various places on the web at preset times (I have rev apps that are started as cron jobs that do the work). From time to time, the router drops the internet connection and generally seems to get it's little knickers in a twist. Resetting the router sorts it out, and I've created an ugly Rev/Applescript/QuicKeys combo that will reset the router if I'm not physically present, and, of course, it only seems to happen when I'm not there.... I was away for a month just recently, and it all went wrong after about two weeks, so until I got back to reset things, the data was not collected. I can't help feeling that a simpler, probably Rev only solution would be more reliable, but I can't figure out how to get Rev to login to the router and press the right HTML buttons to do it. Has anyone here had similar experiences and found a solution? This is a Belkin adsl modem/router box, that has the usual HTML based control interface. Thanks for any help, Mark Smith ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com From lists at mangomultimedia.com Wed Aug 17 14:09:44 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 17 Aug 2005 11:09:44 -0700 Subject: Testing if an image is empty (blank)? In-Reply-To: References: <001601c59f53$6d7fa130$0201a8c0@john> <961D817A-1C0B-4ED8-A580-C4895C005A25@canelasoftware.com> <43000302.1040501@chipp.com> <82C8C057-468D-4D7B-B0EF-7726F3106E69@canelasoftware.com> <69435CD3-AD77-4573-9590-16FF7BD0B318@openpartnership.net> <430209E8.3050709@dreamscapesoftware.com> <109DFDCF-6A6F-4061-8726-A208C1DAED5C@openpartnership.net> Message-ID: On Aug 17, 2005, at 10:56 AM, Klaus Major wrote: > Hi Trevor, > >> On Aug 16, 2005, at 11:26 AM, david bovill wrote: >> >>> Thanks of the tip - works great for image object. >>> On 16 Aug 2005, at 17:44, Derek Bump wrote: >>> >>> >>>> if (the imagePixMapID of img "testImage") is empty then >>>> answer "Unable to open the selected image." with "OK" >>>> end if >>>> >>> Now for the player object? Do you have any scripts / appleScripts >>> for figuring out whether the fileType of a file is supported by >>> QuickTime? I am getting rather pleasant / unpleasant surprises >>> here - what is being displayed for pdf's and text files? >>> Work in progress.... >>> >> For images and player objects you can check the result() after >> setting the fileName of the object. If it isn't empty then there >> was an error. > > is this a "new" feature? > > I remember that with earlier versions the result was always empty, > even if you selected > a text (TXT) file. Sorry, I need to clarify. If an error occurs while opening Rev tries to open an image in an image object or any media in a player object then result() will not be empty. When dealing with QuickTime, both text and PDF (pdf on os x only) are acceptable media types so no error is returned since there wasn't one. You can use the EnhancedQT external AND the result() check for more control. The function sqtCanOpenFile() AND qtGetMovieFileType() can be used in the EnhancedQT external. qtCanOpenFile() can be set to disregard TEXT files so it will report false will you pass a text file to it. qtGetMovieFileType() will report the type, multiframe graphic, image, unsupported, etc. PDF and GIF would be multiframe graphic types. You still need to check the result() because QT thinks it can open some MPEG files when it really can't. You can check out the external at -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From bnz2 at cdc.gov Wed Aug 17 14:10:26 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 17 Aug 2005 14:10:26 -0400 Subject: Menu Problem! Message-ID: <64878EF567131D4596246171F75FD4A996818F@m-epo-1.epo.cdc.gov> Thank you! Most informative. -----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, August 17, 2005 1:13 PM To: Use Revolution List Subject: Re: Menu Problem! On 8/17/05 11:36 AM, "Lynch, Jonathan" wrote: > I have used this sort of construction: > > Put "Insert Row Below" into tChoice > Send "menupick tChoice" to button "row options" > > > And it worked fine, no need to use menuhistory at all. Is there a hidden > danger I am not aware of? Well, the "send menupick" activates the menu option, but doesn't change the label on the menu to correspond to the choice. So if you only want to simulate the menu selection without setting the button's label, then it's a fine approach. Here's a summary of actions that can be taken: 1) put "Blue" into tChoice send "menupick tChoice" to button 1 --> triggers the menupick in the button and acts on the choice, but doesn't change the button's label, nor does it set the menuitem that is directly under the mouse when then option button is selected the next time (Mac only). 2) put "Blue" into tChoice send "menupick tChoice" to button 1 set the label of button 1 to "Blue" --> triggers the menupick in the button and acts on the choice, and sets the label appropriately, but doesn't set the menuitem that is directly under the mouse when then option button is selected the next time (Mac only). 3) set the menuhistory of button 1 to 1 --> (Assuming that "Blue" is the first menu item) Triggers the menupick in the button and acts on the choice, sets the label appropriately, and set the menuitem that is directly under the mouse when then option button is selected the next time (Mac only). HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From revolution at jaedworks.com Wed Aug 17 14:32:10 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Wed, 17 Aug 2005 11:32:10 -0700 Subject: hard space in names of objects? In-Reply-To: <20050817061447.75884.qmail@web33001.mail.mud.yahoo.com> References: <20050817061447.75884.qmail@web33001.mail.mud.yahoo.com> Message-ID: At 11:14 PM -0700 8/16/2005, Erik Hansen wrote: > > I use spaces all the time in object names... > >i wasn't sure. residual DOS phobias. >those underlines are ugly. Some people are superstitious. ;-) -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From bnz2 at cdc.gov Wed Aug 17 14:36:16 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 17 Aug 2005 14:36:16 -0400 Subject: hard space in names of objects? Message-ID: <64878EF567131D4596246171F75FD4A9968191@m-epo-1.epo.cdc.gov> "rockI " Uh oh... Looks like "I" am stuck between a rock and a hard space! J(patiently accepts all rotten fruit thrown at him) -----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: Wednesday, August 17, 2005 2:32 PM To: How to use Revolution Subject: Re: hard space in names of objects? At 11:14 PM -0700 8/16/2005, Erik Hansen wrote: > > I use spaces all the time in object names... > >i wasn't sure. residual DOS phobias. >those underlines are ugly. Some people are superstitious. ;-) -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From revdan at danshafer.com Wed Aug 17 14:43:34 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 17 Aug 2005 11:43:34 -0700 Subject: Blowing in the Wind In-Reply-To: References: <4802651F-448C-4105-A2F3-14FDC0F14FBC@btinternet.com> Message-ID: But I thought the wind was always blowing so strongly in Scotland that flags don't ripple, they just stand straight out. :-D Dan On Aug 17, 2005, at 5:21 AM, david bovill wrote: > Lovely :) > > Any chance of a Scottish Flag? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Wed Aug 17 14:47:00 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 17 Aug 2005 11:47:00 -0700 Subject: Stop automatic actions in editing mode In-Reply-To: <890e3d2605081707366cb952c5@mail.gmail.com> References: <890e3d2605081707366cb952c5@mail.gmail.com> Message-ID: Before you open the stack, click on the "Messages" icon in the Rev toolbar. That suspends all system messages until you toggle it back on. Saves my life about three times a month. On Aug 17, 2005, at 7:36 AM, Douglas Gilliland wrote: > Is it possible to stop an automatic action once you have placed the on > opencard script into the card. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From klaus at major-k.de Wed Aug 17 14:56:45 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 17 Aug 2005 20:56:45 +0200 Subject: Testing if an image is empty (blank)? In-Reply-To: References: <001601c59f53$6d7fa130$0201a8c0@john> <961D817A-1C0B-4ED8-A580-C4895C005A25@canelasoftware.com> <43000302.1040501@chipp.com> <82C8C057-468D-4D7B-B0EF-7726F3106E69@canelasoftware.com> <69435CD3-AD77-4573-9590-16FF7BD0B318@openpartnership.net> <430209E8.3050709@dreamscapesoftware.com> <109DFDCF-6A6F-4061-8726-A208C1DAED5C@openpartnership.net> Message-ID: <751E1F11-CDE0-40C3-95A3-81D3F3D7A006@major-k.de> Hi Trevor, >>> On Aug 16, 2005, at 11:26 AM, david bovill wrote: >>> >>>> Thanks of the tip - works great for image object. >>>> On 16 Aug 2005, at 17:44, Derek Bump wrote: >>>> >>>>> if (the imagePixMapID of img "testImage") is empty then >>>>> answer "Unable to open the selected image." with "OK" >>>>> end if >>>>> >>>> Now for the player object? Do you have any scripts / >>>> appleScripts for figuring out whether the fileType of a file is >>>> supported by QuickTime? I am getting rather pleasant / >>>> unpleasant surprises here - what is being displayed for pdf's >>>> and text files? >>>> ork in progress.... >>> For images and player objects you can check the result() after >>> setting the fileName of the object. If it isn't empty then there >>> was an error. >> is this a "new" feature? >> I remember that with earlier versions the result was always empty, >> even if you selected >> a text (TXT) file. > > Sorry, I need to clarify. If an error occurs while opening Rev > tries to open an image in an image object or any media in a player > object then result() will not be empty. When dealing with > QuickTime, both text and PDF (pdf on os x only) are acceptable > media types so no error is returned since there wasn't one. > > You can use the EnhancedQT external AND the result() check for more > control. The function sqtCanOpenFile() AND qtGetMovieFileType() > can be used in the EnhancedQT external. qtCanOpenFile() can be set > to disregard TEXT files so it will report false will you pass a > text file to it. qtGetMovieFileType() will report the type, > multiframe graphic, image, unsupported, etc. PDF and GIF would be > multiframe graphic types. You still need to check the result() > because QT thinks it can open some MPEG files when it really > can't. You can check out the external at mangomultimedia.com/developer/revolution/> Go figure :-) Sorry, i only meant images and thought that the result was empty in any case in earlier version when you tried to set the filename of an image to e.g. a text file. > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From lists at mangomultimedia.com Wed Aug 17 15:01:40 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 17 Aug 2005 12:01:40 -0700 Subject: Testing if an image is empty (blank)? In-Reply-To: <751E1F11-CDE0-40C3-95A3-81D3F3D7A006@major-k.de> References: <001601c59f53$6d7fa130$0201a8c0@john> <961D817A-1C0B-4ED8-A580-C4895C005A25@canelasoftware.com> <43000302.1040501@chipp.com> <82C8C057-468D-4D7B-B0EF-7726F3106E69@canelasoftware.com> <69435CD3-AD77-4573-9590-16FF7BD0B318@openpartnership.net> <430209E8.3050709@dreamscapesoftware.com> <109DFDCF-6A6F-4061-8726-A208C1DAED5C@openpartnership.net> <751E1F11-CDE0-40C3-95A3-81D3F3D7A006@major-k.de> Message-ID: <702F6FEF-856E-47E9-9276-D5AB313BAFE0@mangomultimedia.com> On Aug 17, 2005, at 11:56 AM, Klaus Major wrote: > > Sorry, i only meant images and thought that the result was empty in > any case in > earlier version when you tried to set the filename of an image to > e.g. a text file. I'm not sure about earlier version but in 2.5.1 if you set the filename of an image to a text file you get this in the result(): could not open image -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From revdan at danshafer.com Wed Aug 17 15:02:34 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 17 Aug 2005 12:02:34 -0700 Subject: Menu Problem! In-Reply-To: References: <890e3d2605081707366cb952c5@mail.gmail.com> Message-ID: <957F8646-6575-4E5E-A076-6BEAC66E53D4@danshafer.com> David.... First, are you trying to get the menu to execute the code associated with option A on openStack or are you just interested in making sure the button's label is set right? If the latter, rather than using menuPick just set the label of the button. That should work fine (untested). Second, have you tried sending the menuPick message from a different place, e.g., another button? I set up a little test to do that. If I didn't explicitly set the label of the menu button, the script for the menu choice I entered would execute but the label of the menu button remained unchanged. So I suspect the secret is that you have to set the label of the menu button and then, if you want it to execute the choice, send the menuPick message. On Aug 17, 2005, at 7:49 AM, David Burgun wrote: > Hi, > > I have a pop up menu that has two values, call them A and B. In the > preOpenStack handler I want to set the menu back to A so I tried > the following: > > send "menuPick A" to button "myButton" > > The Script on myButton is as so: > > on menuPick theItemSelected > if theItemSelected = "A" then > -- Do Something > > else > -- Do Something else > end if > end menuPick > > When I manually enter A or B on the Pop Up all works ok. However > when I run the preOpenStack handler, the Menu Stays a B even though > I send an "A" to it. I have put a breakpoint in the menu pick > handler and it receive the "A" ok. Do I need to set something else > to have the menu update to "A"????? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From AbilityForms at aol.com Wed Aug 17 15:10:24 2005 From: AbilityForms at aol.com (AbilityForms at aol.com) Date: Wed, 17 Aug 2005 15:10:24 EDT Subject: Newbie questions Message-ID: Hi Everyone I'm in the middle of converting several HyperCard stacks into DreamCard. Question 1: Since I often go from stack to stack gathering and distributing data I need to close and save each stack when I'm finished with it. HyperCard does this automatically as we know. How is this done in Revolution? Question 2: How do I delete a group of objects without losing the fields and buttons in the group? Joe Orlando Florida From b.xavier at internet.lu Wed Aug 17 15:18:41 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 17 Aug 2005 21:18:41 +0200 Subject: Blowing in the Wind In-Reply-To: Message-ID: <20050817190257.B76F6824F63@mail.runrev.com> actually, it's more like most european flags, flogged down the downpour ;( if you've been to Seattle, you know what i mean ;) ;) but this blowing stack really blows a lot of my expectations out of RunRev. It could do openGL if it really wanted too and in total transparency... just imagine the faces of the drulling developpers on other IDEs seeing this! cheers X > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Dan Shafer > Sent: Wednesday, August 17, 2005 20:44 > To: How to use Revolution > Subject: Re: Blowing in the Wind > > But I thought the wind was always blowing so strongly in > Scotland that flags don't ripple, they just stand straight out. > > :-D > > Dan > > On Aug 17, 2005, at 5:21 AM, david bovill wrote: > > > Lovely :) > > > > Any chance of a Scottish Flag? > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus at major-k.de Wed Aug 17 15:24:37 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 17 Aug 2005 21:24:37 +0200 Subject: Testing if an image is empty (blank)? In-Reply-To: <702F6FEF-856E-47E9-9276-D5AB313BAFE0@mangomultimedia.com> References: <001601c59f53$6d7fa130$0201a8c0@john> <961D817A-1C0B-4ED8-A580-C4895C005A25@canelasoftware.com> <43000302.1040501@chipp.com> <82C8C057-468D-4D7B-B0EF-7726F3106E69@canelasoftware.com> <69435CD3-AD77-4573-9590-16FF7BD0B318@openpartnership.net> <430209E8.3050709@dreamscapesoftware.com> <109DFDCF-6A6F-4061-8726-A208C1DAED5C@openpartnership.net> <751E1F11-CDE0-40C3-95A3-81D3F3D7A006@major-k.de> <702F6FEF-856E-47E9-9276-D5AB313BAFE0@mangomultimedia.com> Message-ID: <02AB6BE9-42B6-461F-B607-737ABDF8D174@major-k.de> Hi Trevor, > On Aug 17, 2005, at 11:56 AM, Klaus Major wrote: > >> Sorry, i only meant images and thought that the result was empty >> in any case in >> earlier version when you tried to set the filename of an image to >> e.g. a text file. > I'm not sure about earlier version but in 2.5.1 if you set the > filename of an image to a text file you get this in the result(): > > could not open image Yes, that's what i experienced an hour ago... Maybe i am referring to even earlier versions, my memory works terribly well :-) > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From kee at kagi.com Wed Aug 17 15:37:59 2005 From: kee at kagi.com (kee nethery) Date: Wed, 17 Aug 2005 12:37:59 -0700 Subject: Resetting a router In-Reply-To: References: Message-ID: <3F7613F0-FC89-4424-8577-183700B9FE87@kagi.com> My preference on things such as this is to use a power controller and to toggle power to the router instead of trying to log into it and telling it to reset. If it is hosed, logging in might not work but power cycling it always works IF it is wedged and not defective. I've used the PowerKey from sophisticated circuits and it is applescriptable and easy to use. There are tons of other power control devices out there, search for "network power switch" to get alternates. Kee Nethery On Aug 17, 2005, at 11:06 AM, Mark Smith wrote: > Hi all. > > I have, at my workplace, an OS X machine that collects various > bits of data from various places on the web at preset times (I have > rev apps that are started as cron jobs that do the work). From time > to time, the router drops the internet connection and generally > seems to get it's little knickers in a twist. Resetting the router > sorts it out, and I've created an ugly Rev/Applescript/QuicKeys > combo that will reset the router if I'm not physically present, > and, of course, it only seems to happen when I'm not there.... > > I was away for a month just recently, and it all went wrong after > about two weeks, so until I got back to reset things, the data was > not collected. I can't help feeling that a simpler, probably Rev > only solution would be more reliable, but I can't figure out how to > get Rev to login to the router and press the right HTML buttons to > do it. > > Has anyone here had similar experiences and found a solution? > > This is a Belkin adsl modem/router box, that has the usual HTML > based control interface. > > Thanks for any help, > > > Mark Smith > > > > > > ___________________________________________________________ Yahoo! > Messenger - NEW crystal clear PC to PC calling worldwide with > voicemail http://uk.messenger.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From Stgoldberg at aol.com Wed Aug 17 16:31:56 2005 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Wed, 17 Aug 2005 16:31:56 EDT Subject: Can a substack icon in a standalone be rendered invisible? Message-ID: <215.720c6f5.3034f8bc@aol.com> Once again I'd like to approach the great minds on the Revolution forum. Hopefully, someone can offer a suggestion for the following issue: I used Revolution in Mac OS X to create a standalone in which I'd like the user to be able to save data. Since standalone's do not normally save data, I included a substack and checked off the "Move substacks into individual stackfiles" checkbox in the File Standalone settings. This works fine, except that the standalones for Windows and for Mac OS 9 show the substack on the hard drive. (The standalone for OS X is no problem since it is built as a single icon) I'm concerned that the presence of two icons on Windows and OS 9 may confuse the user, since it may not be obvious which icon to click on, the mainstack icon or the substack icon. Is there a way in which the substack icon can be made invisible in both the Windows and OS 9 versions? I tried putting the substack in a separate folder by checking off the "Create folder for stackfiles" option in the Standalone Application Settings, to get the substack out of view. Also, I renamed the substack to something utterly boring that would not induce the reader to click on it. (I tried checking off the "Rename stackfiles generically" option but this caused an error message in trying to save as a standalone). It would be nice if the substack icon could just be invisible. Is this possible? Thanks. Steve Goldberg From kray at sonsothunder.com Wed Aug 17 16:41:14 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 17 Aug 2005 15:41:14 -0500 Subject: Newbie questions In-Reply-To: Message-ID: On 8/17/05 2:10 PM, "AbilityForms at aol.com" wrote: > Hi Everyone > > I'm in the middle of converting several HyperCard stacks into DreamCard. > > Question 1: > Since I often go from stack to stack gathering and distributing data I need > to close and save each stack when I'm finished with it. HyperCard does this > automatically as we know. How is this done in Revolution? You choose Save from the File menu before you go to the next stack. > Question 2: > How do I delete a group of objects without losing the fields and buttons in > the group? You 'ungroup' the group by selecting the group object and choosing "Ungroup Selected" from the Object menu (or click the emboldened "Group" button on the toolbar). Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From b.xavier at internet.lu Wed Aug 17 16:51:00 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 17 Aug 2005 22:51:00 +0200 Subject: Stop automatic actions in editing mode In-Reply-To: Message-ID: <20050817203514.66344824FD5@mail.runrev.com> > Before you open the stack, click on the "Messages" icon in > the Rev toolbar. That suspends all system messages until you > toggle it back on. Saves my life about three times a month. Dan's always got an ace up in his sleeve ;) Just a question Dan, why is O'reilly not a possible publisher for your great tutorials? What would be the animal portreyed in the cover of the XTalk in RunRev book? i would vote for a dolphin... The fun and social way to develop in wordly oceans for anyone aged 7-77 ;) Thanks to Hugh from www.FlexibleLearning.com who just bumped my intelligence to dolphin level in marketing ;) 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: Wednesday, August 17, 2005 20:47 > To: How to use Revolution > Subject: Re: Stop automatic actions in editing mode > > Before you open the stack, click on the "Messages" icon in > the Rev toolbar. That suspends all system messages until you > toggle it back on. Saves my life about three times a month. > > > On Aug 17, 2005, at 7:36 AM, Douglas Gilliland wrote: > > > Is it possible to stop an automatic action once you have > placed the on > > opencard script into the card. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com Get my book, "Revolution: Software > at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rjb at robelko.com Wed Aug 17 16:47:16 2005 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 17 Aug 2005 22:47:16 +0200 Subject: Stop automatic actions in editing mode In-Reply-To: <890e3d2605081707366cb952c5@mail.gmail.com> References: <890e3d2605081707366cb952c5@mail.gmail.com> Message-ID: >Is it possible to stop an automatic action once you have placed the on >opencard script into the card. >I have a stack that has a curtain (card 1) open automatically to the >title (card 2). I used the card script on card 1: > >on opencard >visual effect barn door open slow >go next >end opencard > >I want to edit the first card but the opencard script prevents me from >doing so. I have looked through the documentation and manual but see >nothing on how to do this. It is probably very simple - but even the >simplest things are hard when you don't know the answer :>) >Thanks, >Doug Gilliland >Sarasota, Fl type in the message box: edit the script of cd 1 if by editing you mean editing objects on the card and you need to do it repeatedly, add escaping to your handler on opencard if the controlKey is down then exit opencard visual effect barn door open slow go next end opencard Robert From graham.samuel at wanadoo.fr Wed Aug 17 16:59:50 2005 From: graham.samuel at wanadoo.fr (graham samuel) Date: Wed, 17 Aug 2005 22:59:50 +0200 Subject: Catching up... advice needed Message-ID: Hi folks I have been out of the loop since some time in May and I find it's impossible to catch up with the back numbers of the Digest of this list (I have **hundreds** of unread digests!). I'm thinking of starting a little project and wonder if anyone has any advice. Take these as newbie questions - I can't believe how fast the world of Runtime Revolution is moving! Apple has a very useful internet application called iCal which allows one to construct a calendar and display it - IMHO the clever bits are: 1) the calendar can be updated from different computers (well, if you're a dotMac member) and all the machines will be kept in sync. 2) other people interested in the calendar can get it in read-only form using a web browser. Great stuff, but what lets the thing down badly is its printing capability. Basically if you print say a month of appointments, the app may or may not show all of them on the printout; even if you take a screen shot and print that, there's no guarantee that all the events in the period will actually be shown on it... I understand that the app has been revised for Tiger (I haven't seen this yet) but that printing is still a headache. It appears that Apple is using an established standard for the files for this app. The terms 'webDAV' and '.ics' spring to mind, and the format is in the public domain somewhere. So using RunRev, one could write an improved iCal calendar printer, and it could be cross-platform. My question is, does anyone know if this has already been done? While I'm asking about Apple technologies, is it possible to write Dashboard Widgets for OSX Tiger using RunRev? Somebody must know. TIA Graham ---------------------------------------- Graham Samuel / The Living Fossil Co. / UK and France From see3d at writeme.com Wed Aug 17 17:56:59 2005 From: see3d at writeme.com (Dennis Brown) Date: Wed, 17 Aug 2005 17:56:59 -0400 Subject: Alias' on OS X In-Reply-To: References: Message-ID: <0EAE1BA1-1D00-4AC3-9752-7CA05697EB1C@writeme.com> Ken,Jeanne,Jacqueline, Yes I am on a Mac. Yes Ken's script works on my alias', because the answer file resolves the alias. Yes aliasReference() returns the right file. No, my script does not work: on mouseUp --this script works for the file alias put aliasReference(gDBTVDataFolder & "20040114" & ".csv") into field "File path" put URL ("file:" & field "File path") into field "file text" -- show for debug end mouseUp on mouseUp --this script works for the file, but the alias returns empty data put gDBTVDataFolder & "20040114" & ".csv" into field "File path" put URL ("file:" & field "File path") into field "file text" -- show for debug end mouseUp So instead of resolving the alias, it is using the alias as the file. I want to have a mix of alias' and files in a list without caring which is which. How would I do that since the filenames are the same? Dennis On Aug 16, 2005, at 11:13 PM, Ken Ray wrote: > On 8/16/05 9:36 PM, "Dennis Brown" wrote: > > >> Hi, >> >> I have a very large list of large files (thousands) that I use as a >> database in my program. I also use a subset of them for faster >> testing. At first I was duplicating the subset in another folder, >> but I thought it would be nice to just have an alias of the files I >> wanted to use in that folder. The problem is that my program is >> happy with the file names except it sees them as empty. Shouldn't >> they provide the get File: URL command with the data from the >> original file? >> > > Yes, and in fact that seems to still be the case. I created a text > file and > an alias to the text file. I then ran this simple script: > > on mouseUp > answer file "Pick the alias" > if it <> "" then > put url("file:" & it) into fld 1 > end if > end mouseUp > > and it successfully put the contents of the original file into > field 1. > > Are you finding something else? > > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From see3d at writeme.com Wed Aug 17 18:09:02 2005 From: see3d at writeme.com (Dennis Brown) Date: Wed, 17 Aug 2005 18:09:02 -0400 Subject: Alias' on OS X In-Reply-To: <0EAE1BA1-1D00-4AC3-9752-7CA05697EB1C@writeme.com> References: <0EAE1BA1-1D00-4AC3-9752-7CA05697EB1C@writeme.com> Message-ID: <993EE068-8F22-46C3-91EE-3E08D0C2CA87@writeme.com> Thanks for the prompts, I answered my own question: Try the alias first, and if the result is not empty, go for the file directly instead My script works now. Dennis On Aug 17, 2005, at 5:56 PM, Dennis Brown wrote: > Ken,Jeanne,Jacqueline, > > Yes I am on a Mac. > Yes Ken's script works on my alias', because the answer file > resolves the alias. > Yes aliasReference() returns the right file. > > No, my script does not work: > > on mouseUp --this script works for the file alias > put aliasReference(gDBTVDataFolder & "20040114" & ".csv") into > field "File path" > put URL ("file:" & field "File path") into field "file text" -- > show for debug > end mouseUp > > on mouseUp --this script works for the file, but the alias returns > empty data > put gDBTVDataFolder & "20040114" & ".csv" into field "File path" > put URL ("file:" & field "File path") into field "file text" -- > show for debug > end mouseUp > > So instead of resolving the alias, it is using the alias as the file. > > I want to have a mix of alias' and files in a list without caring > which is which. How would I do that since the filenames are the same? > > Dennis > > On Aug 16, 2005, at 11:13 PM, Ken Ray wrote: > > >> On 8/16/05 9:36 PM, "Dennis Brown" wrote: >> >> >> >>> Hi, >>> >>> I have a very large list of large files (thousands) that I use as a >>> database in my program. I also use a subset of them for faster >>> testing. At first I was duplicating the subset in another folder, >>> but I thought it would be nice to just have an alias of the files I >>> wanted to use in that folder. The problem is that my program is >>> happy with the file names except it sees them as empty. Shouldn't >>> they provide the get File: URL command with the data from the >>> original file? >>> >>> >> >> Yes, and in fact that seems to still be the case. I created a text >> file and >> an alias to the text file. I then ran this simple script: >> >> on mouseUp >> answer file "Pick the alias" >> if it <> "" then >> put url("file:" & it) into fld 1 >> end if >> end mouseUp >> >> and it successfully put the contents of the original file into >> field 1. >> >> Are you finding something else? >> >> >> Ken Ray >> Sons of Thunder Software >> Web site: http://www.sonsothunder.com/ >> Email: kray at sonsothunder.com >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From HyperChris at aol.com Wed Aug 17 18:30:13 2005 From: HyperChris at aol.com (HyperChris at aol.com) Date: Wed, 17 Aug 2005 18:30:13 EDT Subject: Resetting a router Message-ID: <1f2.ff16052.30351475@aol.com> You might also play with opening up a Telnet or SSH connection to the router as most routers have their own operating system with simple commands to do a reboot. I don't think there is a canned Telnet or SSH stack out there in Rev but I would look into writing a script for those apps and then just use Rev to launch that script using shell() On Aug 17, 2005, at 11:06 AM, Mark Smith wrote: > ... > I was away for a month just recently, and it all went wrong after? > about two weeks, so until I got back to reset things, the data was? > not collected. I can't help feeling that a simpler, probably Rev? > only solution would be more reliable, but I can't figure out how to? > get Rev to login to the router and press the right HTML buttons to? > do it. > > This is a Belkin adsl modem/router box, that has the usual HTML? > based control interface. From gandalf at doctorTimothyMiller.com Wed Aug 17 19:06:00 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 17 Aug 2005 16:06:00 -0700 Subject: Newbie questions In-Reply-To: References: Message-ID: >Hi Everyone > >I'm in the middle of converting several HyperCard stacks into DreamCard. > >Question 1: >Since I often go from stack to stack gathering and distributing data I need >to close and save each stack when I'm finished with it. HyperCard does this >automatically as we know. How is this done in Revolution? Hi Joe, Aside from Ken's worthy comment, another way to go, depending on how you use your stacks -- Sometimes it makes a sense to add to a script the line/s -- save stack "whatever" --with or without-- close stack "whatever" If it's a suitable script, you probably won't lose data simply because you forgot to save, or failed to save before a spontaneous quit due to an application migraine. A script like this saves when you need to, like only when you make a data change in a stack, without saving too often or too seldom, like with an auto-save stack. HTH Tim From revdan at danshafer.com Wed Aug 17 19:27:22 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 17 Aug 2005 16:27:22 -0700 Subject: Standalone Building Picking Up Tons of Cruft Message-ID: <2C8C2C2A-BD67-47BC-B759-CE0C50319C8F@danshafer.com> I've run into a bizarre and troubling situation with the Standalone Builder. I wonder if anyone else has seen this. As far as I can tell, there's no Bugzilla report on it. Open Rev new. Create a new mainstack. Open the Application Browser You should see only your stack here (unless you have Rev UI components showing) Set Standalone Application Settings Close and re-open or refresh App Browser Your stack is still the only one here Save the stack Close and re-open or refresh App Browser Your stack is still the only one here Save as a Standalone Application Close and re-open or refresh App Browser WHOA!!! I don't know what you see, but I have a list of 17 stacks and dozens of substacks of thoe stacks. All of these are in the Revolution directory but not all of the stacks in that directory show up. I have determined that this only happens if the "Search for required inclusions" radio button is on. If I "Select inclusions" semi- manually, the problem does not arise. I'm running OS X 10.4.2 and Rev 2.6 build 108. If someone else can confirm this, I'll BZ it. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revdan at danshafer.com Wed Aug 17 19:37:02 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 17 Aug 2005 16:37:02 -0700 Subject: Standalone Building Picking Up Tons of Cruft In-Reply-To: <2C8C2C2A-BD67-47BC-B759-CE0C50319C8F@danshafer.com> References: <2C8C2C2A-BD67-47BC-B759-CE0C50319C8F@danshafer.com> Message-ID: Further research shows this happens even in a newly installed, pristine Rev app where the Standalone BUilder picks up two Rev- provided stacks as being "in memory" according to the App Browser after a build as described with the "search for" option on. Incidentally, I'm not sure this is a major problem. Who knows? It came to my attention because of a bizarre turn of events. In trying to address the question of file type settings in the past two days, I took an old HyperCard stack and put it into the Rev 2.6 folder just for ease of reference. Today when I was saving a standalone at one point, Rev reported a compiler error in that HC stack, which is what led me to try to find out why that stack was even in memory. If I clicked on that stack and told Rev to close it and remove it from memory, Rev crashed consistently. So I think there is at least *potential* here for mischief. On Aug 17, 2005, at 4:27 PM, Dan Shafer wrote: > I've run into a bizarre and troubling situation with the Standalone > Builder. I wonder if anyone else has seen this. As far as I can > tell, there's no Bugzilla report on it. > > Open Rev new. > Create a new mainstack. > Open the Application Browser > You should see only your stack here (unless you have Rev UI > components showing) > Set Standalone Application Settings > Close and re-open or refresh App Browser > Your stack is still the only one here > Save the stack > Close and re-open or refresh App Browser > Your stack is still the only one here > Save as a Standalone Application > Close and re-open or refresh App Browser > WHOA!!! > > I don't know what you see, but I have a list of 17 stacks and > dozens of substacks of thoe stacks. All of these are in the > Revolution directory but not all of the stacks in that directory > show up. > > I have determined that this only happens if the "Search for > required inclusions" radio button is on. If I "Select inclusions" > semi-manually, the problem does not arise. > > I'm running OS X 10.4.2 and Rev 2.6 build 108. If someone else can > confirm this, I'll BZ it. > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bvg at mac.com Wed Aug 17 19:37:52 2005 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 18 Aug 2005 01:37:52 +0200 Subject: ChatRev (ca) one year old Message-ID: <555a51b4798bee8156a514bbd8f8e0ef@mac.com> I did some digging in the archives last July, and I found some interesting Mails regarding ChatRev. Unfortunately I missed the perfect date to post this info by 5 days, due to my laziness (and other circumstances). Anyway: Yay to ChatRev's birtday, 13th August, and to another prosperous year! Also a big YAY to the chatters, you make this possible! In no particular order: Mark, Wouter, Malte, Hugh, Hazy, Xavier, Dan, Ro, Judy, Marielle, Jeff... (sorry if i have forgotten you) Most simultaneous users: 25 (during appearance of the Kevin) Longest Downtime: 3 Days during my move at the end of July Most snidey remarks: during the first Pulp chat with the Kevin Many people have learned their first steps with socket communication thanks to ChatRev, and maybe sometimes one of the Chatrev Coding Contest can become a big event for the community, unlike this year. (more on the coding contest in another mail) Here come the Dates: Sun Jul 18 2004 First chatting proposal by BvG on the list and on revolutionboard: http://www.revolutionboard.de/cgi-bin/yabb/YaBB.pl?board=news; action=display;num=1090189969 http://lists.runrev.com/pipermail/use-revolution/2004-July/039782.html wed jul 28 first runrev communitychat using AIM http://lists.runrev.com/pipermail/use-revolution/2004-July/040659.html fri august 13 chatrev 1.0 announced http://lists.runrev.com/pipermail/use-revolution/2004-August/042013.html mon aug 23 chatrev 1.1 http://lists.runrev.com/pipermail/use-revolution/2004-August/042560.html tue aug 31 chatrev 1.2 http://lists.runrev.com/pipermail/use-revolution/2004-August/043038.html sat sep 4 first alternative client by Mark Schonewille Chatrev 1.2M13 http://lists.runrev.com/pipermail/use-revolution/2004-September/ 043444.html tue nov 4 chatrev 1.2.5 http://lists.runrev.com/pipermail/use-revolution/2004-November/ 046161.html mon dec 20 chatrev 1.3 http://lists.runrev.com/pipermail/use-revolution/2004-December/ 048349.html sat may 7 2005 ca around this time ChatRev 1.3b2 Chat with Kevin Miller http://mail.runrev.com/pipermail/use-revolution/2005-May/056798.html mon June 13 ChatRev Coding Contest starts http://mail.runrev.com/pipermail/use-revolution/2005-June/060113.html Greetings Bjoernke -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From charles.hartman at conncoll.edu Wed Aug 17 20:04:01 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Wed, 17 Aug 2005 20:04:01 -0400 Subject: help on design Message-ID: <5ACAACFF-2CE8-4E55-8DA0-3EF99A0E4787@conncoll.edu> The tutorial app that I hope I'm finishing up includes a "reference" substack that the user is likely to keep onscreen beside the main stack. It would be useful to have "forward" and (especially) "back" buttons for navigation within that substack. Here's how I thought of doing it: In the stack script, I'd put an openStack handler that initialized a couple of globals: put empty into gHistoryList put 0 into gHistoryPointer I'd put an openCard handler in each card, I guess: put the name of this card after gHistoryList put return after gHistoryList add 1 to gHistoryPointer and I'd copy a Back button onto the card with this mouseUp: if gHistoryPointer > 0 then subtract 1 from gHistoryPointer put line gHistoryPointer of gHistoryList into tDest go to tDest end if Does this seem like the best approach? Or is there a better method -- or something built into Rev -- that I'm missing? Any suggestions on the trickier problem of the "Forward" button? The simple system I've outlined makes it seem easy (if gHistoryPointer is < the number of lines in gHistoryList then go to the card named on the next line in gHistoryList). But not at all clear what should happen when the user first clicks the Back button, and then navigates to some other card. I don't see an easy way to handle multiple-path Forwards. Somewhere, I have to delete lines from gHistoryList that are "below" the gHistoryPointer . . . Confused & glad to get any advice, Charles Hartman From douggilliland at gmail.com Wed Aug 17 20:20:38 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Wed, 17 Aug 2005 20:20:38 -0400 Subject: Stop automatic actions in editing mode In-Reply-To: <64878EF567131D4596246171F75FD4A996818B@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A996818B@m-epo-1.epo.cdc.gov> Message-ID: <890e3d2605081717207ee7467c@mail.gmail.com> Thanks Jonathan. I never would have figured that one out on my own. Doug Gilliland Sarasota, FL On 8/17/05, Lynch, Jonathan wrote: > Use the application browser - found in the tools menu. > > Right click on the icon for the card, which will be found under the icon > for the stack in the application browser - this will give you an option > to edit the card script. > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Douglas > Gilliland > Sent: Wednesday, August 17, 2005 10:36 AM > To: use-revolution at lists.runrev.com > Subject: Stop automatic actions in editing mode > > Is it possible to stop an automatic action once you have placed the on > opencard script into the card. > I have a stack that has a curtain (card 1) open automatically to the > title (card 2). I used the card script on card 1: > > on opencard > visual effect barn door open slow > go next > end opencard > > I want to edit the first card but the opencard script prevents me from > doing so. I have looked through the documentation and manual but see > nothing on how to do this. It is probably very simple - but even the > simplest things are hard when you don't know the answer :>) > Thanks, > Doug Gilliland > Sarasota, Fl > PS - If anyone is a high school chemistry/physics teacher and wants > some stacks I am using in my 9th grade Honors Physical Science classes > (measuring, SI system, sig figs and other science topics) I'd be happy > to share them. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Wed Aug 17 20:26:33 2005 From: chipp at chipp.com (Chipp Walters) Date: Wed, 17 Aug 2005 19:26:33 -0500 Subject: Can a substack icon in a standalone be rendered invisible? In-Reply-To: <215.720c6f5.3034f8bc@aol.com> References: <215.720c6f5.3034f8bc@aol.com> Message-ID: <4303D5B9.2090105@chipp.com> Hi Steve, If I were you, I'd just not include the subStack in the Standalone build process, then just open it when you need if from your standalone. I never use the 'put substacks in separate folders' feature of standalone builder. My substacks are always either libraries, or special biz logic windows, never data storage stacks. IMO, it's important to keep content and biz logic separate, which is about 180 degrees off of what standard card based stack databases do. When you mix them both, you risk a whole new level of possible bugs which can be introduced. You can always get the filepath to the standalone by using the address function. best, Chipp Stgoldberg at aol.com wrote: > Once again I'd like to approach the great minds on the Revolution forum. > Hopefully, someone can offer a suggestion for the following issue: > Mime-Version: 1.0 > Content-Transfer-Encoding: 7bit > Content-Type: text/plain; charset=US-ASCII > > I used Revolution in Mac OS X to create a standalone in which I'd like > the user to be able to save data. Since standalone's do not normally save > data, I included a substack and checked off the "Move substacks into individual > stackfiles" checkbox in the File Standalone settings. This works fine, except > that the standalones for Windows and for Mac OS 9 show the substack on the > hard drive. (The standalone for OS X is no problem since it is built as a > single icon) I'm concerned that the presence of two icons on Windows and OS 9 may > confuse the user, since it may not be obvious which icon to click on, the > mainstack icon or the substack icon. > > Is there a way in which the substack icon can be made invisible in both the > Windows and OS 9 versions? I tried putting the substack in a separate folder > by checking off the "Create folder for stackfiles" option in the Standalone > Application Settings, to get the substack out of view. Also, I renamed the > substack to something utterly boring that would not induce the reader to click on > it. (I tried checking off the "Rename stackfiles generically" option but > this caused an error message in trying to save as a standalone). It would be > nice if the substack icon could just be invisible. Is this possible? > Thanks. > Steve Goldberg > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From douggilliland at gmail.com Wed Aug 17 20:31:29 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Wed, 17 Aug 2005 20:31:29 -0400 Subject: Stop automatic actions in editing mode In-Reply-To: References: <890e3d2605081707366cb952c5@mail.gmail.com> Message-ID: <890e3d2605081717316bc1a7fd@mail.gmail.com> Thanks Dan. Together with Jonathan's method (Option-click on the card icon in the application browser - allows you to edit the script) I now have two ways to stop and edit an opencard script. I appreciate the help. Doug Gilliland Sarasota, FL On 8/17/05, Robert Brenstein wrote: > >Is it possible to stop an automatic action once you have placed the on > >opencard script into the card. > >I have a stack that has a curtain (card 1) open automatically to the > >title (card 2). I used the card script on card 1: > > > >on opencard > >visual effect barn door open slow > >go next > >end opencard > > > >I want to edit the first card but the opencard script prevents me from > >doing so. I have looked through the documentation and manual but see > >nothing on how to do this. It is probably very simple - but even the > >simplest things are hard when you don't know the answer :>) > >Thanks, > >Doug Gilliland > >Sarasota, Fl > > type in the message box: > > edit the script of cd 1 > > if by editing you mean editing objects on the card and you need to do > it repeatedly, add escaping to your handler > > on opencard > if the controlKey is down then exit opencard > visual effect barn door open slow > go next > end opencard > > Robert > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dweeble at wi.rr.com Wed Aug 17 20:40:36 2005 From: dweeble at wi.rr.com (Mike) Date: Wed, 17 Aug 2005 19:40:36 -0500 Subject: Keydown combination Message-ID: <04d701c5a38d$738e9ed0$0500a8c0@olie> Hi all I have keyboards with the " FN " key and was looking to use a key combination of keydown "FN + F7" on opening a stack or card. Anyone know how I can accomplish this key combination, is it possible ? Thanks Michaeld From mark at maseurope.net Wed Aug 17 20:41:07 2005 From: mark at maseurope.net (Mark Smith) Date: Thu, 18 Aug 2005 01:41:07 +0100 Subject: Resetting a router In-Reply-To: <3F7613F0-FC89-4424-8577-183700B9FE87@kagi.com> References: <3F7613F0-FC89-4424-8577-183700B9FE87@kagi.com> Message-ID: <8c3d4388861251d4309ace16515cc190@maseurope.net> This is a very good point. I'll check out the PowerKey thing. Thanks, Mark On 17 Aug 2005, at 20:37, kee nethery wrote: > My preference on things such as this is to use a power controller and > to toggle power to the router instead of trying to log into it and > telling it to reset. If it is hosed, logging in might not work but > power cycling it always works IF it is wedged and not defective. > > I've used the PowerKey from sophisticated circuits and it is > applescriptable and easy to use. There are tons of other power control > devices out there, search for "network power switch" to get > alternates. > > Kee Nethery > > On Aug 17, 2005, at 11:06 AM, Mark Smith wrote: > >> Hi all. >> >> I have, at my workplace, an OS X machine that collects various bits >> of data from various places on the web at preset times (I have rev >> apps that are started as cron jobs that do the work). From time to >> time, the router drops the internet connection and generally seems to >> get it's little knickers in a twist. Resetting the router sorts it >> out, and I've created an ugly Rev/Applescript/QuicKeys combo that >> will reset the router if I'm not physically present, and, of course, >> it only seems to happen when I'm not there.... >> >> I was away for a month just recently, and it all went wrong after >> about two weeks, so until I got back to reset things, the data was >> not collected. I can't help feeling that a simpler, probably Rev only >> solution would be more reliable, but I can't figure out how to get >> Rev to login to the router and press the right HTML buttons to do it. >> >> Has anyone here had similar experiences and found a solution? >> >> This is a Belkin adsl modem/router box, that has the usual HTML based >> control interface. >> >> Thanks for any help, >> >> >> Mark Smith >> >> >> >> >> >> ___________________________________________________________ Yahoo! >> Messenger - NEW crystal clear PC to PC calling worldwide with >> voicemail http://uk.messenger.yahoo.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com From douggilliland at gmail.com Wed Aug 17 22:44:22 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Wed, 17 Aug 2005 22:44:22 -0400 Subject: Stop automatic actions in editing mode In-Reply-To: <20050817144108.D1A6A824F77@mail.runrev.com> References: <890e3d2605081707366cb952c5@mail.gmail.com> <20050817144108.D1A6A824F77@mail.runrev.com> Message-ID: <890e3d260508171944483fb779@mail.gmail.com> Thanks Xav. Between your scripts (I especially like the 2nd one), Dan's Message Click and Jonathan's Option-click I now have 3 ways to stop an autoscript. It's amazing how much one can learn from this mailing list. Doug Gilliland On 8/17/05, MisterX wrote: > Douglas > > There's more than one way than just with the application browser. > > Remember the msg box is your friend ;) > Note, i didn't test #1. #3 may need tweaking. > and #2 is perenial, easy and works anywhere... > > from the message (multiline): > > Lock messages > go to cd 1 > > in your script (ma favorite) > > on opencard > if the shiftkey is down then > pass opencard > or > exit opencard > end if > [yourscript] > > or also in msg > > set the clipboarddata to script of cd 1 > set the script of cd 1 to "" > go cd 1 > set the script of cd 1 to the clipbarddata > > or ? > > im sure now you can think of a few more ways ;) > > cheers > Xav > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > > Douglas Gilliland > > Sent: Wednesday, August 17, 2005 16:36 > > To: use-revolution at lists.runrev.com > > Subject: Stop automatic actions in editing mode > > > > Is it possible to stop an automatic action once you have > > placed the on opencard script into the card. > > I have a stack that has a curtain (card 1) open automatically > > to the title (card 2). I used the card script on card 1: > > > > on opencard > > visual effect barn door open slow > > go next > > end opencard > > > > I want to edit the first card but the opencard script > > prevents me from doing so. I have looked through the > > documentation and manual but see nothing on how to do this. > > It is probably very simple - but even the simplest things are > > hard when you don't know the answer :>) Thanks, Doug > > Gilliland Sarasota, Fl PS - If anyone is a high school > > chemistry/physics teacher and wants some stacks I am using in > > my 9th grade Honors Physical Science classes (measuring, SI > > system, sig figs and other science topics) I'd be happy to share them. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage > > your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Wed Aug 17 23:05:16 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Aug 2005 22:05:16 -0500 Subject: help on design In-Reply-To: <5ACAACFF-2CE8-4E55-8DA0-3EF99A0E4787@conncoll.edu> References: <5ACAACFF-2CE8-4E55-8DA0-3EF99A0E4787@conncoll.edu> Message-ID: <4303FAEC.2030501@hyperactivesw.com> Charles Hartman wrote: > The tutorial app that I hope I'm finishing up includes a "reference" > substack that the user is likely to keep onscreen beside the main > stack. It would be useful to have "forward" and (especially) "back" > buttons for navigation within that substack. Here's how I thought of > doing it: > > In the stack script, I'd put an openStack handler that initialized a > couple of globals: > put empty into gHistoryList > put 0 into gHistoryPointer > I'd put an openCard handler in each card, I guess: > put the name of this card after gHistoryList > put return after gHistoryList > add 1 to gHistoryPointer > and I'd copy a Back button onto the card with this mouseUp: > if gHistoryPointer > 0 then > subtract 1 from gHistoryPointer > put line gHistoryPointer of gHistoryList into tDest > go to tDest > end if > > Does this seem like the best approach? Or is there a better method -- > or something built into Rev -- that I'm missing? Yup: go back go forth -- or the synonym "go forward" If you want to exclude particular cards from the visited list, and you know the user will be going to one of those cards, set the lockrecent property to true ahead of time. When lockrecent is true, cards are not added to the history trail. See the "go" entry in the dictionary for lots of other options too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarahr at genesearch.com.au Wed Aug 17 23:12:34 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 18 Aug 2005 13:12:34 +1000 Subject: Keydown combination In-Reply-To: <04d701c5a38d$738e9ed0$0500a8c0@olie> References: <04d701c5a38d$738e9ed0$0500a8c0@olie> Message-ID: <66E6E22C-EF82-4806-BEB3-4A6E1D1CA263@genesearch.com.au> > I have keyboards with the " FN " key and was looking to use a key > combination of keydown "FN + F7" on opening a stack or card. > Anyone know how I can accomplish this key combination, is it > possible ? > Thanks I'm not quite sure what you want to achieve, but if you want to detect the F7 key, you need to use the functionKey message which will get sent whenever you press any function key. It sounds like your keyboard requires a modifier key to be held down to use the function keys, but that doesn't matter to Rev. e.g. on functionKey pKey if pKey = 7 then -- do whatever you wanted to do when F7 was pressed else pass functionKey end if end functionKey HTH, Sarah From jacque at hyperactivesw.com Wed Aug 17 23:16:17 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Aug 2005 22:16:17 -0500 Subject: Can a substack icon in a standalone be rendered invisible? In-Reply-To: <215.720c6f5.3034f8bc@aol.com> References: <215.720c6f5.3034f8bc@aol.com> Message-ID: <4303FD81.9020805@hyperactivesw.com> Stgoldberg at aol.com wrote: > Once again I'd like to approach the great minds on the Revolution forum. > Hopefully, someone can offer a suggestion for the following issue: > > I used Revolution in Mac OS X to create a standalone in which I'd like > the user to be able to save data. Since standalone's do not normally save > data, I included a substack and checked off the "Move substacks into individual > stackfiles" checkbox in the File Standalone settings. This works fine, except > that the standalones for Windows and for Mac OS 9 show the substack on the > hard drive. (The standalone for OS X is no problem since it is built as a > single icon) I'm concerned that the presence of two icons on Windows and OS 9 may > confuse the user, since it may not be obvious which icon to click on, the > mainstack icon or the substack icon. > > Is there a way in which the substack icon can be made invisible in both the > Windows and OS 9 versions? I tried putting the substack in a separate folder > by checking off the "Create folder for stackfiles" option in the Standalone > Application Settings, to get the substack out of view. Also, I renamed the > substack to something utterly boring that would not induce the reader to click on > it. (I tried checking off the "Rename stackfiles generically" option but > this caused an error message in trying to save as a standalone). It would be > nice if the substack icon could just be invisible. Is this possible? Not automatically, I don't think, but after the build it is pretty easy to just change the visibility manually. In Windows you can do it in the stack's Properties setttings. On OS 9 you'll need something like ResEdit or another utility to do it. You'd have to use an installer, or else stress that the user should copy the entire folder over to the hard drive. Otherwise the invisible files wouldn't get copied. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From wdesigns at austin.rr.com Wed Aug 17 23:30:19 2005 From: wdesigns at austin.rr.com (Douglas Westbrook) Date: Wed, 17 Aug 2005 22:30:19 -0500 Subject: Keydown combination In-Reply-To: <04d701c5a38d$738e9ed0$0500a8c0@olie> References: <04d701c5a38d$738e9ed0$0500a8c0@olie> Message-ID: Create a button with script on mouseup put the keysdown end mouseup put the result from the message box in a script similiar to If 65476, (whatever # FN is) = the keysdown then go to stack "whatever" On Aug 17, 2005, at 7:40 PM, Mike wrote: > Hi all > I have keyboards with the " FN " key and was looking to use a key > combination of keydown "FN + F7" on opening a stack or card. > Anyone know how I can accomplish this key combination, is it > possible ? > Thanks > Michaeld > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From JimCarwardine at OwnYourFuture-net.com Thu Aug 18 06:24:32 2005 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Thu, 18 Aug 2005 07:24:32 -0300 Subject: Drag & Drop from one substack to another In-Reply-To: Message-ID: I'm using normal text fields in scrolling groups... Jim on 8/16/05 5:32 PM, Ken Ray wrote: > On 8/16/05 2:22 PM, "Jim Carwardine" > wrote: > >> Hi Folks... Maybe this looked too much like another thread on D&D. I really >> need to know if anyone can point me to the right info on dragging and >> dropping text from a field in one substack to a field in another substack of >> the same file. I just can't seem to do it... Jim > > Is this between list fields, or between "normal" text fields? > > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Lower Water Street, Suite 1700, 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 Stgoldberg at aol.com Thu Aug 18 07:45:18 2005 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Thu, 18 Aug 2005 07:45:18 EDT Subject: =?iso-8859-1?q?Re=3A_Can_a_substack_icon_in_a_standalone_be_rend?= =?iso-8859-1?q?ered_=A0_=A0_invisible=3F?= Message-ID: <196.455614bd.3035cece@aol.com> Hi Chipp, Thanks for the suggestion. However, where can I obtain documentation about how to set up "libraries or special biz logic windows" in order to save data in that way, instead of including a substack in the standalone? Thanks. Steve Goldberg In a message dated 8/17/05 11:06:49 PM, use-revolution-request at lists.runrev.com writes: > From: Chipp Walters > Subject: Re: Can a substack icon in a standalone be rendered > ? ? invisible? > To: How to use Revolution > Message-ID: <4303D5B9.2090105 at chipp.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi Steve, > > If I were you, I'd just not include the subStack in the Standalone build > process, then just open it when you need if from your standalone. I > never use the 'put substacks in separate folders' feature of standalone > builder. My substacks are always either libraries, or special biz logic > windows, never data storage stacks. IMO, it's important to keep content > and biz logic separate, which is about 180 degrees off of what standard > card based stack databases do. When you mix them both, you risk a whole > new level of possible bugs which can be introduced. > > You can always get the filepath to the standalone by using the address > function. > > best, > Chipp > > Stgoldberg at aol.com wrote: > > Once again I'd like to approach the great minds on the Revolution forum.?? > > Hopefully, someone can offer a suggestion for the following issue: > > Mime-Version: 1.0 > > Content-Transfer-Encoding: 7bit > > Content-Type: text/plain; charset=US-ASCII > > > > I used?? Revolution in Mac OS X to create?? a standalone in which I'd like > > the user to be able to save data.?? Since standalone's do not normally > save > > data, I included a substack and checked off the "Move substacks into > individual > > stackfiles" checkbox in the File Standalone settings.?? This works fine, > except > > that the standalones for Windows and for Mac OS 9 show the substack on the > > hard drive.?? (The standalone for OS X is no problem since it is built as > a > > single icon)?? I'm concerned that the presence of two icons on Windows and > OS 9 may > > confuse the user, since it may not be obvious which icon to click on, the > > mainstack icon or the substack icon. > > > > Is there a way in which the substack icon can be made invisible in both > the > > Windows and OS 9 versions??? I tried putting the substack in a separate > folder > > by checking off the "Create folder for stackfiles" option in the > Standalone > > Application Settings, to get the substack out of view.?? Also, I renamed > the > > substack to something utterly boring that would not induce the reader to > click on > > it.?? (I tried checking off the "Rename stackfiles generically" option but > > this caused an error message in trying to save as a standalone).?? It > would be > > nice if the substack icon could just be invisible.?? Is this possible??? > > Thanks. > > Steve Goldberg > From charles.hartman at conncoll.edu Thu Aug 18 08:56:37 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 18 Aug 2005 08:56:37 -0400 Subject: help on design In-Reply-To: <4303FAEC.2030501@hyperactivesw.com> References: <5ACAACFF-2CE8-4E55-8DA0-3EF99A0E4787@conncoll.edu> <4303FAEC.2030501@hyperactivesw.com> Message-ID: <0A826AAE-A983-481A-A8EF-F7D3F20665A1@conncoll.edu> Thanks. Unfortunately that doesn't behave quite the way I need -- it goes back through cards no matter what stack they're in. I need the buttons to navigate just within the substack. So I'm looking at ways to parse the recentCards property. (Messy, but easier than building my own specialized history list.) Thanks for the tip! Charles On Aug 17, 2005, at 11:05 PM, J. Landman Gay wrote: >> Does this seem like the best approach? Or is there a better method >> -- or something built into Rev -- that I'm missing? >> > > Yup: > > go back > go forth -- or the synonym "go forward" > > > If you want to exclude particular cards from the visited list, and > you know the user will be going to one of those cards, set the > lockrecent property to true ahead of time. When lockrecent is true, > cards are not added to the history trail. > > See the "go" entry in the dictionary for lots of other options too. > From jimlyons at earthlink.net Thu Aug 18 09:22:41 2005 From: jimlyons at earthlink.net (Jim Lyons) Date: Thu, 18 Aug 2005 09:22:41 -0400 Subject: Stop automatic actions in editing mode In-Reply-To: <20050817204307.DA44C825020@mail.runrev.com> References: <20050817204307.DA44C825020@mail.runrev.com> Message-ID: <85eecfded3dc4f26f0cc75aa5d02fc72@earthlink.net> Dan offered the tip: > Before you open the stack, click on the "Messages" icon in the Rev > toolbar. That suspends all system messages until you toggle it back > on. Saves my life about three times a month. Then later, when nothing is working anymore, not even mouse clicks, and you're tearing out hair, and yelling to the neighborhood, "THIS WAS WORKING A MINUTE AGO!!", just reach up and flip it back on again. This happens to me about twice a month. Jim Lyons From europe at ehug.info Thu Aug 18 09:33:30 2005 From: europe at ehug.info (Mark Schonewille) Date: Thu, 18 Aug 2005 15:33:30 +0200 Subject: IBC2005 Amsterdam Message-ID: <43048E2A.8080102@ehug.info> Hello, Are any multimediators going to IBC in Amsterdam? We might have a little meeting under eHUG's flag. If you register for the IBC2005 exhibition no later than 21st August, you can get your badge for free (exhibition only, not the conference). Look at http://www/ibc.org for more information. Additionally, I'd like to ask everyone who might be interested in a Revolution/xTalk conference in the Netherlands or Germany to contact me ASAP. Best, Mark P.S. I am not affiliated with IBC. -- eHUG coordinator mailto:europe at ehug.info http://www.ehug.info http://home.wanadoo.nl/mark.sch http://www.economy-x-talk.com Please inform me about vacancies in the field of general economics at your institute. I am also looking for new freelance programming projects. From charles.hartman at conncoll.edu Thu Aug 18 09:39:22 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 18 Aug 2005 09:39:22 -0400 Subject: help on design In-Reply-To: <0A826AAE-A983-481A-A8EF-F7D3F20665A1@conncoll.edu> References: <5ACAACFF-2CE8-4E55-8DA0-3EF99A0E4787@conncoll.edu> <4303FAEC.2030501@hyperactivesw.com> <0A826AAE-A983-481A-A8EF-F7D3F20665A1@conncoll.edu> Message-ID: <34285734-F509-4B68-9761-0231C2107BAF@conncoll.edu> Hmm. The recentCards property mixes (long names of) cards from all stacks -- I guess that's what the "go recent" command consults. The recentNames property lists (short names of) cards from the current stack (or a named stack, as in "put the recentNames of stack myStack"), which is what I want. So the information is available. But the only mechanism I can find for *navigating* with these lists is "go recent" -- and I haven't found any way to restrict that to cards of one (sub)stack. My best guess so far ("go recent card of stack mySubStack") is accepted by the message box, but the stack restriction in the command doesn't seem to have any effect -- I just go back through the recentCards history list in all stacks, including IDE stacks. What am I missing this time?? Charles On Aug 18, 2005, at 8:56 AM, Charles Hartman wrote: > Thanks. Unfortunately that doesn't behave quite the way I need -- > it goes back through cards no matter what stack they're in. I need > the buttons to navigate just within the substack. So I'm looking at > ways to parse the recentCards property. (Messy, but easier than > building my own specialized history list.) Thanks for the tip! > > Charles > > > On Aug 17, 2005, at 11:05 PM, J. Landman Gay wrote: > > >>> Does this seem like the best approach? Or is there a better >>> method -- or something built into Rev -- that I'm missing? >>> >>> >> >> Yup: >> >> go back >> go forth -- or the synonym "go forward" >> >> >> If you want to exclude particular cards from the visited list, and >> you know the user will be going to one of those cards, set the >> lockrecent property to true ahead of time. When lockrecent is >> true, cards are not added to the history trail. >> >> See the "go" entry in the dictionary for lots of other options too. >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From douggilliland at gmail.com Thu Aug 18 09:54:00 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Thu, 18 Aug 2005 09:54:00 -0400 Subject: Stop automatic actions in editing mode In-Reply-To: <85eecfded3dc4f26f0cc75aa5d02fc72@earthlink.net> References: <20050817204307.DA44C825020@mail.runrev.com> <85eecfded3dc4f26f0cc75aa5d02fc72@earthlink.net> Message-ID: <890e3d26050818065433735d8d@mail.gmail.com> The same thing happens to me when I select Show Invisible, forget that I have it on and am dumbfounded on why my invisible object are showing. Doug Gilliland Sarasota, FL On 8/18/05, Jim Lyons wrote: > Dan offered the tip: > > > Before you open the stack, click on the "Messages" icon in the Rev > > toolbar. That suspends all system messages until you toggle it back > > on. Saves my life about three times a month. > > Then later, when nothing is working anymore, not even mouse clicks, and > you're tearing out hair, and yelling to the neighborhood, "THIS WAS > WORKING A MINUTE AGO!!", just reach up and flip it back on again. This > happens to me about twice a month. > > Jim Lyons > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From europe at ehug.info Thu Aug 18 10:59:31 2005 From: europe at ehug.info (Mark Schonewille) Date: Thu, 18 Aug 2005 16:59:31 +0200 Subject: ChatRev (ca) one year old In-Reply-To: <555a51b4798bee8156a514bbd8f8e0ef@mac.com> References: <555a51b4798bee8156a514bbd8f8e0ef@mac.com> Message-ID: <4304A253.7070303@ehug.info> Hi Bj?rnke! Congratulations with ChatRev's first birthday! ChatRev is a very interesting project. Not just because it is a great way to meet other Revolution developers and exchange ideas and knowledge in "real time". It has appeared that it is also a wonderful starting point for everyone who wants to create chat software and other applications that communicate over the internet. Creating my own client for ChatRev really helped me to enhance my skills concerning sockets and TCP/IP. It is also very interesting to see how ChatRev has become a long-term ongoing project. The source code of the clients, being public, improves almost automatically with each new chatter. Developers inspire each other, exchange pieces of code and learn from each other. ChatRev is a real community making tool. I very much recommend your free ChatRev service to all beginning and advanced Revolution developers. Thank you for making ChatRev. Mark Bj?rnke von Gierke wrote: > I did some digging in the archives last July, and I found some > interesting Mails regarding ChatRev. Unfortunately I missed the perfect > date to post this info by 5 days, due to my laziness (and other > circumstances). > > Anyway: Yay to ChatRev's birtday, 13th August, and to another > prosperous year! > Also a big YAY to the chatters, you make this possible! In no > particular order: Mark, Wouter, Malte, Hugh, Hazy, Xavier, Dan, Ro, > Judy, Marielle, Jeff... (sorry if i have forgotten you) > > Most simultaneous users: 25 (during appearance of the Kevin) > Longest Downtime: 3 Days during my move at the end of July > Most snidey remarks: during the first Pulp chat with the Kevin > > Many people have learned their first steps with socket communication > thanks to ChatRev, and maybe sometimes one of the Chatrev Coding > Contest can become a big event for the community, unlike this year. > (more on the coding contest in another mail) > Greetings > Bjoernke -- eHUG coordinator mailto:europe at ehug.info http://www.ehug.info http://home.wanadoo.nl/mark.sch http://www.economy-x-talk.com Please inform me about vacancies in the field of general economics at your institute. I am also looking for new freelance programming projects. From kray at sonsothunder.com Thu Aug 18 11:19:51 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 18 Aug 2005 10:19:51 -0500 Subject: Drag & Drop from one substack to another In-Reply-To: Message-ID: On 8/18/05 5:24 AM, "Jim Carwardine" wrote: > I'm using normal text fields in scrolling groups... Jim Then it should just "work"... I tried it. I created two stacks, each with a couple of unlocked fields in a scrolling group, typed some text into one of the fields on the first stack, selected some of the text and dragged and dropped it into a field on the other stack. Is that not working for you? Or am I missing something? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From bvlahos at mac.com Thu Aug 18 11:22:01 2005 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 18 Aug 2005 08:22:01 -0700 Subject: Resetting a router In-Reply-To: References: Message-ID: Another option is the brute force approach which is to buy a programmable timer that power cycles the router. Timex makes a 7-day programmable digital timer which could, for example, be set to turn the outlet off every Sunday a 3:00am and back on at 3:01am or whatever settings you want. This timer is less than $15 and has a built in clock and backup battery. I got mine at Target. Of course it won't do it in response to an actual problem so it isn't as smart as some of the other suggestions but it is pretty cheap. What you describe for the HTML in Rev should be completely doable as long as the router is alive enough to actually work and accept the reset command. Since the router is already compromised it may not reliably work. Bill On Aug 17, 2005, at 11:06 AM, Mark Smith wrote: > Hi all. > > I have, at my workplace, an OS X machine that collects various bits > of data from various places on the web at preset times (I have rev > apps that are started as cron jobs that do the work). From time to > time, the router drops the internet connection and generally seems to > get it's little knickers in a twist. Resetting the router sorts it > out, and I've created an ugly Rev/Applescript/QuicKeys combo that will > reset the router if I'm not physically present, and, of course, it > only seems to happen when I'm not there.... > > I was away for a month just recently, and it all went wrong after > about two weeks, so until I got back to reset things, the data was not > collected. I can't help feeling that a simpler, probably Rev only > solution would be more reliable, but I can't figure out how to get Rev > to login to the router and press the right HTML buttons to do it. > > Has anyone here had similar experiences and found a solution? > > This is a Belkin adsl modem/router box, that has the usual HTML based > control interface. > > Thanks for any help, > > > Mark Smith > > > > > > ___________________________________________________________ Yahoo! > Messenger - NEW crystal clear PC to PC calling worldwide with > voicemail http://uk.messenger.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sanke at hrz.uni-kassel.de Thu Aug 18 12:07:41 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Thu, 18 Aug 2005 18:07:41 +0200 Subject: Drag & Drop from one substack to another Message-ID: <4304B24D.2010408@hrz.uni-kassel.de> On Thu Aug 18 Jim Carwardine JimCarwardine at OwnYourFuture-net.com wrote: > I'm using normal text fields in scrolling groups... Jim > > on 8/16/05 5:32 PM, Ken Ray wrote: > > > On 8/16/05 2:22 PM, "Jim Carwardine" OwnYourFuture-net.com> > > wrote: > > > >> Hi Folks... Maybe this looked too much like another thread on D&D. > I really > >> need to know if anyone can point me to the right info on dragging and > >> dropping text from a field in one substack to a field in another > substack of > >> the same file. I just can't seem to do it... Jim > > > > Is this between list fields, or between "normal" text fields? > > > > > > Ken Ray Tried different variants of drag-dropping text between fields - normal text fields of the same stack - between fields of two stacks - between fields of two substacks - between scrolling fields of two substacks - between fields in scrolling groups of two substacks Drag-and-drop text works perfectly here in all these variants: Windows XP, Rev 2.6, build 108. Regards, Wilhelm Sanke From jbv.silences at Club-Internet.fr Thu Aug 18 12:17:25 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Thu, 18 Aug 2005 18:17:25 +0200 Subject: dumb cgi question Message-ID: <4304B48F.B1031A54@Club-Internet.fr> Hi list, When using Rev cgi, when my script on the server sends some HTML code to the client, I use the following line : put "Content-Type: text/html" & cr & cr but when the code I want to send to the client is actually HTML + PHP code, how shall I transform this line in my cgi script ? Is it "application/php" or "text/php" or... ? Thanks, JB From jacque at hyperactivesw.com Thu Aug 18 12:10:01 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Aug 2005 11:10:01 -0500 Subject: help on design In-Reply-To: <0A826AAE-A983-481A-A8EF-F7D3F20665A1@conncoll.edu> References: <5ACAACFF-2CE8-4E55-8DA0-3EF99A0E4787@conncoll.edu> <4303FAEC.2030501@hyperactivesw.com> <0A826AAE-A983-481A-A8EF-F7D3F20665A1@conncoll.edu> Message-ID: <4304B2D9.2090703@hyperactivesw.com> Charles Hartman wrote: > Thanks. Unfortunately that doesn't behave quite the way I need -- it > goes back through cards no matter what stack they're in. I need the > buttons to navigate just within the substack. That's perfect for this technique, then. On openstack, in the substack, you set the lockrecent to false. When the substack closes, you set it back to true. The result is that only the cards in the substack get added to the recent list. Then use "go back" and "go forth" to traverse the recentcards. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Aug 18 12:20:02 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Aug 2005 11:20:02 -0500 Subject: help on design In-Reply-To: <4304B2D9.2090703@hyperactivesw.com> References: <5ACAACFF-2CE8-4E55-8DA0-3EF99A0E4787@conncoll.edu> <4303FAEC.2030501@hyperactivesw.com> <0A826AAE-A983-481A-A8EF-F7D3F20665A1@conncoll.edu> <4304B2D9.2090703@hyperactivesw.com> Message-ID: <4304B532.3060206@hyperactivesw.com> J. Landman Gay wrote: > Charles Hartman wrote: > > Thanks. Unfortunately that doesn't behave quite the way I need -- it > > goes back through cards no matter what stack they're in. I need the > > buttons to navigate just within the substack. > > That's perfect for this technique, then. On openstack, in the substack, > you set the lockrecent to false. When the substack closes, you set it > back to true. The result is that only the cards in the substack get > added to the recent list. Then use "go back" and "go forth" to traverse > the recentcards. > I should add one more thing to this. If the substack stays open, then you'd want to use "suspendstack" and "resumestack" instead when setting the property. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION at barncard.com Thu Aug 18 12:45:26 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 18 Aug 2005 09:45:26 -0700 Subject: Stop automatic actions in editing mode In-Reply-To: <85eecfded3dc4f26f0cc75aa5d02fc72@earthlink.net> References: <20050817204307.DA44C825020@mail.runrev.com> <85eecfded3dc4f26f0cc75aa5d02fc72@earthlink.net> Message-ID: Ha ha that's me too.... twice a month.... duh.. the damn button should FLASH when engaged! (or I should remember...) sqb >Dan offered the tip: > >>Before you open the stack, click on the "Messages" icon in the Rev >>toolbar. That suspends all system messages until you toggle it back >>on. Saves my life about three times a month. > >Then later, when nothing is working anymore, not even mouse clicks, >and you're tearing out hair, and yelling to the neighborhood, "THIS >WAS WORKING A MINUTE AGO!!", just reach up and flip it back on >again. This happens to me about twice a month. > >Jim Lyons From jhurley at infostations.com Thu Aug 18 13:05:41 2005 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 18 Aug 2005 10:05:41 -0700 Subject: "Ask" does not put empty into "it" when "Cancel" is clicked. In-Reply-To: <20050818025133.ABD05824F83@mail.runrev.com> References: <20050818025133.ABD05824F83@mail.runrev.com> Message-ID: Is this a known change in 2.6? The scrip below functioned as expected in Rev 2.5. When the user click "Cancel" in response to the "ask" command the "it" variable was set to empty. Not so in 2.6. In 2.6 the script behaves differently. When the user clicks "Cancel," there is a error response. The "ask" command does not return empty to the "it" variable--I'm not sure what "it" is. It shows empty but charToNum return the zero character. From the Docs: If the user cancels the dialog, the it variable is set to empty and the result function returns "cancel". on mouseUp ask "What field to save?" --User clicks "Cancel" if it is not empty then --Debugger steps into this line even --though "Cancel" was clicked. put it into temp1 --Shows empty put chartonum(it) into temp2 --Shows 0, i.e. zero put the result into temp3--Shows empty but should be "cancel" put field it into tContents --Error message else put field 1 into tContents ask file "Put where?" if it is not empty then put "file:"& it into tFileName put tContents into url tFileName else beep exit mouseUP end if end mouseUp There is a work-around. Test the the "result" not "it," i.e. use:" If the result is not empty." Jim From stephenREVOLUTION at barncard.com Thu Aug 18 13:11:47 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 18 Aug 2005 10:11:47 -0700 Subject: "Ask" does not put empty into "it" when "Cancel" is clicked. In-Reply-To: References: <20050818025133.ABD05824F83@mail.runrev.com> Message-ID: Jim, check your build number: in the messagebox, type: put buildnumber() I think this was quickly fixed by build 108. Download a recent version. >Is this a known change in 2.6? > >The scrip below functioned as expected in Rev 2.5. When the user >click "Cancel" in response to the "ask" command the "it" variable >was set to empty. Not so in 2.6. > >In 2.6 the script behaves differently. When the user clicks >"Cancel," there is a error response. The "ask" command does not >return empty to the "it" variable--I'm not sure what "it" is. It >shows empty but charToNum return the zero character. From klaus at major-k.de Thu Aug 18 13:38:19 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 18 Aug 2005 19:38:19 +0200 Subject: "Ask" does not put empty into "it" when "Cancel" is clicked. In-Reply-To: References: <20050818025133.ABD05824F83@mail.runrev.com> Message-ID: <7CBFFCC6-9FD1-4A7F-9CA0-DF9C7BAB5833@major-k.de> Hi all, > Jim, check your build number: > > in the messagebox, type: > put buildnumber() > > I think this was quickly fixed by build 108. > Download a recent version. until Rev has changed the way we have to load every new distribution (the COMPLETE package :-/), it would be nice to have a place where we can download the engines only! Regards Klaus Major klaus at major-k.de http://www.major-k.de From revdan at danshafer.com Thu Aug 18 14:00:10 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 18 Aug 2005 11:00:10 -0700 Subject: Can a substack icon in a standalone be rendered invisible? In-Reply-To: <4303D5B9.2090105@chipp.com> References: <215.720c6f5.3034f8bc@aol.com> <4303D5B9.2090105@chipp.com> Message-ID: Chipp...... On Aug 17, 2005, at 5:26 PM, Chipp Walters wrote: > If I were you, I'd just not include the subStack in the Standalone > build process, then just open it when you need if from your > standalone. I think this is unclear, at least it is to me. I am under the impression that if you want to use a stack as data storage in a Rev app, you *must* include it in the standalone and have the substack in which you wish to store data in a separate folder. I can't tell precisely what you're suggesting here. Can you elucidate? > I never use the 'put substacks in separate folders' feature of > standalone builder. But is it not the case that if you *don't* put these substacks in a separate folder, you *can't* change their contents dynamically during program execution? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revdan at danshafer.com Thu Aug 18 14:03:05 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 18 Aug 2005 11:03:05 -0700 Subject: dumb cgi question In-Reply-To: <4304B48F.B1031A54@Club-Internet.fr> References: <4304B48F.B1031A54@Club-Internet.fr> Message-ID: <741CC8A5-5295-41A7-BAAE-8312C885AE2C@danshafer.com> It's still text/html I think, JB. The PHP is embedded and the file extension PHP tells the server to execute PHP scripts inline but from the browser's perspective, I think it's still text/html. At least that's my finding from a quick look at a couple of PHP pages I generate. On Aug 18, 2005, at 9:17 AM, jbv wrote: > Hi list, > > When using Rev cgi, when my script on the server sends some HTML code > to the client, I use the following line : > > put "Content-Type: text/html" & cr & cr > > but when the code I want to send to the client is actually HTML + PHP > code, > how shall I transform this line in my cgi script ? > > Is it "application/php" or "text/php" or... ? > > Thanks, > JB > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From charles.hartman at conncoll.edu Thu Aug 18 14:32:38 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 18 Aug 2005 14:32:38 -0400 Subject: help on design In-Reply-To: <4304B532.3060206@hyperactivesw.com> References: <5ACAACFF-2CE8-4E55-8DA0-3EF99A0E4787@conncoll.edu> <4303FAEC.2030501@hyperactivesw.com> <0A826AAE-A983-481A-A8EF-F7D3F20665A1@conncoll.edu> <4304B2D9.2090703@hyperactivesw.com> <4304B532.3060206@hyperactivesw.com> Message-ID: I'll try this. But it looks like (am I wrong? always a good possibility!), as long as the substack is open, cards from other stacks will get added to the "recent" list. No? (In the anticipated use, the substack will get opened sometime early in the session, and will be left open while the user navigates through the main stack, occasionally opening new cards in the substack.) Charles On Aug 18, 2005, at 12:20 PM, J. Landman Gay wrote: > J. Landman Gay wrote: > >> Charles Hartman wrote: >> > Thanks. Unfortunately that doesn't behave quite the way I need >> -- it >> > goes back through cards no matter what stack they're in. I need >> the >> > buttons to navigate just within the substack. >> That's perfect for this technique, then. On openstack, in the >> substack, you set the lockrecent to false. When the substack >> closes, you set it back to true. The result is that only the cards >> in the substack get added to the recent list. Then use "go back" >> and "go forth" to traverse the recentcards. >> > > I should add one more thing to this. If the substack stays open, > then you'd want to use "suspendstack" and "resumestack" instead > when setting the property. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Thu Aug 18 14:42:05 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Aug 2005 13:42:05 -0500 Subject: help on design In-Reply-To: References: <5ACAACFF-2CE8-4E55-8DA0-3EF99A0E4787@conncoll.edu> <4303FAEC.2030501@hyperactivesw.com> <0A826AAE-A983-481A-A8EF-F7D3F20665A1@conncoll.edu> <4304B2D9.2090703@hyperactivesw.com> <4304B532.3060206@hyperactivesw.com> Message-ID: <4304D67D.6040004@hyperactivesw.com> Charles Hartman wrote: > I'll try this. But it looks like (am I wrong? always a good > possibility!), as long as the substack is open, cards from other stacks > will get added to the "recent" list. No? If managed correctly, then right, "no". In the substack: on openstack -- first time opened set the lockrecent to false -- allow history end openstack on closestack set the lockrecent to true end closestack on resumestack -- user or script brought stack to front set the lockrecent to false end resumestack on suspendstack -- user or script brought a different stack forward set the lockrecent to true -- disallow history end suspendstack Those four should do it. If any of your scripts set lockmessages to true before moving to or from the substack, then the above handlers won't fire and you'll need to set the lockrecent specifically in those cases. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Aug 18 14:46:11 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Aug 2005 13:46:11 -0500 Subject: Can a substack icon in a standalone be rendered invisible? In-Reply-To: References: <215.720c6f5.3034f8bc@aol.com> <4303D5B9.2090105@chipp.com> Message-ID: <4304D773.60309@hyperactivesw.com> Dan Shafer wrote: > Chipp...... > > > On Aug 17, 2005, at 5:26 PM, Chipp Walters wrote: > >> If I were you, I'd just not include the subStack in the Standalone >> build process, then just open it when you need if from your standalone. > > > I think this is unclear, at least it is to me. I am under the > impression that if you want to use a stack as data storage in a Rev > app, you *must* include it in the standalone and have the substack in > which you wish to store data in a separate folder. I can't tell > precisely what you're suggesting here. Can you elucidate? > >> I never use the 'put substacks in separate folders' feature of >> standalone builder. > > > But is it not the case that if you *don't* put these substacks in a > separate folder, you *can't* change their contents dynamically during > program execution? The only requirement for a stack that saves data is that it not be a substack of the application file on disk. It must be in its own file. The stack file can be stored anywhere; same folder, inside an OS X app bundle, different folder, different volume, doesn't matter, just so it is an independent file that is separate from the app. The standalone builder automates the process of removing the substack and making it a separate file. However, you don't need to use this feature, which is what I think Chipp is refering to. Just keep the data stack as a separate file all through development and then you don't need to dis-incorporate it when you build; it is already separate. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From charles.hartman at conncoll.edu Thu Aug 18 15:01:25 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 18 Aug 2005 15:01:25 -0400 Subject: help on design In-Reply-To: <4304D67D.6040004@hyperactivesw.com> References: <5ACAACFF-2CE8-4E55-8DA0-3EF99A0E4787@conncoll.edu> <4303FAEC.2030501@hyperactivesw.com> <0A826AAE-A983-481A-A8EF-F7D3F20665A1@conncoll.edu> <4304B2D9.2090703@hyperactivesw.com> <4304B532.3060206@hyperactivesw.com> <4304D67D.6040004@hyperactivesw.com> Message-ID: <556BF81B-6633-409A-B7DF-A886B2062ED3@conncoll.edu> Thanks (as always!). But I put those four handlers in my substack's stack script (and saved and closed the whole thing and removed it from memory, then reopened it and navigated in the main stack and opened the substack and navigated within it), and both the "go back" and "go forth" buttons can still jump out of the substack. I used the message box to check the lockRecent; it keeps coming up false, whether the substack is suspended or not. I found this in the docs: By default, the lockRecent property is set to false. It is reset to false when no handlers are executing. That looks like it might be the problem . . . Charles On Aug 18, 2005, at 2:42 PM, J. Landman Gay wrote: > Charles Hartman wrote: > > I'll try this. But it looks like (am I wrong? always a good > > possibility!), as long as the substack is open, cards from other > stacks > > will get added to the "recent" list. No? > > If managed correctly, then right, "no". In the substack: > > on openstack -- first time opened > set the lockrecent to false -- allow history > end openstack > > on closestack > set the lockrecent to true > end closestack > > on resumestack -- user or script brought stack to front > set the lockrecent to false > end resumestack > > on suspendstack -- user or script brought a different stack forward > set the lockrecent to true -- disallow history > end suspendstack > > Those four should do it. If any of your scripts set lockmessages to > true before moving to or from the substack, then the above handlers > won't fire and you'll need to set the lockrecent specifically in > those cases. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Thu Aug 18 15:05:31 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 18 Aug 2005 14:05:31 -0500 Subject: Can a substack icon in a standalone be rendered invisible? In-Reply-To: <4304D773.60309@hyperactivesw.com> References: <215.720c6f5.3034f8bc@aol.com> <4303D5B9.2090105@chipp.com> <4304D773.60309@hyperactivesw.com> Message-ID: <4304DBFB.9010601@chipp.com> Couldn't have said it any better! Thanks Jacque! J. Landman Gay wrote: > The stack file can be stored anywhere; same folder, inside an OS X app > bundle, different folder, different volume, doesn't matter, just so it > is an independent file that is separate from the app. > > The standalone builder automates the process of removing the substack > and making it a separate file. However, you don't need to use this > feature, which is what I think Chipp is refering to. Just keep the data > stack as a separate file all through development and then you don't need > to dis-incorporate it when you build; it is already separate. > From jbv.silences at Club-Internet.fr Thu Aug 18 15:31:30 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Thu, 18 Aug 2005 21:31:30 +0200 Subject: dumb cgi question References: <4304B48F.B1031A54@Club-Internet.fr> <741CC8A5-5295-41A7-BAAE-8312C885AE2C@danshafer.com> Message-ID: <4304E205.EA56A76F@Club-Internet.fr> Dan, even if the original file name was "myFile.php" ? Thanks for answering anyway... JB > It's still text/html I think, JB. The PHP is embedded and the file > extension PHP tells the server to execute PHP scripts inline but from > the browser's perspective, I think it's still text/html. > > At least that's my finding from a quick look at a couple of PHP pages > I generate. > > On Aug 18, 2005, at 9:17 AM, jbv wrote: > > > Hi list, > > > > When using Rev cgi, when my script on the server sends some HTML code > > to the client, I use the following line : > > > > put "Content-Type: text/html" & cr & cr > > > > but when the code I want to send to the client is actually HTML + PHP > > code, > > how shall I transform this line in my cgi script ? > > > > Is it "application/php" or "text/php" or... ? > > > > Thanks, > > JB > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jbondy at sover.net Thu Aug 18 15:20:24 2005 From: jbondy at sover.net (Jon) Date: Thu, 18 Aug 2005 15:20:24 -0400 Subject: I give up: how do you continue a line in Rev? Message-ID: <4304DF78.7020102@sover.net> I'm sure the answer to this question (how do you continue a line in Rev) is simple. Where could I have found the answer to this simple question in the documentation? I looked for "continue": no joy. "line": no joy. I looked at the Scripting discussion, and I know know all about comments, but nothing about continuing lines onto the next line. I envy those of you who use Rev all of the time. For the rest of us, it continues to be a very frustrating experience. Jon From jbondy at sover.net Thu Aug 18 15:24:18 2005 From: jbondy at sover.net (Jon) Date: Thu, 18 Aug 2005 15:24:18 -0400 Subject: "working" a web site from Rev In-Reply-To: References: <43025AC6.6040509@sover.net> Message-ID: <4304E062.4030401@sover.net> Dave: Excellent help. Question: how would one indicate that a check box field is checked (or not)? Thanks! Jon Dave Cragg wrote: > > On 16 Aug 2005, at 22:29, Jon wrote: > >> I want to write a Rev program to make sure that a web site I've >> written is still functioning correctly, perhaps once an hour, 24/7. >> The manipulations for a person are pretty simple: >> >> 1) go to a fixed URL >> 2) click a button >> 3) go to the bottom of the page >> 4) check a check box >> 5) click a button >> 6) verify that the received HTML contains some key phrases. > > > Are steps 2 and 4 both form submission buttons? > > Anyway, if you are trying to check that the form submission is > working, you should be able to check this directly from Rev without > opening a browser. > > Depending on the form's method (GET or POST) you would use get url or > post. For example, say the form had the following fields: > > Field 1 name = "name"; value = "Jon" > Field 2 name = "happy"; value = "true" > > You could construct the form data like this: > > put "Jon" into tName > put "true" into tHappy > put libUrlFormData("name",tName,"happy",tHappy) into tFormData > > If you are using "get", then you would append the form data to the > url like this: > > put "http://www.mysite.com/myform.cgi" & "?" & tFormData into tUrl > put url tUrl into tReturnedHtml > if the result is empty then > ##parse tReturnedHtml for key phrases > else ##error > answer the result > end if > > If you are using "post", then like this: > > post tFormData to url "http://www.mysite.com/myform.cgi" > if the result is empty then > put it into tReturnedHtml > ##parse tReturnedHtml for key phrases > else ##error > answer the result > end if > > Hope that helps > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From ed.kopp at cnh.com Thu Aug 18 15:27:53 2005 From: ed.kopp at cnh.com (KOPP Ed) Date: Thu, 18 Aug 2005 14:27:53 -0500 Subject: I give up: how do you continue a line in Rev? Message-ID: <2BB0115399A0D511BA160040A5B158771712AD7F@na1racntd05.casecorp.com> Jon - as a novice myself I struggled with the same question. Then I found the answer in a sample script. The "\" backslash character continues a line. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jon Sent: Thursday, August 18, 2005 2:20 PM To: Revolution List Subject: I give up: how do you continue a line in Rev? I'm sure the answer to this question (how do you continue a line in Rev) is simple. Where could I have found the answer to this simple question in the documentation? I looked for "continue": no joy. "line": no joy. I looked at the Scripting discussion, and I know know all about comments, but nothing about continuing lines onto the next line. I envy those of you who use Rev all of the time. For the rest of us, it continues to be a very frustrating experience. Jon _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From kee at kagi.com Thu Aug 18 15:29:44 2005 From: kee at kagi.com (kee nethery) Date: Thu, 18 Aug 2005 12:29:44 -0700 Subject: Resetting a router In-Reply-To: References: Message-ID: On Aug 18, 2005, at 8:22 AM, Bill Vlahos wrote: > Another option is the brute force approach which is to buy a > programmable timer that power cycles the router. Timex makes a 7- > day programmable digital timer which could, for example, be set to > turn the outlet off every Sunday a 3:00am and back on at 3:01am or > whatever settings you want. This timer is less than $15 and has a > built in clock and backup battery. I got mine at Target. :-) I like Bill's answer better than mine. For what you are doing, a hard power cycle once a day should work just fine. Kee From scott at tactilemedia.com Thu Aug 18 15:39:09 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 18 Aug 2005 12:39:09 -0700 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <4304DF78.7020102@sover.net> Message-ID: Recently, Jon wrote: > I envy those of you who use Rev all of the time. For the rest of us, it > continues to be a very frustrating experience. Dude - even coming from a related background (Director, Hypercard, Supercard) it took me a good year to get comfortable with Rev (then MetaCard). And as many of the old timers on this list will tell you, even after years of using the tool, someone will inevitably pass along something you never knew. As clich? as it sounds, "The learning never stops" rings quite true. This list is here to help with the frustration. BTW, if you're asking about line wrap character, it's a backslash. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From bnz2 at cdc.gov Thu Aug 18 15:49:53 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 18 Aug 2005 15:49:53 -0400 Subject: I give up: how do you continue a line in Rev? Message-ID: <64878EF567131D4596246171F75FD4A9744624@m-epo-1.epo.cdc.gov> Yah - but this list is great. Searching the list archives is very useful as well: http://www.mail-archive.com/use-revolution at lists.runrev.com/ I think that the problem is one of staffing. There are not very many Rev users - thus not enough income for the company to hire people to write documentation, fix bugs, and add features as fast as needed - thus getting into it is difficult - thus not enough people sign up for Rev - thus not enough income... Such are the pains of bootstrapping a company. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jon Sent: Thursday, August 18, 2005 3:20 PM To: Revolution List Subject: I give up: how do you continue a line in Rev? I'm sure the answer to this question (how do you continue a line in Rev) is simple. Where could I have found the answer to this simple question in the documentation? I looked for "continue": no joy. "line": no joy. I looked at the Scripting discussion, and I know know all about comments, but nothing about continuing lines onto the next line. I envy those of you who use Rev all of the time. For the rest of us, it continues to be a very frustrating experience. Jon _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From briany at qldlearning.com Thu Aug 18 15:52:05 2005 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 18 Aug 2005 12:52:05 -0700 Subject: dumb cgi question In-Reply-To: <4304E205.EA56A76F@Club-Internet.fr> References: <4304B48F.B1031A54@Club-Internet.fr> <741CC8A5-5295-41A7-BAAE-8312C885AE2C@danshafer.com> <4304E205.EA56A76F@Club-Internet.fr> Message-ID: JB- The content-type is independent of the language used on the server. It simply tells the browser the format of the data you are _sending_ to it. So if your script generates HTML, then it should tell the browser the content-type is "text/html" regardless of whether Rev or PHP is doing the work. Likewise, if your Rev script was generating a JPEG, it would return "image/jpeg". Technically, the same script can return any number of differnt content-types, it is just telling the browser "here comes data in this format". HTH Brian > > > Dan, > > even if the original file name was "myFile.php" ? > > Thanks for answering anyway... > JB > >> It's still text/html I think, JB. The PHP is embedded and the file >> extension PHP tells the server to execute PHP scripts inline but from >> the browser's perspective, I think it's still text/html. >> >> At least that's my finding from a quick look at a couple of PHP pages >> I generate. >> >> On Aug 18, 2005, at 9:17 AM, jbv wrote: >> >>> Hi list, >>> >>> When using Rev cgi, when my script on the server sends some HTML code >>> to the client, I use the following line : >>> >>> put "Content-Type: text/html" & cr & cr >>> >>> but when the code I want to send to the client is actually HTML + PHP >>> code, >>> how shall I transform this line in my cgi script ? >>> >>> Is it "application/php" or "text/php" or... ? >>> >>> Thanks, >>> JB >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Dan Shafer, Revolution Consultant and Author >> http://www.shafermedia.com >> Get my book, "Revolution: Software at the Speed of Thought" >> From http://www.revolutionpros.com, Click "My Stuff" >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jbv.silences at Club-Internet.fr Thu Aug 18 16:03:59 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Thu, 18 Aug 2005 22:03:59 +0200 Subject: dumb cgi question References: <4304B48F.B1031A54@Club-Internet.fr> <741CC8A5-5295-41A7-BAAE-8312C885AE2C@danshafer.com> <4304E205.EA56A76F@Club-Internet.fr> Message-ID: <4304E9A0.AD3D075F@Club-Internet.fr> Brian, Thanks for the answer... actually, I have generated various data formats through Rev cgi scripts (including pdf files that open Acrobat when a btn is clicked on a webpage), but as I'm not too familiar with php, I was wondering... Thanks again, JB > JB- > > The content-type is independent of the language used on the server. It > simply tells the browser the format of the data you are _sending_ to > it. So if your script generates HTML, then it should tell the browser > the content-type is "text/html" regardless of whether Rev or PHP is > doing the work. > > Likewise, if your Rev script was generating a JPEG, it would return > "image/jpeg". > > Technically, the same script can return any number of differnt > content-types, it is just telling the browser "here comes data in this > format". > > HTH > > Brian > > > > > > > Dan, > > > > even if the original file name was "myFile.php" ? > > > > Thanks for answering anyway... > > JB > > > >> It's still text/html I think, JB. The PHP is embedded and the file > >> extension PHP tells the server to execute PHP scripts inline but from > >> the browser's perspective, I think it's still text/html. > >> > >> At least that's my finding from a quick look at a couple of PHP pages > >> I generate. > >> > >> On Aug 18, 2005, at 9:17 AM, jbv wrote: > >> > >>> Hi list, > >>> > >>> When using Rev cgi, when my script on the server sends some HTML code > >>> to the client, I use the following line : > >>> > >>> put "Content-Type: text/html" & cr & cr > >>> > >>> but when the code I want to send to the client is actually HTML + PHP > >>> code, > >>> how shall I transform this line in my cgi script ? > >>> > >>> Is it "application/php" or "text/php" or... ? > >>> > >>> Thanks, > >>> JB > >>> > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-revolution > >>> > >> > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >> Dan Shafer, Revolution Consultant and Author > >> http://www.shafermedia.com > >> Get my book, "Revolution: Software at the Speed of Thought" > >> From http://www.revolutionpros.com, Click "My Stuff" > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Thu Aug 18 16:01:28 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Aug 2005 13:01:28 -0700 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <4304DF78.7020102@sover.net> References: <4304DF78.7020102@sover.net> Message-ID: <4304E918.4050809@fourthworld.com> Jon wrote: > I envy those of you who use Rev all of the time. For the rest of us, it > continues to be a very frustrating experience. How many other multi-platform programming language have your learned, and how much less time did they take to master? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From jbondy at sover.net Thu Aug 18 16:13:16 2005 From: jbondy at sover.net (Jon) Date: Thu, 18 Aug 2005 16:13:16 -0400 Subject: what to do after a Get URL? Message-ID: <4304EBDC.8040602@sover.net> I understand how to write the statement get url "ftp://a.b.c/d.txt" or some such. OK, so now the file is somehow "in" the computer, with the Get. What I don't "get" (so to speak) is how to put that data into my local computer as a file. I assume it is something like put url "file://something" but I'm not sure about the "something". "file://c:/dir/filename.txt"? "file://c/dir/filename.txt"? And I'm not sure how to specify the data to "put" in the Put statement: is it implicit (one of those magic words like "it" or "this" or something)? I'm sure this is simple/obvious, but only if you know it... :) Jon From jbondy at sover.net Thu Aug 18 16:14:19 2005 From: jbondy at sover.net (Jon) Date: Thu, 18 Aug 2005 16:14:19 -0400 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <2BB0115399A0D511BA160040A5B158771712AD7F@na1racntd05.casecorp.com> References: <2BB0115399A0D511BA160040A5B158771712AD7F@na1racntd05.casecorp.com> Message-ID: <4304EC1B.2030709@sover.net> Thanks, Ed! :) Jon KOPP Ed wrote: >Jon - as a novice myself I struggled with the same question. Then I found >the answer in a sample script. > >The "\" backslash character continues a line. > > > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jon >Sent: Thursday, August 18, 2005 2:20 PM >To: Revolution List >Subject: I give up: how do you continue a line in Rev? > > >I'm sure the answer to this question (how do you continue a line in Rev) >is simple. Where could I have found the answer to this simple question >in the documentation? I looked for "continue": no joy. "line": no >joy. I looked at the Scripting discussion, and I know know all about >comments, but nothing about continuing lines onto the next line. > >I envy those of you who use Rev all of the time. For the rest of us, it >continues to be a very frustrating experience. > >Jon >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription >preferences: http://lists.runrev.com/mailman/listinfo/use-revolution >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From bnz2 at cdc.gov Thu Aug 18 16:18:04 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 18 Aug 2005 16:18:04 -0400 Subject: what to do after a Get URL? Message-ID: <64878EF567131D4596246171F75FD4A9744625@m-epo-1.epo.cdc.gov> After you use the get command, the contents that you just got are put in the "it" variable. Get url "http://myurl.com" Put it into url "file:C:/mydocuments" Or, you could just do this: Put url "http://myURL.com" into url "file:C:/myfolder" You can also put the url into a variable: Put URL "http://myURL.com" into myVar -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jon Sent: Thursday, August 18, 2005 4:13 PM To: Revolution List Subject: what to do after a Get URL? I understand how to write the statement get url "ftp://a.b.c/d.txt" or some such. OK, so now the file is somehow "in" the computer, with the Get. What I don't "get" (so to speak) is how to put that data into my local computer as a file. I assume it is something like put url "file://something" but I'm not sure about the "something". "file://c:/dir/filename.txt"? "file://c/dir/filename.txt"? And I'm not sure how to specify the data to "put" in the Put statement: is it implicit (one of those magic words like "it" or "this" or something)? I'm sure this is simple/obvious, but only if you know it... :) Jon _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Thu Aug 18 16:05:03 2005 From: mark at maseurope.net (Mark Smith) Date: Thu, 18 Aug 2005 21:05:03 +0100 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <4304DF78.7020102@sover.net> References: <4304DF78.7020102@sover.net> Message-ID: <0a27f24c701ea9f5f1aed1d047f7d14b@maseurope.net> If you'd done a search of the dictionary for "break" you'd have found the "\" keyword. I often have to imagine a number of words that might be appropriate and try them all. I agree that this can be frustrating, but persistence and imagination are the key. This goes to confirm the idea that what would be ideal would be a series of in depth books that cover each aspect of Rev, perhaps including sections on equivalents to other languages, but who's going undertake such a mammoth task? Meanwhile, we just have to remember that the docs really are pretty comprehensive, but we have to dig quite deep, sometimes... Cheers, Mark On 18 Aug 2005, at 20:20, Jon wrote: > I'm sure the answer to this question (how do you continue a line in > Rev) is simple. Where could I have found the answer to this simple > question in the documentation? I looked for "continue": no joy. > "line": no joy. I looked at the Scripting discussion, and I know know > all about comments, but nothing about continuing lines onto the next > line. > > I envy those of you who use Rev all of the time. For the rest of us, > it continues to be a very frustrating experience. > > Jon > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com From dan at clearvisiontech.com Thu Aug 18 16:30:17 2005 From: dan at clearvisiontech.com (Dan Friedman) Date: Thu, 18 Aug 2005 13:30:17 -0700 Subject: what to do after a Get URL? In-Reply-To: <20050818195910.B5CD18250AE@mail.runrev.com> Message-ID: Jon, When you use the statement: get url "ftp://a.b.c/d.txt" The url is placed into the local variable "it". Therefore you can access the contents by simply getting "it" (put it into tUrlData). Or, just put the url into your own variable. For example: put url "ftp://a.b.c/d.txt" into urlData. To put the data into your local computer as a file, try this: on getURLText put url "ftp://a.b.c/d.txt" into tUrlData ask file "Save As:" put it into fPath if fPath = "" then exit getURLText end if put tUrlData into url ("file:" & fPath) end getURLText Hope that helps... -Dan > I understand how to write the statement > > get url "ftp://a.b.c/d.txt" > > or some such. OK, so now the file is somehow "in" the computer, with > the Get. > > What I don't "get" (so to speak) is how to put that data into my local > computer as a file. I assume it is something like > > put url "file://something" > > but I'm not sure about the "something". "file://c:/dir/filename.txt"? > "file://c/dir/filename.txt"? And I'm not sure how to specify the data > to "put" in the Put statement: is it implicit (one of those magic words > like "it" or "this" or something)? > > I'm sure this is simple/obvious, but only if you know it... > > :) > > Jon From jbondy at sover.net Thu Aug 18 16:31:58 2005 From: jbondy at sover.net (Jon) Date: Thu, 18 Aug 2005 16:31:58 -0400 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <4304E918.4050809@fourthworld.com> References: <4304DF78.7020102@sover.net> <4304E918.4050809@fourthworld.com> Message-ID: <4304F03E.9050201@sover.net> My ONLY point was that I was unable to find this simple item in the Help. End of statement. Richard Gaskin wrote: > Jon wrote: > >> I envy those of you who use Rev all of the time. For the rest of us, >> it continues to be a very frustrating experience. > > > How many other multi-platform programming language have your learned, > and how much less time did they take to master? > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jbondy at sover.net Thu Aug 18 16:33:39 2005 From: jbondy at sover.net (Jon) Date: Thu, 18 Aug 2005 16:33:39 -0400 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <0a27f24c701ea9f5f1aed1d047f7d14b@maseurope.net> References: <4304DF78.7020102@sover.net> <0a27f24c701ea9f5f1aed1d047f7d14b@maseurope.net> Message-ID: <4304F0A3.2040303@sover.net> I agree that a critical problem is trying to figure out what the authors of the documentation might have called the concept I have in mind. I have no constructive recommendation for improving the current system, other than that perhaps explaining the purpose of the "\" character might have been appropriate in the section about Scripting... :) Mark Smith wrote: > If you'd done a search of the dictionary for "break" you'd have found > the "\" keyword. I often have to imagine a number of words that might > be appropriate and try them all. I agree that this can be frustrating, > but persistence and imagination are the key. This goes to confirm the > idea that what would be ideal would be a series of in depth books that > cover each aspect of Rev, perhaps including sections on equivalents to > other languages, but who's going undertake such a mammoth task? > > Meanwhile, we just have to remember that the docs really are pretty > comprehensive, but we have to dig quite deep, sometimes... > > Cheers, > > Mark > > > > On 18 Aug 2005, at 20:20, Jon wrote: > >> I'm sure the answer to this question (how do you continue a line in >> Rev) is simple. Where could I have found the answer to this simple >> question in the documentation? I looked for "continue": no joy. >> "line": no joy. I looked at the Scripting discussion, and I know >> know all about comments, but nothing about continuing lines onto the >> next line. >> >> I envy those of you who use Rev all of the time. For the rest of us, >> it continues to be a very frustrating experience. >> >> Jon >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > ___________________________________________________________ To help > you stay safe and secure online, we've developed the all new Yahoo! > Security Centre. http://uk.security.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jbondy at sover.net Thu Aug 18 16:34:14 2005 From: jbondy at sover.net (Jon) Date: Thu, 18 Aug 2005 16:34:14 -0400 Subject: what to do after a Get URL? In-Reply-To: <64878EF567131D4596246171F75FD4A9744625@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9744625@m-epo-1.epo.cdc.gov> Message-ID: <4304F0C6.6000805@sover.net> Excellent! Thanks! :) Jon Lynch, Jonathan wrote: >After you use the get command, the contents that you just got are put in >the "it" variable. > >Get url "http://myurl.com" >Put it into url "file:C:/mydocuments" > >Or, you could just do this: > >Put url "http://myURL.com" into url "file:C:/myfolder" > >You can also put the url into a variable: > >Put URL "http://myURL.com" into myVar > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jon >Sent: Thursday, August 18, 2005 4:13 PM >To: Revolution List >Subject: what to do after a Get URL? > >I understand how to write the statement > >get url "ftp://a.b.c/d.txt" > >or some such. OK, so now the file is somehow "in" the computer, with >the Get. > >What I don't "get" (so to speak) is how to put that data into my local >computer as a file. I assume it is something like > >put url "file://something" > >but I'm not sure about the "something". "file://c:/dir/filename.txt"? >"file://c/dir/filename.txt"? And I'm not sure how to specify the data >to "put" in the Put statement: is it implicit (one of those magic words >like "it" or "this" or something)? > >I'm sure this is simple/obvious, but only if you know it... > >:) > >Jon >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From alex at tweedly.net Thu Aug 18 16:43:56 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 18 Aug 2005 21:43:56 +0100 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <4304E918.4050809@fourthworld.com> References: <4304DF78.7020102@sover.net> <4304E918.4050809@fourthworld.com> Message-ID: <4304F30C.5020603@tweedly.net> Richard Gaskin wrote: > Jon wrote: > >> I envy those of you who use Rev all of the time. For the rest of us, >> it continues to be a very frustrating experience. > > > How many other multi-platform programming language have your learned, 4 or 5, depending how you count them ... (actually could be more, since I could count Fortran with two completely different multi-platform macro and library systems). > and how much less time did they take to master? > can't answer - I don't feel I ever "mastered" any of them :-) But the answer for how long to get basically competent is probably - first one was very slow (call it 100 time units) - second one wasn't entirely different, and shared some libraries - so it was much faster (call it 50) - third one was a quite different language, but similar libraries (call it 65) - fourth one was different GUI approach, though similar language - call it 30 until basic, 70 until competent - fifth was Rev - call it 10 to get basic, 30 to get reasonable, 60 to get started, 80 so far (yes, it did feel like I went backwards for a while :-) As for the original question - I used a backslash without thinking about it, just out of dumb good luck, so didn't even realize it was a question that needed asking .... And I think there's a serious point about "using Rev all the time ..." - I find Rev frustrating in trivial ways when I switch between it and Python too often (stupid little things like writing a whole section of script like myVar1 = empty myVar2 = "this string" before having a "Duh!" moment and re-writing it all properly with "put"). That's entirely my fault - I know how to do it in Rev, and I know not to blame Rev for my strong habits - but it can be frustrating. It works better for me to try to stick to one language for a week or more at a time. Of course, having a multiplicity of simultaneous projects and real life rarely allow that, but when I can do it, I stop doing this kind of silly stuff, and the frustration level drops quickly. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.12/75 - Release Date: 17/08/2005 From chipp at chipp.com Thu Aug 18 16:53:58 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 18 Aug 2005 15:53:58 -0500 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <4304DF78.7020102@sover.net> References: <4304DF78.7020102@sover.net> Message-ID: <4304F566.2010407@chipp.com> Interesting dilemma. I checked out the Microsoft Development Environment Help for VB and couldn't find out how to 'continue' a line there either. I searched for "continue", "break", "line" and checked all the scripting reference guides. bummer. Chipp Jon wrote: > I'm sure the answer to this question (how do you continue a line in Rev) > is simple. Where could I have found the answer to this simple question > in the documentation? I looked for "continue": no joy. "line": no > joy. I looked at the Scripting discussion, and I know know all about > comments, but nothing about continuing lines onto the next line. > > I envy those of you who use Rev all of the time. For the rest of us, it > continues to be a very frustrating experience. From ambassador at fourthworld.com Thu Aug 18 16:56:42 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Aug 2005 13:56:42 -0700 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <4304F30C.5020603@tweedly.net> References: <4304DF78.7020102@sover.net> <4304E918.4050809@fourthworld.com> <4304F30C.5020603@tweedly.net> Message-ID: <4304F60A.4030608@fourthworld.com> Alex Tweedly wrote: > And I think there's a serious point about "using Rev all the time ..." - > I find Rev frustrating in trivial ways when I switch between it and > Python too often (stupid little things like writing a whole section of > script like > myVar1 = empty > myVar2 = "this string" > before having a "Duh!" moment and re-writing it all properly with > "put"). That's entirely my fault - I know how to do it in Rev, and I > know not to blame Rev for my strong habits - but it can be frustrating. xTalk is a radically different paradigm from most other languages, and indeed carries much "unlearning". To help ease the journey for those familiar with other lanuguages I would advocate an OPTIONAL assignment syntax as you describe. As an option, xTalk purists could continue to write as they always have without ever needing to even think about it. But by having the option available, a lot of habits useful in a majority of other languages become an asset in learning Rev rather than a liability. Today and for the future, we can expect that the largest group of new Transcript adoptees will be coming from a background that has some experience with at least one other language, and it won't be an xTalk as with yesterday's audience. Options that bridge the gap for today's audience will be very beneficial to RunRev, and by extension the rest of us regardless of which syntax options we prefer. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From klaus at major-k.de Thu Aug 18 16:58:48 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 18 Aug 2005 22:58:48 +0200 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <4304F566.2010407@chipp.com> References: <4304DF78.7020102@sover.net> <4304F566.2010407@chipp.com> Message-ID: Hi Jon, > Jon wrote: > ... > I envy those of you who use Rev all of the time. > For the rest of us, it continues to be a very frustrating experience. Well, actually we did not wake up one morning and suddenly knew how to do everything right, believe it or not... ;-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From aj445 at traverse.lib.mi.us Thu Aug 18 17:00:29 2005 From: aj445 at traverse.lib.mi.us (SB) Date: Thu, 18 Aug 2005 17:00:29 -0400 Subject: learn Rev in online conferences In-Reply-To: <20050818195910.980C282501D@mail.runrev.com> References: <20050818195910.980C282501D@mail.runrev.com> Message-ID: <1BCC6DB6-102B-11DA-B950-000A95F0C744@leo.nmc.edu> To learn more about Revolution in an engaging way, check out the online scripting conferences-- the next one is this Saturday. Both novices and experts participate, and you can learn a lot about the topic during an interactive conference, even if you don?t say anything. If you do decide to ask questions, it?s almost like getting a private tutorial, with both the presenter and others at the conference offering ideas. You can download the Menus conference examples stack from the Runrev site first and look it over before you attend the conference. Earlier conferences are also saved on the site. Sandy From jbondy at sover.net Thu Aug 18 17:03:42 2005 From: jbondy at sover.net (Jon) Date: Thu, 18 Aug 2005 17:03:42 -0400 Subject: I give up: how do you continue a line in Rev? In-Reply-To: References: <4304DF78.7020102@sover.net> <4304F566.2010407@chipp.com> Message-ID: <4304F7AE.2010606@sover.net> Klaus: I thought that all of you who paid the big bucks for the Enterprise version got a pill with RNA in it, and that you learned it all over night! :) Jon Klaus Major wrote: > Hi Jon, > >> Jon wrote: >> ... >> I envy those of you who use Rev all of the time. >> For the rest of us, it continues to be a very frustrating experience. > > > Well, actually we did not wake up one morning and suddenly knew > how to do everything right, believe it or not... ;-) > > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From ambassador at fourthworld.com Thu Aug 18 17:25:36 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Aug 2005 14:25:36 -0700 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <4304F03E.9050201@sover.net> References: <4304DF78.7020102@sover.net> <4304E918.4050809@fourthworld.com> <4304F03E.9050201@sover.net> Message-ID: <4304FCD0.50502@fourthworld.com> Jon wrote: >>> I envy those of you who use Rev all of the time. For the rest of us, >>> it continues to be a very frustrating experience. >> >> How many other multi-platform programming language have your learned, >> and how much less time did they take to master? >> > My ONLY point was that I was unable to find this simple item in the > Help. I agree; it's as hard to find in Rev's help as it is in the world's most popular IDE, VB. When RunRev makes a token entry for that they'll have one up on the biggest software vendor in history. :) If participating in a discussion group to get near-instant assistance is frustrating, there's hope: When I was first transitioning to Transcript (back then it was called MetaTalk) from a background of mostly SuperTalk and a little C and Pascal (and all of it only on Mac), I whinged all over the discussion list about how this was wrong and that was wrong and why couldn't they just do it like it's done in HyperCard and why is the whole thing just stupid! Fortunately, RunRev's Kevin Miller and MetaCard Corp's Scott Raney had far more patience than I. In each case where I was certain the language was stupid they paitently walked me through how it got that way, how much its platform-independent nature (and arguably superior object model) sometimes meant I had to learn new ways of doing things. In every case they were able to turn my tirade into a productive learning experience. (Except in the case of the destroyStack token, which I still maintain is an unnecessarily frightening choice of terminology for something that's really quite benign ). If there's any reason I feel so supportive about the language today, it's because I came to it kicking and screaming. Having once wore the crown if King Whinger, I can tell you from firsthand experience that it's quite possible to learn the language well, and that it went a little faster once I got past the whingeing. You needn't learn the language as slowly as I did. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mark at maseurope.net Thu Aug 18 17:41:40 2005 From: mark at maseurope.net (Mark Smith) Date: Thu, 18 Aug 2005 22:41:40 +0100 Subject: Resetting a router In-Reply-To: References: Message-ID: Thanks to all. I agree that this is a more appropriate solution for my circumstance, however, appropriateness has not always been my best suit :) I've ordered an X10 interface, an X10 "appliance" unit and some software -- should be fun... Cheers, Mark On 18 Aug 2005, at 20:29, kee nethery wrote: > > On Aug 18, 2005, at 8:22 AM, Bill Vlahos wrote: > >> Another option is the brute force approach which is to buy a >> programmable timer that power cycles the router. Timex makes a 7-day >> programmable digital timer which could, for example, be set to turn >> the outlet off every Sunday a 3:00am and back on at 3:01am or >> whatever settings you want. This timer is less than $15 and has a >> built in clock and backup battery. I got mine at Target. > > :-) I like Bill's answer better than mine. For what you are doing, a > hard power cycle once a day should work just fine. > Kee > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com From alex at tweedly.net Thu Aug 18 17:51:39 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 18 Aug 2005 22:51:39 +0100 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <4304F60A.4030608@fourthworld.com> References: <4304DF78.7020102@sover.net> <4304E918.4050809@fourthworld.com> <4304F30C.5020603@tweedly.net> <4304F60A.4030608@fourthworld.com> Message-ID: <430502EB.9080002@tweedly.net> Richard Gaskin wrote: > xTalk is a radically different paradigm from most other languages, and > indeed carries much "unlearning". > > To help ease the journey for those familiar with other lanuguages I > would advocate an OPTIONAL assignment syntax as you describe. > > As an option, xTalk purists could continue to write as they always > have without ever needing to even think about it. > > > Options that bridge the gap for today's audience will be very > beneficial to RunRev, and by extension the rest of us regardless of > which syntax options we prefer. Allowing the "x = y+z" format for assignment statements is one option. I'd almost argue for a different approach: When in the script editor, and I hit TAB to re-layout the current handler, the script editor already needs to scan the entire handler for basic syntax and certain keywords. It could additionally check for lines of the form single-token assignment-operator sequence of more or more other tokens and convert it (after asking me) into put sequence ... tokens into single-token or add sequence ... tokens to single-token or etc. as appropriate for the assignment operator used. I guess a purist could say this kind of re-arrangement is different from simple indentation - but I kinda like this idea. And it would mean that the Transcript purists wouldn't be bothered by sample scripts showing up in this radical new, ugly syntax :-) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.12/75 - Release Date: 17/08/2005 From jhurley at infostations.com Thu Aug 18 18:03:32 2005 From: jhurley at infostations.com (Jim Hurley) Date: Thu, 18 Aug 2005 15:03:32 -0700 Subject: "Ask" does not put empty into "it" when "Cancel" is clicked. In-Reply-To: <20050818195910.B5CD18250AE@mail.runrev.com> References: <20050818195910.B5CD18250AE@mail.runrev.com> Message-ID: > >Message: 1 >Date: Thu, 18 Aug 2005 19:38:19 +0200 >From: Klaus Major >Subject: Re: "Ask" does not put empty into "it" when "Cancel" is > clicked. >To: How to use Revolution >Message-ID: <7CBFFCC6-9FD1-4A7F-9CA0-DF9C7BAB5833 at major-k.de> >Content-Type: text/plain; charset=US-ASCII; format=flowed > >Hi all, >> Jim, check your build number: >> >> in the messagebox, type: >> put buildnumber() >> >> I think this was quickly fixed by build 108. >> Download a recent version. > >until Rev has changed the way we have to load every new distribution >(the COMPLETE package :-/), it would be nice to have a place where >we can download the engines only! > > >Regards > >Klaus Major >klaus at major-k.de >http://www.major-k.de > Klaus, Good idea. It takes me 1.5 hours to download the whole works. And then there is the job of updating the plug-ins. Peripheral benefit to the new build: Spotlight is starting to index my Rev scripts--for both RR 2.5 and RR 2.6. I didn't test versions anything before 2.5. But only those stacks that have been newly saved. Odd, since Spotlight has clearly looks through my old MS Word files. (Maybe it will get around to the old RR files eventually--just waiting for enough idle time.) Jim From mwieder at ahsoftware.net Thu Aug 18 18:07:22 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Aug 2005 15:07:22 -0700 Subject: what to do after a Get URL? In-Reply-To: <4304EBDC.8040602@sover.net> References: <4304EBDC.8040602@sover.net> Message-ID: <11310290537.20050818150722@ahsoftware.net> Jon- Thursday, August 18, 2005, 1:13:16 PM, you wrote: > I understand how to write the statement > get url "ftp://a.b.c/d.txt" > or some such. OK, so now the file is somehow "in" the computer, with > the Get. Just on a whim, look at the Topic "Using URLs, upload, and downloading" in the docs. Try "How do I download a file from an FTP server?". > I'm sure this is simple/obvious, but only if you know it... ...or if you actually look at the docs... -- -Mark Wieder mwieder at ahsoftware.net From wdesigns at austin.rr.com Thu Aug 18 18:06:59 2005 From: wdesigns at austin.rr.com (Douglas Westbrook) Date: Thu, 18 Aug 2005 17:06:59 -0500 Subject: what to do after a Get URL? In-Reply-To: <4304EBDC.8040602@sover.net> References: <4304EBDC.8040602@sover.net> Message-ID: > get url "ftp://a.b.c/d.txt" > put it into field " whatever" On Aug 18, 2005, at 3:13 PM, Jon wrote: > I understand how to write the statement > > get url "ftp://a.b.c/d.txt" > put it into field " whatever" > or some such. OK, so now the file is somehow "in" the computer, > with the Get. > > What I don't "get" (so to speak) is how to put that data into my > local computer as a file. I assume it is something like > > put url "file://something" > > but I'm not sure about the "something". "file://c:/dir/ > filename.txt"? "file://c/dir/filename.txt"? And I'm not sure how > to specify the data to "put" in the Put statement: is it implicit > (one of those magic words like "it" or "this" or something)? > > I'm sure this is simple/obvious, but only if you know it... > > :) > > Jon > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Thu Aug 18 18:12:30 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Aug 2005 15:12:30 -0700 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <4304E918.4050809@fourthworld.com> References: <4304DF78.7020102@sover.net> <4304E918.4050809@fourthworld.com> Message-ID: <4910598269.20050818151230@ahsoftware.net> Richard- Thursday, August 18, 2005, 1:01:28 PM, you wrote: > Jon wrote: >> I envy those of you who use Rev all of the time. For the rest of us, it >> continues to be a very frustrating experience. > How many other multi-platform programming language have your learned, > and how much less time did they take to master? Sorry, Richard, but I think this is out of line here. I don't really know where I learned about the backslash, but it ain't easy finding out what the line continuation character is unless you ask it here. It's certainly not obvious from searching through the documentation, and if it's in there I couldn't say where it is. I learn a lot by looking at other people's code, but not everyone has the same style of learning. -- -Mark Wieder mwieder at ahsoftware.net From bnz2 at cdc.gov Thu Aug 18 18:13:10 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 18 Aug 2005 18:13:10 -0400 Subject: I give up: how do you continue a line in Rev? Message-ID: <64878EF567131D4596246171F75FD4A996819E@m-epo-1.epo.cdc.gov> I found it very helpful to read the docs cover to cover. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark Wieder Sent: Thursday, August 18, 2005 6:13 PM To: How to use Revolution Subject: Re: I give up: how do you continue a line in Rev? Richard- Thursday, August 18, 2005, 1:01:28 PM, you wrote: > Jon wrote: >> I envy those of you who use Rev all of the time. For the rest of us, it >> continues to be a very frustrating experience. > How many other multi-platform programming language have your learned, > and how much less time did they take to master? Sorry, Richard, but I think this is out of line here. I don't really know where I learned about the backslash, but it ain't easy finding out what the line continuation character is unless you ask it here. It's certainly not obvious from searching through the documentation, and if it's in there I couldn't say where it is. I learn a lot by looking at other people's code, but not everyone has the same style of learning. -- -Mark Wieder mwieder at ahsoftware.net _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From ianl at mac.com Thu Aug 18 18:19:03 2005 From: ianl at mac.com (Ian Leigh) Date: Thu, 18 Aug 2005 23:19:03 +0100 Subject: How would a game loop work? Message-ID: <3b72a25274d4b08f06da834598ef65d0@mac.com> What strikes me about rev is that it's harder to manage a flow of things from a main loop. For example, a game might have a particular loop for overall control which steps through all the required stages and then draws a new frame, starting the whole thing off again. How would you best manage a game in rev? Would you have a loop off a 'start game' button which could only be interrupted by the quit action? Just wondering how others have approached laying out games and such programs? Cheers Ian From pevensen at siboneylg.com Thu Aug 18 18:23:54 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 18 Aug 2005 17:23:54 -0500 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <64878EF567131D4596246171F75FD4A996819E@m-epo-1.epo.cdc.gov > References: <64878EF567131D4596246171F75FD4A996819E@m-epo-1.epo.cdc.gov> Message-ID: <6.2.1.2.2.20050818172230.17d97b20@exchange.slg.com> Is the continuation character documented someplace? The current documentation is a great reference. The videos are good for instruction, but I think there needs to be some more IDE documentation, like this is the code editor, you can switch the handler views using this menu, the continuation character is \, etc. At 05:13 PM 8/18/2005, you wrote: >I found it very helpful to read the docs cover to cover. > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark >Wieder >Sent: Thursday, August 18, 2005 6:13 PM >To: How to use Revolution >Subject: Re: I give up: how do you continue a line in Rev? > >Richard- > >Thursday, August 18, 2005, 1:01:28 PM, you wrote: > > > Jon wrote: > >> I envy those of you who use Rev all of the time. For the rest of us, >it > >> continues to be a very frustrating experience. > > > How many other multi-platform programming language have your learned, > > and how much less time did they take to master? > >Sorry, Richard, but I think this is out of line here. I don't really >know where I learned about the backslash, but it ain't easy finding >out what the line continuation character is unless you ask it here. >It's certainly not obvious from searching through the documentation, >and if it's in there I couldn't say where it is. I learn a lot by >looking at other people's code, but not everyone has the same style of >learning. > >-- >-Mark Wieder > mwieder at ahsoftware.net > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From jacque at hyperactivesw.com Thu Aug 18 18:28:42 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Aug 2005 17:28:42 -0500 Subject: help on design In-Reply-To: <556BF81B-6633-409A-B7DF-A886B2062ED3@conncoll.edu> References: <5ACAACFF-2CE8-4E55-8DA0-3EF99A0E4787@conncoll.edu> <4303FAEC.2030501@hyperactivesw.com> <0A826AAE-A983-481A-A8EF-F7D3F20665A1@conncoll.edu> <4304B2D9.2090703@hyperactivesw.com> <4304B532.3060206@hyperactivesw.com> <4304D67D.6040004@hyperactivesw.com> <556BF81B-6633-409A-B7DF-A886B2062ED3@conncoll.edu> Message-ID: <43050B9A.3070102@hyperactivesw.com> Charles Hartman wrote: > Thanks (as always!). But I put those four handlers in my substack's > stack script (and saved and closed the whole thing and removed it from > memory, then reopened it and navigated in the main stack and opened the > substack and navigated within it), and both the "go back" and "go > forth" buttons can still jump out of the substack. > > I used the message box to check the lockRecent; it keeps coming up > false, whether the substack is suspended or not. I found this in the docs: > > By default, the lockRecent property is set to false. It is reset to > false when no handlers are executing. > > That looks like it might be the problem . . . Aargh. Indeed. My apologies for running you around the block for nothing. I should have double-checked that before I replied. So, your original script will work okay if I remember right. Or you could do something like this: on opencard global gCdList if the short name of this stack is "theRightSubstack" then put the ID of this card & cr after gCdList end opencard Then your forward and back buttons could check gCdList, get a lineoffset to find the current card in the list, and use the next or previous line in gCdList as the destination for the "go". If there isn't a previous or next line in the list, then just go to the next or previous card in the stack normally. Another thought was to use the built-in "push" and "pop" commands to build a list, but that may be more work than you want to do. You can check the validity of a card to see if it meets your criteria and if so, "push this card". That puts it at the top of an internal list that Rev keeps. "Pop card" returns you to the previous pushed card in the list and removes the entry from the list. Every subsequent "pop" moves you backward through your visited cards. This would let you go backward easily but not forward again, because popped entries are removed. However, you can "pop card before gCdList" which would move the entry from Rev's internal list and into your own global list. In that case, gCdList would be storing the "forward" list and Rev would be storing the "backward" list. It would probably work but you'd have two lists to keep track of. But be cautious about listening to me, obviously I am fuzzy today. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bnz2 at cdc.gov Thu Aug 18 18:30:56 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 18 Aug 2005 18:30:56 -0400 Subject: I give up: how do you continue a line in Rev? Message-ID: <64878EF567131D4596246171F75FD4A9744626@m-epo-1.epo.cdc.gov> How about this: We take the entire Rev docs and put them in a Wiki (hopefully this process can be automated) Then, when we find a problem or something that needs to be added to the docs, whichever one of us has the answer to the problem goes to the wiki and modifies the document, or creates a new page, or whatever is needed. We could probably add quite a few how-to pages, and probably expand a number of reference items with further examples as needed. It would not be viewed as big 'ol humungous project. Instead, it would just be natural ongoing process in response to discussions on this list. Just like when you guys say 'did you BZ it' in response to newly discovered bugs, we would also say 'did you Wiki it' in response to newly discovered solutions or needed explanations. Would this be practical? Is there any way to automatically put the docs into a Wiki? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Peter T. Evensen Sent: Thursday, August 18, 2005 6:24 PM To: How to use Revolution Subject: RE: I give up: how do you continue a line in Rev? Is the continuation character documented someplace? The current documentation is a great reference. The videos are good for instruction, but I think there needs to be some more IDE documentation, like this is the code editor, you can switch the handler views using this menu, the continuation character is \, etc. At 05:13 PM 8/18/2005, you wrote: >I found it very helpful to read the docs cover to cover. > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark >Wieder >Sent: Thursday, August 18, 2005 6:13 PM >To: How to use Revolution >Subject: Re: I give up: how do you continue a line in Rev? > >Richard- > >Thursday, August 18, 2005, 1:01:28 PM, you wrote: > > > Jon wrote: > >> I envy those of you who use Rev all of the time. For the rest of us, >it > >> continues to be a very frustrating experience. > > > How many other multi-platform programming language have your learned, > > and how much less time did they take to master? > >Sorry, Richard, but I think this is out of line here. I don't really >know where I learned about the backslash, but it ain't easy finding >out what the line continuation character is unless you ask it here. >It's certainly not obvious from searching through the documentation, >and if it's in there I couldn't say where it is. I learn a lot by >looking at other people's code, but not everyone has the same style of >learning. > >-- >-Mark Wieder > mwieder at ahsoftware.net > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From jbondy at sover.net Thu Aug 18 18:38:33 2005 From: jbondy at sover.net (Jon) Date: Thu, 18 Aug 2005 18:38:33 -0400 Subject: what to do after a Get URL? In-Reply-To: <11310290537.20050818150722@ahsoftware.net> References: <4304EBDC.8040602@sover.net> <11310290537.20050818150722@ahsoftware.net> Message-ID: <43050DE9.7090809@sover.net> Mark: Yep, it is there. I guess I need to look longer/harder... :) Jon Mark Wieder wrote: >Jon- > >Thursday, August 18, 2005, 1:13:16 PM, you wrote: > > > >>I understand how to write the statement >> >> > > > >>get url "ftp://a.b.c/d.txt" >> >> > > > >>or some such. OK, so now the file is somehow "in" the computer, with >>the Get. >> >> > >Just on a whim, look at the Topic "Using URLs, upload, and >downloading" in the docs. Try "How do I download a file from an FTP >server?". > > > >>I'm sure this is simple/obvious, but only if you know it... >> >> > >...or if you actually look at the docs... > > > From pevensen at siboneylg.com Thu Aug 18 18:39:16 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Thu, 18 Aug 2005 17:39:16 -0500 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <64878EF567131D4596246171F75FD4A9744626@m-epo-1.epo.cdc.gov > References: <64878EF567131D4596246171F75FD4A9744626@m-epo-1.epo.cdc.gov> Message-ID: <6.2.1.2.2.20050818173905.17dd3e80@exchange.slg.com> There are webnotes... not sure exactly how those work. At 05:30 PM 8/18/2005, you wrote: >How about this: > >We take the entire Rev docs and put them in a Wiki (hopefully this >process can be automated) > >Then, when we find a problem or something that needs to be added to the >docs, whichever one of us has the answer to the problem goes to the wiki >and modifies the document, or creates a new page, or whatever is needed. > >We could probably add quite a few how-to pages, and probably expand a >number of reference items with further examples as needed. > >It would not be viewed as big 'ol humungous project. Instead, it would >just be natural ongoing process in response to discussions on this list. >Just like when you guys say 'did you BZ it' in response to newly >discovered bugs, we would also say 'did you Wiki it' in response to >newly discovered solutions or needed explanations. > >Would this be practical? >Is there any way to automatically put the docs into a Wiki? > > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Peter T. >Evensen >Sent: Thursday, August 18, 2005 6:24 PM >To: How to use Revolution >Subject: RE: I give up: how do you continue a line in Rev? > >Is the continuation character documented someplace? > >The current documentation is a great reference. The videos are good for > >instruction, but I think there needs to be some more IDE documentation, >like this is the code editor, you can switch the handler views using >this >menu, the continuation character is \, etc. > >At 05:13 PM 8/18/2005, you wrote: > >I found it very helpful to read the docs cover to cover. > > > >-----Original Message----- > >From: use-revolution-bounces at lists.runrev.com > >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark > >Wieder > >Sent: Thursday, August 18, 2005 6:13 PM > >To: How to use Revolution > >Subject: Re: I give up: how do you continue a line in Rev? > > > >Richard- > > > >Thursday, August 18, 2005, 1:01:28 PM, you wrote: > > > > > Jon wrote: > > >> I envy those of you who use Rev all of the time. For the rest of >us, > >it > > >> continues to be a very frustrating experience. > > > > > How many other multi-platform programming language have your >learned, > > > and how much less time did they take to master? > > > >Sorry, Richard, but I think this is out of line here. I don't really > >know where I learned about the backslash, but it ain't easy finding > >out what the line continuation character is unless you ask it here. > >It's certainly not obvious from searching through the documentation, > >and if it's in there I couldn't say where it is. I learn a lot by > >looking at other people's code, but not everyone has the same style of > >learning. > > > >-- > >-Mark Wieder > > mwieder at ahsoftware.net > > > >_______________________________________________ > >use-revolution mailing list > >use-revolution at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > >_______________________________________________ > >use-revolution mailing list > >use-revolution at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-revolution > >Peter T. Evensen >http://www.PetersRoadToHealth.com >24-hour recorded info hotline: 1-800-624-7671 > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From jbondy at sover.net Thu Aug 18 18:40:34 2005 From: jbondy at sover.net (Jon) Date: Thu, 18 Aug 2005 18:40:34 -0400 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <4910598269.20050818151230@ahsoftware.net> References: <4304DF78.7020102@sover.net> <4304E918.4050809@fourthworld.com> <4910598269.20050818151230@ahsoftware.net> Message-ID: <43050E62.3010506@sover.net> "I learn a lot by looking at other people's code, but not everyone has the same style of learning." Just FYI, I did look at a lot of code before asking, but most people seem to be able to avoid using the backslash. I did too, right up until I had to use a huge libUrlFormData statement... :) Jon Mark Wieder wrote: >Richard- > >Thursday, August 18, 2005, 1:01:28 PM, you wrote: > > > >>Jon wrote: >> >> >>>I envy those of you who use Rev all of the time. For the rest of us, it >>>continues to be a very frustrating experience. >>> >>> > > > >>How many other multi-platform programming language have your learned, >>and how much less time did they take to master? >> >> > >Sorry, Richard, but I think this is out of line here. I don't really >know where I learned about the backslash, but it ain't easy finding >out what the line continuation character is unless you ask it here. >It's certainly not obvious from searching through the documentation, >and if it's in there I couldn't say where it is. I learn a lot by >looking at other people's code, but not everyone has the same style of >learning. > > > From jbondy at sover.net Thu Aug 18 18:42:37 2005 From: jbondy at sover.net (Jon) Date: Thu, 18 Aug 2005 18:42:37 -0400 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <64878EF567131D4596246171F75FD4A996819E@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A996819E@m-epo-1.epo.cdc.gov> Message-ID: <43050EDD.3020708@sover.net> I understand that some folks learn that way, but I learn better when I focus on the task at hand and look at examples. If I try to read about EVERY feature in the language, I usually just get overwhelmed. I agree that learning some fundamentals (chunks is a great example) is really necessary, but when it comes to more specialized facilities (such as the FTP and URL stuff that I've been doing today), I would forget it all before I ever had to lose it. I think some people just learn differently than others. :) Jon Lynch, Jonathan wrote: >I found it very helpful to read the docs cover to cover. > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark >Wieder >Sent: Thursday, August 18, 2005 6:13 PM >To: How to use Revolution >Subject: Re: I give up: how do you continue a line in Rev? > >Richard- > >Thursday, August 18, 2005, 1:01:28 PM, you wrote: > > > >>Jon wrote: >> >> >>>I envy those of you who use Rev all of the time. For the rest of us, >>> >>> >it > > >>>continues to be a very frustrating experience. >>> >>> > > > >>How many other multi-platform programming language have your learned, >>and how much less time did they take to master? >> >> > >Sorry, Richard, but I think this is out of line here. I don't really >know where I learned about the backslash, but it ain't easy finding >out what the line continuation character is unless you ask it here. >It's certainly not obvious from searching through the documentation, >and if it's in there I couldn't say where it is. I learn a lot by >looking at other people's code, but not everyone has the same style of >learning. > > > From bnz2 at cdc.gov Thu Aug 18 18:44:29 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 18 Aug 2005 18:44:29 -0400 Subject: I give up: how do you continue a line in Rev? Message-ID: <64878EF567131D4596246171F75FD4A99681A1@m-epo-1.epo.cdc.gov> I must confess that I am guilty of having some lines that stretch to more than twice the width of my screen. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jon Sent: Thursday, August 18, 2005 6:41 PM To: How to use Revolution Subject: Re: I give up: how do you continue a line in Rev? "I learn a lot by looking at other people's code, but not everyone has the same style of learning." Just FYI, I did look at a lot of code before asking, but most people seem to be able to avoid using the backslash. I did too, right up until I had to use a huge libUrlFormData statement... :) Jon Mark Wieder wrote: >Richard- > >Thursday, August 18, 2005, 1:01:28 PM, you wrote: > > > >>Jon wrote: >> >> >>>I envy those of you who use Rev all of the time. For the rest of us, it >>>continues to be a very frustrating experience. >>> >>> > > > >>How many other multi-platform programming language have your learned, >>and how much less time did they take to master? >> >> > >Sorry, Richard, but I think this is out of line here. I don't really >know where I learned about the backslash, but it ain't easy finding >out what the line continuation character is unless you ask it here. >It's certainly not obvious from searching through the documentation, >and if it's in there I couldn't say where it is. I learn a lot by >looking at other people's code, but not everyone has the same style of >learning. > > > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Thu Aug 18 18:47:08 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Aug 2005 17:47:08 -0500 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <4304FCD0.50502@fourthworld.com> References: <4304DF78.7020102@sover.net> <4304E918.4050809@fourthworld.com> <4304F03E.9050201@sover.net> <4304FCD0.50502@fourthworld.com> Message-ID: <43050FEC.9050200@hyperactivesw.com> Richard Gaskin wrote: > When I was first transitioning to Transcript (back then it was called > MetaTalk) from a background of mostly SuperTalk and a little C and > Pascal (and all of it only on Mac), I whinged all over the discussion > list about how this was wrong and that was wrong and why couldn't they > just do it like it's done in HyperCard and why is the whole thing just > stupid! > > Fortunately, RunRev's Kevin Miller and MetaCard Corp's Scott Raney had > far more patience than I. In each case where I was certain the language > was stupid they paitently walked me through how it got that way, how > much its platform-independent nature (and arguably superior object > model) sometimes meant I had to learn new ways of doing things. Yeah. And then when I first started with Transcript/MetaCard, I was SCREAMING and waking the neighbors and pounding my fist and pissing off my husband. And Richard -- who was about a year ahead of me with MetaCard -- patiently walked me through it and explained how the differences from HyperCard were necessary, and etc etc... until I learned it. And grew to love it. And then, one of my clients called me on the phone, and was hollering and screaming, and I walked him through it and explained... Honest. :) I think we all did it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Thu Aug 18 18:47:45 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 18 Aug 2005 17:47:45 -0500 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <6.2.1.2.2.20050818172230.17d97b20@exchange.slg.com> Message-ID: On 8/18/05 5:23 PM, "Peter T. Evensen" wrote: > Is the continuation character documented someplace? Absolutely! It's under the \ keyword in the Dictionary. Technically it's called a "line continuation character", so when I did a search in the Dictionary for "continuation" (Search, not Filter), the first hit was the "\". Additionally, its in Topics, under "Writing Transcript Code": "How do I break a line in a script?" So it's there, it just may not be as easy to find for some as for others, IMHO. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jacque at hyperactivesw.com Thu Aug 18 18:50:26 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Aug 2005 17:50:26 -0500 Subject: Resetting a router In-Reply-To: References: Message-ID: <430510B2.2010201@hyperactivesw.com> Mark Smith wrote: > Thanks to all. I agree that this is a more appropriate solution for my > circumstance, however, appropriateness has not always been my best suit :) > I've ordered an X10 interface, an X10 "appliance" unit and some software > -- should be fun... Ooh! Ooh! Which one? Our whole house is X10. The old serial/appletalk computer interface I had was awful and I took it off the system. I'm looking for a better one. Have they come up with something yet? I suppose this is off-topic, so a quick pointer to a url somewhere would be enough. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu Aug 18 19:16:28 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Aug 2005 16:16:28 -0700 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <4910598269.20050818151230@ahsoftware.net> References: <4304DF78.7020102@sover.net> <4304E918.4050809@fourthworld.com> <4910598269.20050818151230@ahsoftware.net> Message-ID: <430516CC.8040008@fourthworld.com> Mark Wieder wrote: > Thursday, August 18, 2005, 1:01:28 PM, you wrote: > >>Jon wrote: >>>I envy those of you who use Rev all of the time. For the rest of us, it >>>continues to be a very frustrating experience. > >>How many other multi-platform programming language have your learned, >>and how much less time did they take to master? > > Sorry, Richard, but I think this is out of line here. I don't really > know where I learned about the backslash, but it ain't easy finding > out what the line continuation character is unless you ask it here. > It's certainly not obvious from searching through the documentation, > and if it's in there I couldn't say where it is. I learn a lot by > looking at other people's code, but not everyone has the same style of > learning. Of course; I wouldn't presume to speak for all users, exerienced or otherwise. I learned about Transcript's line continuation character from other scripters, just like Jon did. If that was the extent of his post there would have been no reason for follow-ups from Chipp, me, other the others who've replied here. But since he raised the suggestion that Rev is unusually frustrating, to understand what he means it's helpful to know what he's comparing it to. All product documentation has holes in it, and not just software; cars, cell phones, and many other product docs are just as lacking. Everyone tries to do a good job with their docs, but everyone fails with some detail or another. As Chipp pointed out, the world's most popular IDE made by the world's richest software company fails just as miserably as Rev on this one. As I noted in my previous post, I fully agree with Jon that it would be great for Rev to include an entry for the backslash token in the docs. If someone will kindly drop this into the BZ queue we can expect that to happen, then we'd never need to think about it again and Rev would have one up on Microsoft. I remain very supportive of any productive activities that improve the product and people's experience with it. And as far as learning a programming language being frustrating, I agree there too -- all of them are at one time or another. If Rev is portrayed as frustrating enough to be noteworthy, I don't see how it's out of line to ask what it's being compared to. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From gandalf at doctorTimothyMiller.com Thu Aug 18 19:18:09 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Thu, 18 Aug 2005 16:18:09 -0700 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <0a27f24c701ea9f5f1aed1d047f7d14b@maseurope.net> References: <4304DF78.7020102@sover.net> <0a27f24c701ea9f5f1aed1d047f7d14b@maseurope.net> Message-ID: I think it was Jon who asked about line wraps. Jon, you might not have noticed a nice Rev feature that also addresses your concern. When a script window is open, you'll find a "wrap long lines" item in the "view" dropdown menu. If you turn it on, you don't need the backslash, but you can still read or write those occasional looonnngggg lines. BTW, I've had frustration, too, but my comfort level is rising. HC converts seem to expect an easy learning curve. I was, and I did. Rev is not nightmarishly hard, but it's not your Grandma's hyperCard either. I got stuck on little stuff -- like your line wrap question -- pretty often at first. Not so much now. Hope this helps. Tim From ambassador at fourthworld.com Thu Aug 18 19:20:07 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Aug 2005 16:20:07 -0700 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <43050EDD.3020708@sover.net> References: <64878EF567131D4596246171F75FD4A996819E@m-epo-1.epo.cdc.gov> <43050EDD.3020708@sover.net> Message-ID: <430517A7.30202@fourthworld.com> Jon wrote: > I think some people just learn differently than others. No doubt. But at least you and I have one useful thing in common: If we don't find it easily in the docs we bring the question here to this list. Near-immediate gratification at zero cost -- hard to beat that value. I never learned a language without some online community to assist, even before the Web was invented in 1987 and all we had were Wildcat BBSes. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From revdan at danshafer.com Thu Aug 18 19:22:02 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 18 Aug 2005 16:22:02 -0700 Subject: dumb cgi question In-Reply-To: <4304E205.EA56A76F@Club-Internet.fr> References: <4304B48F.B1031A54@Club-Internet.fr> <741CC8A5-5295-41A7-BAAE-8312C885AE2C@danshafer.com> <4304E205.EA56A76F@Club-Internet.fr> Message-ID: <7F19858D-6256-42E2-BBF7-114E26FD3563@danshafer.com> Yes, regardless of the name of the file. I've checked three PHP references I have and they all say the same thing. PHP is viewed as embedded in an HTML page even when there are no HTML tags around. So if you're sending the browser a dynamically created page that contains -- or even consists entirely of -- PHP script, then you use the header text/html. I've tested this here and it works. So I'm not sure what you mean by "thanks for answering anyway...." implying that I'm wrong. Maybe you've uncovered contradictory information? On Aug 18, 2005, at 12:31 PM, jbv wrote: > even if the original file name was "myFile.php" ? > > Thanks for answering anyway... > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From sarahr at genesearch.com.au Thu Aug 18 19:49:10 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 19 Aug 2005 09:49:10 +1000 Subject: How would a game loop work? In-Reply-To: <3b72a25274d4b08f06da834598ef65d0@mac.com> References: <3b72a25274d4b08f06da834598ef65d0@mac.com> Message-ID: > What strikes me about rev is that it's harder to manage a flow of > things from a main loop. For example, a game might have a > particular loop for overall control which steps through all the > required stages and then draws a new frame, starting the whole > thing off again. How would you best manage a game in rev? Would you > have a loop off a 'start game' button which could only be > interrupted by the quit action? Just wondering how others have > approached laying out games and such programs? I would use the "send in time" structure. Have your main game loop in a single handler. Starting the game would call this main loop, which could look something like this: on mainGameLoop -- draw screen etc send "mainGameLoop" to me in 1 tick end mainGameLoop The "send" command is non-clocking, so any user input can be seen & processed in other handlers or scripts, while the main loop keeps happening effectively in the background. Scott Rossi at Tactile Media has some excellent examples of this. Cheers, Sarah From mark at maseurope.net Thu Aug 18 20:04:14 2005 From: mark at maseurope.net (Mark Smith) Date: Fri, 19 Aug 2005 01:04:14 +0100 Subject: Resetting a router In-Reply-To: <430510B2.2010201@hyperactivesw.com> References: <430510B2.2010201@hyperactivesw.com> Message-ID: Jacque, here's some links: http://www.smarthome.com/1430.html http://www.alwaysthinking.com/products/products.html and for those of us on 240 Volts in the UK: http://www.letsautomate.com/ I've gone for the most basic (and cheapest) set up, just to get a feel for it, but it seems like you can really do a lot with this stuff. The Always Thinking software claims to be highly appleScriptable, so there's the interface with Rev.... Best, Mark On 18 Aug 2005, at 23:50, J. Landman Gay wrote: > Mark Smith wrote: >> Thanks to all. I agree that this is a more appropriate solution for >> my circumstance, however, appropriateness has not always been my best >> suit :) >> I've ordered an X10 interface, an X10 "appliance" unit and some >> software -- should be fun... > > Ooh! Ooh! Which one? Our whole house is X10. The old serial/appletalk > computer interface I had was awful and I took it off the system. I'm > looking for a better one. Have they come up with something yet? > > I suppose this is off-topic, so a quick pointer to a url somewhere > would be enough. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Thu Aug 18 20:35:19 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 19 Aug 2005 10:35:19 +1000 Subject: smart card readers Message-ID: Has anyone interacted with a smart card reader using Revolution? I need to do it using OS X, either directly through USB or by serial via a USB adapter. Any suggestions about brands, externals or any other hints would be greatly appreciated. Thanks, Sarah From wdesigns at austin.rr.com Thu Aug 18 20:38:54 2005 From: wdesigns at austin.rr.com (Douglas Westbrook) Date: Thu, 18 Aug 2005 19:38:54 -0500 Subject: How to Close URL after RR opens it? Message-ID: Does anybody know how to close a URL after it is opened from Runtime Revolution Application and then return to the Application? Thanks, Doug From rjearp at hotmail.com Thu Aug 18 20:40:32 2005 From: rjearp at hotmail.com (Bob Earp) Date: Thu, 18 Aug 2005 17:40:32 -0700 Subject: Webnotes (was continuing/wrapping script line) Message-ID: I notice that Webnotes do appear in the description area of the Documents once you have selected to show them on the bottom of the Documents window, but I still don't have an active icon to add/edit the Webnotes. The little Globe icon (I believe it's the one to do this) is inactive: as is the printer icon actually !! Should I be activating this somehow? Tnx, Bob... Bob Earp - White Rock, BC _________________________________________________________________ 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 webmaster at dreamscapesoftware.com Thu Aug 18 20:46:28 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 18 Aug 2005 19:46:28 -0500 Subject: Spell Checker In-Reply-To: <4E49A72E-237A-4333-8EDD-9B888D44FDD7@hindu.org> References: <4E49A72E-237A-4333-8EDD-9B888D44FDD7@hindu.org> Message-ID: <43052BE4.1020809@dreamscapesoftware.com> Sivakatirswami wrote: > Derek... Please ignore my post to the list... I just now see you bailed > on that project (or were forced to...) > > But I never did get from you what you had done so far, per your memo: > > Sivakatirswami Sivaktirswami, Let me first apologize for the time it has taken me to get back to you. My main computer's hard drive is corrupted and I spend the better part of 2 days attempting to get as many files off of it as possible (Mostly my iTunes Library). I do have a back up that is recent enough to include the Spell Checker, but I cannot give it out at this point. I have not forgotten about you, as well as the other Revolution Developers, and I am working to get the Spell Checker finished. It would be a valuable tool for Revolution that really should have been included a long time ago in the development package. Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com/ From DanielWenger at worldnet.att.net Thu Aug 18 21:59:35 2005 From: DanielWenger at worldnet.att.net (Daniel Wenger) Date: Thu, 18 Aug 2005 18:59:35 -0700 Subject: ODBC and File Maker Pro 7 Message-ID: <3B9198FC-17AA-4F5E-96E7-68F192239667@worldnet.att.net> I am testing File Maker Pro for a month free. I am testing Revolution 2.6 free for a month. I am trying to do a revOpenDatabase("ODBC","",CWData) where the FMP7 database in on my local machine. In "User DSN" of ODBC Administrator I have CWData in the Name and "File Maker Pro" in the Driver. In Drivers of ODBC Admin. I have File Maker Pro in the Driver and /Users/dlw/Library/ODBC/SequeLink.bundle/Contents/MacOS/ivslk18.dylib in the Driver File. I have three items in /Users/dlw/Library/ODBC namely SequeLink.bundle odbc.ini odbcinst.ini Permissions for /Users/dlw/Library/ODBC and all included files are set to Read Write for everyone. SequeLink came from the download fm_7_osx_xdbc_7.0.5.317.sit from the File Maker site. When I execute revOpenDatabase("ODBC","",CWData) I get > executing at 6:36:22 PM > Type Function: error in function handler > Object Try > Line put revOpenDatabase("ODBC","",CWData) into theDB > Hint revOpenDatabase I have tried various other combinations of arguments to revOpenDatabase suggested by the help information but without success. What puzzles me is where the actual FMP database name is entered. I have tried it as a string in the third position but without success. Any help would be greatly appreciated. If I can get this to work I will be very happy and I will buy both products. I was successful in converting my HyperCard stack and getting it to access FMP via AppleScript but I want to develope a cross platform product. Daniel Wenger From DanielWenger at worldnet.att.net Thu Aug 18 22:16:02 2005 From: DanielWenger at worldnet.att.net (Daniel Wenger) Date: Thu, 18 Aug 2005 19:16:02 -0700 Subject: ODBC File Maker Pro 7 followup Message-ID: <659AC383-CA4E-4BA5-A6E3-BFBE2B1CE8B8@worldnet.att.net> I have figured out out to get the actual database name into the configuration. Via the Name/Value entries in the DNS I used Host localhost Port 2399 ServerDataSource myFMPDatabaseName (tried both as a single filename and as a full path filename) Need to go to sleep now. Thanks for help. Daniel Wenger From kgjaqua1 at sbcglobal.net Thu Aug 18 23:40:59 2005 From: kgjaqua1 at sbcglobal.net (Kathy Jaqua) Date: Thu, 18 Aug 2005 20:40:59 -0700 (PDT) Subject: clipboardData imageSource Message-ID: <20050819034059.19552.qmail@web81110.mail.yahoo.com> Hi y'all I am trying to place an imageSource in the clipboard. I have a number of imageSources lined up in a field. I want to place 1 clicked-on imageSource into the clipboard. The following is not working. Help? local tImageSourceCopy put the clickCharChunk into tImageSourceCopy set the clipboardData["image"] to image tImageSourceCopy Any Ideas... Kathy Graves Jaqua A Wildest Dream Software kgjaqua1 at sbcglobal.net From chipp at chipp.com Fri Aug 19 00:02:59 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 18 Aug 2005 23:02:59 -0500 Subject: clipboardData imageSource In-Reply-To: <20050819034059.19552.qmail@web81110.mail.yahoo.com> References: <20050819034059.19552.qmail@web81110.mail.yahoo.com> Message-ID: <430559F3.8050007@chipp.com> Hi Kathy, Here's the fix... http://lists.runrev.com/pipermail/metacard/2003-March/004340.html -Chipp Kathy Jaqua wrote: > Hi y'all > > I am trying to place an imageSource in the clipboard. > > I have a number of imageSources lined up in a field. I > want to place 1 clicked-on imageSource into the > clipboard. > > The following is not working. Help? > > local tImageSourceCopy > > put the clickCharChunk into tImageSourceCopy > set the clipboardData["image"] to image > tImageSourceCopy > From jbv.silences at Club-Internet.fr Fri Aug 19 00:42:15 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 19 Aug 2005 06:42:15 +0200 Subject: dumb cgi question References: <4304B48F.B1031A54@Club-Internet.fr> <741CC8A5-5295-41A7-BAAE-8312C885AE2C@danshafer.com> <4304E205.EA56A76F@Club-Internet.fr> <7F19858D-6256-42E2-BBF7-114E26FD3563@danshafer.com> Message-ID: <43056325.7CBEDB24@Club-Internet.fr> Dan, > > So I'm not sure what you mean by "thanks for answering anyway...." > implying that I'm wrong. Maybe you've uncovered contradictory > information? > Please don't be confused by my poor english... The important part of the sentence was "thanks for answering". Tha actual meaning was : no matter how dumb my question was, anyway I truly apreciate the time & energy you spent trying to find an answer". I hope I made everything clear. Best, JB From mwieder at ahsoftware.net Fri Aug 19 00:41:03 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Aug 2005 21:41:03 -0700 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <430516CC.8040008@fourthworld.com> References: <4304DF78.7020102@sover.net> <4304E918.4050809@fourthworld.com> <4910598269.20050818151230@ahsoftware.net> <430516CC.8040008@fourthworld.com> Message-ID: <14133910771.20050818214103@ahsoftware.net> Richard- Thursday, August 18, 2005, 4:16:28 PM, you wrote: > As I noted in my previous post, I fully agree with Jon that it would be > great for Rev to include an entry for the backslash token in the docs. > If someone will kindly drop this into the BZ queue we can expect that to > happen, then we'd never need to think about it again and Rev would have Good point. BZ #3065 now entered. -- -Mark Wieder mwieder at ahsoftware.net From briany at qldlearning.com Fri Aug 19 00:39:42 2005 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 18 Aug 2005 21:39:42 -0700 Subject: clipboardData imageSource In-Reply-To: <430559F3.8050007@chipp.com> References: <20050819034059.19552.qmail@web81110.mail.yahoo.com> <430559F3.8050007@chipp.com> Message-ID: <3a07803da4e442f2e38eb4082354119a@qldlearning.com> Chipp, Any reason why this: on copyToClip pImage choose select tool drag from topleft of image pImage to botright of image pImage copy choose browse tool end copyToClip can't be just: on copyToClip pImage select image pImage copy choose browse tool end copyToClip > Hi Kathy, > > Here's the fix... > > http://lists.runrev.com/pipermail/metacard/2003-March/004340.html > > -Chipp From kgjaqua1 at sbcglobal.net Fri Aug 19 00:42:28 2005 From: kgjaqua1 at sbcglobal.net (Kathy Jaqua) Date: Thu, 18 Aug 2005 21:42:28 -0700 (PDT) Subject: clipboardData imageSource Message-ID: <20050819044228.79074.qmail@web81107.mail.yahoo.com> Hi Chipp Thanks... I changed the script to the following and got an error saying 'no such object'. I might add that I am clicking on 1 of over 300 imageSources of verying sizes in a field. Any other Ideas? on mouseDoubleDown local tIndex if the mouseCharChunk is empty then exit mouseDoubleDown end if put the imageSource of the mouseCharChunk into tIndex choose select tool drag from topleft of image tIndex to botright of image tIndex copy choose browse tool end mouseDoubleDown Kathy Graves Jaqua A Wildest Dream Software From ambassador at fourthworld.com Fri Aug 19 01:21:34 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Aug 2005 22:21:34 -0700 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <14133910771.20050818214103@ahsoftware.net> References: <4304DF78.7020102@sover.net> <4304E918.4050809@fourthworld.com> <4910598269.20050818151230@ahsoftware.net> <430516CC.8040008@fourthworld.com> <14133910771.20050818214103@ahsoftware.net> Message-ID: <43056C5E.3020201@fourthworld.com> Mark Wieder wrote: > Richard- > > Thursday, August 18, 2005, 4:16:28 PM, you wrote: >>As I noted in my previous post, I fully agree with Jon that it would be >>great for Rev to include an entry for the backslash token in the docs. >>If someone will kindly drop this into the BZ queue we can expect that to >>happen, then we'd never need to think about it again and Rev would have > > Good point. BZ #3065 now entered. Thanks for taking care of that. BZ is a great way to make sure things don't fall off the radar. I have it bookmarked for quick access. I appreciate when companies provide things like that, like Apple's Feedback page. I sure with more of my vendors gave us a way to put things in their queue. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From scott at tactilemedia.com Fri Aug 19 01:28:07 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 18 Aug 2005 22:28:07 -0700 Subject: How would a game loop work? In-Reply-To: <3b72a25274d4b08f06da834598ef65d0@mac.com> Message-ID: Recently, Ian Leigh wrote: > What strikes me about rev is that it's harder to manage a flow of > things from a main loop. For example, a game might have a particular > loop for overall control which steps through all the required stages > and then draws a new frame, starting the whole thing off again. How > would you best manage a game in rev? Would you have a loop off a 'start > game' button which could only be interrupted by the quit action? Just > wondering how others have approached laying out games and such > programs? As Sarah suggested, using the 'send' command would a good way to go. This allows you to employ multiple loops, not just a single loop. Individual objects can have their own "lives" (looping scripts). For two very simple examples, execute the following in your message box: go url "http://www.tactilemedia.com/tmpanel.rev" ...and see the Bouncer2 and Click Detector demo stacks. Two things to keep in mind: 1) Be judicious with the frequency of your send messages. Sending lots of messages many times per second can eat up processor use and bog down your game, not to mention your system. 2) If you are moving many objects around a screen at once, avoid locking the screen. You can often get away with moving many small objects simultaneously and get better performance without locking the screen. Make sure to take a look at Arcade Engine created by Malte brill. He's got some great stuff in there for doing games. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From revdan at danshafer.com Fri Aug 19 02:35:24 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 18 Aug 2005 23:35:24 -0700 Subject: dumb cgi question In-Reply-To: <43056325.7CBEDB24@Club-Internet.fr> References: <4304B48F.B1031A54@Club-Internet.fr> <741CC8A5-5295-41A7-BAAE-8312C885AE2C@danshafer.com> <4304E205.EA56A76F@Club-Internet.fr> <7F19858D-6256-42E2-BBF7-114E26FD3563@danshafer.com> <43056325.7CBEDB24@Club-Internet.fr> Message-ID: <2B93BEFD-D4C9-461F-9B3A-DE443E563787@danshafer.com> AH, sure. Sorry for my response. I was having some Rev problems and that always makes me cranky. Dan On Aug 18, 2005, at 9:42 PM, jbv wrote: > > > Dan, > > >> >> So I'm not sure what you mean by "thanks for answering anyway...." >> implying that I'm wrong. Maybe you've uncovered contradictory >> information? >> >> > > Please don't be confused by my poor english... > The important part of the sentence was "thanks for answering". > Tha actual meaning was : no matter how dumb my question was, > anyway I truly apreciate the time & energy you spent trying to find an > answer". > > I hope I made everything clear. > > Best, > JB > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Fri Aug 19 02:51:12 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 19 Aug 2005 01:51:12 -0500 Subject: [Fwd: Re: clipboardData imageSource] Message-ID: <43058160.7080002@chipp.com> Yep, Yours won't copy the image to the clipboard for pasting into another (different) program. best, Chipp Brian Yennie wrote: > Chipp, > > Any reason why this: > > on copyToClip pImage > choose select tool > drag from topleft of image pImage to botright of image pImage > copy > choose browse tool > end copyToClip > > can't be just: > > on copyToClip pImage > select image pImage > copy > choose browse tool > end copyToClip From briany at qldlearning.com Fri Aug 19 02:56:12 2005 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 18 Aug 2005 23:56:12 -0700 Subject: [Fwd: Re: clipboardData imageSource] In-Reply-To: <43058160.7080002@chipp.com> References: <43058160.7080002@chipp.com> Message-ID: Good reason =P! Is there a good reason why using the "select" command has to be simulated by dragging the select tool in order to make a copy? Wouldn't this fail for anything offscreen, invisible, or layered? - Brian > Yep, > > Yours won't copy the image to the clipboard for pasting into another > (different) program. > > best, > > Chipp > > Brian Yennie wrote: >> Chipp, >> Any reason why this: >> on copyToClip pImage >> choose select tool >> drag from topleft of image pImage to botright of image pImage >> copy >> choose browse tool >> end copyToClip >> can't be just: >> on copyToClip pImage >> select image pImage >> copy >> choose browse tool >> end copyToClip > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From chipp at chipp.com Fri Aug 19 02:56:24 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 19 Aug 2005 01:56:24 -0500 Subject: clipboardData imageSource In-Reply-To: <20050819044228.79074.qmail@web81107.mail.yahoo.com> References: <20050819044228.79074.qmail@web81107.mail.yahoo.com> Message-ID: <43058298.8030607@chipp.com> Hi Kathy, So, you are trying to capture images from within a field? The routine I showed you only captures from a named image. So, if you had an image on your card named "fred" then: create a button named "Copy Image Fred to Clipboard" on mouseUp copyToClip "fred" end mouseUp on copyToClip pImage choose select tool drag from topleft of image pImage to botright of image pImage copy choose browse tool end copyToClip I think you're better off using the image in the field to link to a handler which captures the originating image. So, w/out seeing your stack, I'd suggest when you click on an image in the field, you need to then SHOW the originating image on the card, execute the script above, then hide it again. best, Chipp From revolution at jaedworks.com Fri Aug 19 02:40:17 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Thu, 18 Aug 2005 23:40:17 -0700 Subject: "Ask" does not put empty into "it" when "Cancel" is clicked. In-Reply-To: <7CBFFCC6-9FD1-4A7F-9CA0-DF9C7BAB5833@major-k.de> References: <20050818025133.ABD05824F83@mail.runrev.com> <7CBFFCC6-9FD1-4A7F-9CA0-DF9C7BAB5833@major-k.de> Message-ID: At 7:38 PM +0200 8/18/2005, Klaus Major wrote: >>I think this was quickly fixed by build 108. >>Download a recent version. > >until Rev has changed the way we have to load every new distribution >(the COMPLETE package :-/), it would be nice to have a place where >we can download the engines only! While we're wishing, it would be nice if the fershlugginah VERSION NUMBER were changed when the software changed. From a software engineering point of view, this "download whatever is on the web site, install it, run it, and check the buildNumber function in the message box to figure out whether this 2.6 is the same as the 2.6 you downloaded two weeks ago" really, seriously, does not cut it. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From revolution at jaedworks.com Fri Aug 19 03:00:05 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 19 Aug 2005 00:00:05 -0700 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <4304DF78.7020102@sover.net> References: <4304DF78.7020102@sover.net> Message-ID: At 3:20 PM -0400 8/18/2005, Jon wrote: >I'm sure the answer to this question (how do you continue a line in >Rev) is simple. Where could I have found the answer to this simple >question in the documentation? I looked for "continue": no joy. >"line": no joy. I looked at the Scripting discussion, and I know >know all about comments, but nothing about continuing lines onto the >next line. "How to break a line in a script: If a line of code is too long to be easily displayed in the script editor, it is convenient to break it into more than one line for display, while still having Transcript treat it as a single line. You use the \ character to break a script line for display, as in the following example: set the thumbSize of scrollbar 1 to \ (the height of group 1/the formattedHeight of group 1) When the above split line is executed, it's treated as a single line of code." The entry for "\" is also the first item returned when you search the dictionary for "continue". Writing documentation starts to seem kind of pointless when a large part of its target audience presents convincing proof, often, that much of that audience doesn't bother to read it. (Admittedly, this is one of the places where an index would be really useful, since you can set up an index to catch synonyms. On the other hand, a search would have succeeded here. Will someone who won't search use an index? Maybe, maybe not.) -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From revolution at jaedworks.com Fri Aug 19 02:53:13 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Thu, 18 Aug 2005 23:53:13 -0700 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <430516CC.8040008@fourthworld.com> References: <4304DF78.7020102@sover.net> <4304E918.4050809@fourthworld.com> <4910598269.20050818151230@ahsoftware.net> <430516CC.8040008@fourthworld.com> Message-ID: At 4:16 PM -0700 8/18/2005, Richard Gaskin wrote: >As I noted in my previous post, I fully agree with Jon that it would >be great for Rev to include an entry for the backslash token in the >docs. If someone will kindly drop this into the BZ queue we can >expect that to happen, then we'd never need to think about it again >and Rev would have one up on Microsoft. ...and whoever validated the bug would mark it "not a bug", since the dictionary does in fact have an entry for "\". (You didn't look first, did you? ;-) -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From revdan at danshafer.com Fri Aug 19 03:34:04 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 19 Aug 2005 00:34:04 -0700 Subject: "Ask" does not put empty into "it" when "Cancel" is clicked. In-Reply-To: References: <20050818025133.ABD05824F83@mail.runrev.com> <7CBFFCC6-9FD1-4A7F-9CA0-DF9C7BAB5833@major-k.de> Message-ID: <5A382596-A6DC-4FD2-9A9D-D4CA788E9A11@danshafer.com> Jeanne.... How do you *really* feel? Dan On Aug 18, 2005, at 11:40 PM, Jeanne A. E. DeVoto wrote: > At 7:38 PM +0200 8/18/2005, Klaus Major wrote: > >>> I think this was quickly fixed by build 108. >>> Download a recent version. >>> >> >> until Rev has changed the way we have to load every new distribution >> (the COMPLETE package :-/), it would be nice to have a place where >> we can download the engines only! >> > > While we're wishing, it would be nice if the fershlugginah VERSION > NUMBER were changed when the software changed. From a software > engineering point of view, this "download whatever is on the web > site, install it, run it, and check the buildNumber function in the > message box to figure out whether this 2.6 is the same as the 2.6 > you downloaded two weeks ago" really, seriously, does not cut it. > > > -- > jeanne a. e. devoto ~ revolution at jaedworks.com > http://www.jaedworks.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Fri Aug 19 03:43:33 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Aug 2005 00:43:33 -0700 Subject: I give up: how do you continue a line in Rev? In-Reply-To: References: <4304DF78.7020102@sover.net> <4304E918.4050809@fourthworld.com> <4910598269.20050818151230@ahsoftware.net> <430516CC.8040008@fourthworld.com> Message-ID: <43058DA5.6090509@fourthworld.com> Jeanne A. E. DeVoto wrote: > At 4:16 PM -0700 8/18/2005, Richard Gaskin wrote: > >> As I noted in my previous post, I fully agree with Jon that it would >> be great for Rev to include an entry for the backslash token in the >> docs. If someone will kindly drop this into the BZ queue we can expect >> that to happen, then we'd never need to think about it again and Rev >> would have one up on Microsoft. > > ...and whoever validated the bug would mark it "not a bug", since the > dictionary does in fact have an entry for "\". (You didn't look first, > did you? ;-) No, I took all the ruckus here at face value. ;) So you single-handedly outdid the mighty Microsoft? Cool. It seems the problem then is not with your content, but with the current Help shell's inability to locate the content: Of course a user looking for the line continuation character won't know to look for the "\" token, so instead I searched for "line" (too many results; none clearly relevant) and "continuation" (zero results). In your other post you quoted a block of text about line continuation -- where is that from? Your quoted portion contains the string "break a line", but when I search for that string in Help it turns up zero results. Oddly enough, when I search my own Help shell containing the same content (imported from the thousands of tiny XML files used in Rev so I get all the many advantages of using native objects), searching for "break a line" or "continuation" takes me immediately to the "\" token. Hmmm.... On further investigation I was finally able to get Rev's Help to find those as well. It seems that somewhere along the way in just those few minutes I was able to accidentally get it into a state in which it was returning false negatives. It's awfully complex, and works much harder than it needs to. This "mystery state" may help explain why so many others here had the same bad results I did at first. Moral for people making IDE parts: Know the engine, trust the engine, let the engine do as much of the work as it can. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From chipp at chipp.com Fri Aug 19 03:45:26 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 19 Aug 2005 02:45:26 -0500 Subject: [Fwd: Re: clipboardData imageSource] In-Reply-To: References: <43058160.7080002@chipp.com> Message-ID: <43058E16.4080506@chipp.com> =P! back atcha!!! Yes, I believe it's because you have to be in 'image edit' mode to really copy it, and the only way to do that is with dragging the select tool. best, Chipp Brian Yennie wrote: > Good reason =P! > > Is there a good reason why using the "select" command has to be > simulated by dragging the select tool in order to make a copy? Wouldn't > this fail for anything offscreen, invisible, or layered? > > - Brian From ambassador at fourthworld.com Fri Aug 19 03:46:45 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Aug 2005 00:46:45 -0700 Subject: "Ask" does not put empty into "it" when "Cancel" is clicked. In-Reply-To: References: <20050818025133.ABD05824F83@mail.runrev.com> <7CBFFCC6-9FD1-4A7F-9CA0-DF9C7BAB5833@major-k.de> Message-ID: <43058E65.2020703@fourthworld.com> Jeanne A. E. DeVoto wrote: > At 7:38 PM +0200 8/18/2005, Klaus Major wrote: > >>> I think this was quickly fixed by build 108. >>> Download a recent version. >> >> >> until Rev has changed the way we have to load every new distribution >> (the COMPLETE package :-/), it would be nice to have a place where >> we can download the engines only! > > > While we're wishing, it would be nice if the fershlugginah VERSION > NUMBER were changed when the software changed. From a software > engineering point of view, this "download whatever is on the web site, > install it, run it, and check the buildNumber function in the message > box to figure out whether this 2.6 is the same as the 2.6 you downloaded > two weeks ago" really, seriously, does not cut it. > > While it's unusual and sometimes confusing to rely on the buildNumber in addition to the version number, as long as it's the way it is I could live with it if the page on which these engines were downloaded from noted the buildNumber in addition to the version number and creation date. That is, once such a page exists. ;) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mwieder at ahsoftware.net Fri Aug 19 04:10:18 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Aug 2005 01:10:18 -0700 Subject: I give up: how do you continue a line in Rev? In-Reply-To: References: <4304DF78.7020102@sover.net> Message-ID: <1462821234.20050819011018@ahsoftware.net> Jeanne- Friday, August 19, 2005, 12:00:05 AM, you wrote: > The entry for "\" is also the first item returned when you search the > dictionary for "continue". OTOH, filtering on "continu" shows absolutely nothing. -- -Mark Wieder mwieder at ahsoftware.net From klaus at major-k.de Fri Aug 19 04:03:39 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 19 Aug 2005 10:03:39 +0200 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <4304F7AE.2010606@sover.net> References: <4304DF78.7020102@sover.net> <4304F566.2010407@chipp.com> <4304F7AE.2010606@sover.net> Message-ID: Hi Jon, > Klaus: > > I thought that all of you who paid the big bucks for the Enterprise > version got a pill with RNA in it, and that you learned it all over > night! > > :) we wished, Jon, we really wished... ;-) > Jon > > Klaus Major wrote: > >> Hi Jon, >> >>> Jon wrote: >>> ... >>> I envy those of you who use Rev all of the time. >>> For the rest of us, it continues to be a very frustrating >>> experience. >>> >> Well, actually we did not wake up one morning and suddenly knew >> how to do everything right, believe it or not... ;-) Best Klaus Major klaus at major-k.de http://www.major-k.de From dcragg at lacscentre.co.uk Fri Aug 19 04:34:02 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 19 Aug 2005 09:34:02 +0100 Subject: "working" a web site from Rev In-Reply-To: <4304E062.4030401@sover.net> References: <43025AC6.6040509@sover.net> <4304E062.4030401@sover.net> Message-ID: <82FB7088-3042-4BD5-9AC2-13395AC88160@lacscentre.co.uk> On 18 Aug 2005, at 20:24, Jon wrote: > Dave: > > Excellent help. > > Question: how would one indicate that a check box field is checked > (or not)? > > Thanks! > > Jon I've never done this, but this is what I have read: -- If the checkbox is unchecked, don't send anything. -- If the checkbox is checked, send the "value" that is in the html. For example, if the form element is this (tag markers removed): input type="checkbox" name="hobby" value="fishing" you would send "hobby=fishing" -- If no value is defined in the form, send "on" as the value. -- Multiple checkboxes can have the same name, so if the checkbox form was like this: input type="checkbox" name="hobby" value="fishing" input type="checkbox" name="hobby" value="hunting" input type="checkbox" name="hobby" value="shooting" and the first two items were checked, you would send this: hobby=fishing&hobby=hunting Cheers Dave From kray at sonsothunder.com Fri Aug 19 05:07:44 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 19 Aug 2005 04:07:44 -0500 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <1462821234.20050819011018@ahsoftware.net> Message-ID: On 8/19/05 3:10 AM, "Mark Wieder" wrote: > Jeanne- > > Friday, August 19, 2005, 12:00:05 AM, you wrote: > >> The entry for "\" is also the first item returned when you search the >> dictionary for "continue". > > OTOH, filtering on "continu" shows absolutely nothing. Of course, because there aren't any keywords that contain that string. But perhaps that's another issue for newbies - understanding the difference between filter and search... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From dcragg at lacscentre.co.uk Fri Aug 19 05:17:45 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 19 Aug 2005 10:17:45 +0100 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <1462821234.20050819011018@ahsoftware.net> References: <4304DF78.7020102@sover.net> <1462821234.20050819011018@ahsoftware.net> Message-ID: On 19 Aug 2005, at 09:10, Mark Wieder wrote: > Jeanne- > > Friday, August 19, 2005, 12:00:05 AM, you wrote: > > >> The entry for "\" is also the first item returned when you search the >> dictionary for "continue". >> > > OTOH, filtering on "continu" shows absolutely nothing. But searching (not filtering) for "continu" gives "/". I can hear Jeanne screaming at you now. Dave From scott at tactilemedia.com Fri Aug 19 07:11:58 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 19 Aug 2005 04:11:58 -0700 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <43058DA5.6090509@fourthworld.com> Message-ID: > As I noted in my previous post, I fully agree with Jon that it would > be great for Rev to include an entry for the backslash token in the > docs. FWIW, in the docs here, using 'Search For' on "continue" or "continu" lists the backslash character in the 1st found result. Using 'Search For' on "break" lists the backslash character in the 3rd result. Using 'Search For' on "line" lists the backslash character in the 8th result. BUT "line break" returns 5 unrelated results while "break line" returns no results, as does "break a line". I believe others have posted comments on the search *mechanism* itself being a problem (not finding strings of words) and Richard is absolutely right here: there's no reason searching should miss "break a line" when this string explicitly appears in the help text. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dburgun at dsl.pipex.com Fri Aug 19 07:35:19 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 19 Aug 2005 12:35:19 +0100 Subject: "Ask" does not put empty into "it" when "Cancel" is clicked. In-Reply-To: References: <20050818025133.ABD05824F83@mail.runrev.com> <7CBFFCC6-9FD1-4A7F-9CA0-DF9C7BAB5833@major-k.de> Message-ID: >At 7:38 PM +0200 8/18/2005, Klaus Major wrote: >>>I think this was quickly fixed by build 108. >>>Download a recent version. >> >>until Rev has changed the way we have to load every new distribution >>(the COMPLETE package :-/), it would be nice to have a place where >>we can download the engines only! > >While we're wishing, it would be nice if the fershlugginah VERSION >NUMBER were changed when the software changed. From a software >engineering point of view, this "download whatever is on the web >site, install it, run it, and check the buildNumber function in the >message box to figure out whether this 2.6 is the same as the 2.6 >you downloaded two weeks ago" really, seriously, does not cut it. > > Totally and utterly agree! How much effort would it be to just change the minor version number or at least publish the build number? All the Best Dave From david at openpartnership.net Fri Aug 19 07:36:27 2005 From: david at openpartnership.net (david bovill) Date: Fri, 19 Aug 2005 13:36:27 +0200 Subject: IBC2005 Amsterdam In-Reply-To: <43048E2A.8080102@ehug.info> References: <43048E2A.8080102@ehug.info> Message-ID: <4AF122BB-6AEE-465C-B6DC-31B8C9987532@openpartnership.net> I'd be interested in a talk... On 18 Aug 2005, at 15:33, Mark Schonewille wrote: > Hello, > > Are any multimediators going to IBC in Amsterdam? We might have a > little meeting under eHUG's flag. > > If you register for the IBC2005 exhibition no later than 21st > August, you can get your badge for free (exhibition only, not the > conference). Look at http://www/ibc.org for more information. > > Additionally, I'd like to ask everyone who might be interested in a > Revolution/xTalk conference in the Netherlands or Germany to > contact me ASAP. > > Best, > > Mark > > P.S. I am not affiliated with IBC. > > -- > > eHUG coordinator > mailto:europe at ehug.info > http://www.ehug.info > http://home.wanadoo.nl/mark.sch > http://www.economy-x-talk.com > > Please inform me about vacancies in the field of > general economics at your institute. I am also looking > for new freelance programming projects. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jbondy at sover.net Fri Aug 19 08:06:14 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 08:06:14 -0400 Subject: "Ask" does not put empty into "it" when "Cancel" is clicked. In-Reply-To: References: <20050818025133.ABD05824F83@mail.runrev.com> <7CBFFCC6-9FD1-4A7F-9CA0-DF9C7BAB5833@major-k.de> Message-ID: <4305CB36.1090700@sover.net> I have to agree. Slipstreaming is a pain in the neck for everyone, and I don't really understand why Rev thinks it is a good idea, either. Jon Jeanne A. E. DeVoto wrote: > At 7:38 PM +0200 8/18/2005, Klaus Major wrote: > >>> I think this was quickly fixed by build 108. >>> Download a recent version. >> >> >> until Rev has changed the way we have to load every new distribution >> (the COMPLETE package :-/), it would be nice to have a place where >> we can download the engines only! > > > While we're wishing, it would be nice if the fershlugginah VERSION > NUMBER were changed when the software changed. From a software > engineering point of view, this "download whatever is on the web site, > install it, run it, and check the buildNumber function in the message > box to figure out whether this 2.6 is the same as the 2.6 you > downloaded two weeks ago" really, seriously, does not cut it. > > From JimCarwardine at OwnYourFuture-net.com Fri Aug 19 08:07:33 2005 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Fri, 19 Aug 2005 09:07:33 -0300 Subject: Drag & Drop from one substack to another In-Reply-To: <4304B24D.2010408@hrz.uni-kassel.de> Message-ID: Well, there you are... I never tried the obvious. I thought it needed to be coded specifically and I couldn't get it to work. Thanks, guys... Jim on 8/18/05 1:07 PM, Wilhelm Sanke wrote: > On Thu Aug 18 Jim Carwardine JimCarwardine at OwnYourFuture-net.com wrote: > >> I'm using normal text fields in scrolling groups... Jim >> >> on 8/16/05 5:32 PM, Ken Ray wrote: >> >>> On 8/16/05 2:22 PM, "Jim Carwardine" > OwnYourFuture-net.com> >>> wrote: >>> >>>> Hi Folks... Maybe this looked too much like another thread on D&D. >> I really >>>> need to know if anyone can point me to the right info on dragging and >>>> dropping text from a field in one substack to a field in another >> substack of >>>> the same file. I just can't seem to do it... Jim >>> >>> Is this between list fields, or between "normal" text fields? >>> >>> >>> Ken Ray > > > > Tried different variants of drag-dropping text between fields > > - normal text fields of the same stack > - between fields of two stacks > - between fields of two substacks > - between scrolling fields of two substacks > - between fields in scrolling groups of two substacks > > Drag-and-drop text works perfectly here in all these variants: Windows > XP, Rev 2.6, build 108. > > Regards, > > Wilhelm Sanke > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Lower Water Street, Suite 1700, 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 jbondy at sover.net Fri Aug 19 08:09:47 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 08:09:47 -0400 Subject: I give up: how do you continue a line in Rev? In-Reply-To: References: <4304DF78.7020102@sover.net> Message-ID: <4305CC0B.6050501@sover.net> Great. You figured out how to make the Help system work successfully. Try Filtering the Dictionary and the Topics with"continue". I get NOTHING here. Working with Rev should not be a game: it should be easy to locate this information. I'm happy that you were able to find the information. I still feel that the fact that I was unable to find it is NOT because I was lazy, but because the IDE continues to be half-baked. Jon Jeanne A. E. DeVoto wrote: > At 3:20 PM -0400 8/18/2005, Jon wrote: > >> I'm sure the answer to this question (how do you continue a line in >> Rev) is simple. Where could I have found the answer to this simple >> question in the documentation? I looked for "continue": no joy. >> "line": no joy. I looked at the Scripting discussion, and I know >> know all about comments, but nothing about continuing lines onto the >> next line. > > > > "How to break a line in a script: > If a line of code is too long to be easily displayed in the script > editor, it is convenient to break it into more than one line for > display, while still having Transcript treat it as a single line. > > You use the \ character to break a script line for display, as in the > following example: > > set the thumbSize of scrollbar 1 to \ > (the height of group 1/the formattedHeight of group 1) > > When the above split line is executed, it's treated as a single line > of code." > > > > The entry for "\" is also the first item returned when you search the > dictionary for "continue". > > > > Writing documentation starts to seem kind of pointless when a large > part of its target audience presents convincing proof, often, that > much of that audience doesn't bother to read it. > > (Admittedly, this is one of the places where an index would be really > useful, since you can set up an index to catch synonyms. On the other > hand, a search would have succeeded here. Will someone who won't > search use an index? Maybe, maybe not.) From jbondy at sover.net Fri Aug 19 08:14:17 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 08:14:17 -0400 Subject: I give up: how do you continue a line in Rev? In-Reply-To: References: Message-ID: <4305CD19.6090205@sover.net> Ken: "Of course, because there aren't any keywords that contain that string. But perhaps that's another issue for newbies - understanding the difference between filter and search..." Not really. Since Filter is visible, and search is not, Filter is the ONLY facility that anyone would think to use. There really is a Search?!? *((#@$&*%@#$ Rev IDE... :( Jon Ken Ray wrote: >On 8/19/05 3:10 AM, "Mark Wieder" wrote: > > > >>Jeanne- >> >>Friday, August 19, 2005, 12:00:05 AM, you wrote: >> >> >> >>>The entry for "\" is also the first item returned when you search the >>>dictionary for "continue". >>> >>> >>OTOH, filtering on "continu" shows absolutely nothing. >> >> > >Of course, because there aren't any keywords that contain that string. But >perhaps that's another issue for newbies - understanding the difference >between filter and search... > >Ken Ray >Sons of Thunder Software >Web site: http://www.sonsothunder.com/ >Email: kray at sonsothunder.com > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From cbsiskin+ at pitt.edu Fri Aug 19 08:23:23 2005 From: cbsiskin+ at pitt.edu (Claire Bradin Siskin) Date: Fri, 19 Aug 2005 08:23:23 -0400 Subject: Online Scripting Conference on Saturday Message-ID: Jacque, why don't you tell us about the Online Scripting Conference to be held on Saturday, August 20? The last one was so good! Thanks, Claire -- Claire Bradin Siskin Director Robert Henderson Language Media Center G 17 Cathedral of Learning University of Pittsburgh Pittsburgh, PA 15260 Office Phone: (412) 624-5939 Email: cbsiskin at pitt.edu http://www.polyglot.pitt.edu From mark at maseurope.net Fri Aug 19 09:12:48 2005 From: mark at maseurope.net (Mark Smith) Date: Fri, 19 Aug 2005 14:12:48 +0100 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <4305CC0B.6050501@sover.net> References: <4304DF78.7020102@sover.net> <4305CC0B.6050501@sover.net> Message-ID: I think the lesson here is that filtering is only a way of narrowing down the actual keywords and function names in the dictionary, or the topic titles in the topics section. If you don't know and can't guess the keyword or whatever, it's necessary to search, instead. Cheers, Mark On 19 Aug 2005, at 13:09, Jon wrote: > Great. You figured out how to make the Help system work successfully. > Try Filtering the Dictionary and the Topics with"continue". I get > NOTHING here. > > Working with Rev should not be a game: it should be easy to locate > this information. I'm happy that you were able to find the > information. I still feel that the fact that I was unable to find it > is NOT because I was lazy, but because the IDE continues to be > half-baked. > > Jon > > > Jeanne A. E. DeVoto wrote: > >> At 3:20 PM -0400 8/18/2005, Jon wrote: >> >>> I'm sure the answer to this question (how do you continue a line in >>> Rev) is simple. Where could I have found the answer to this simple >>> question in the documentation? I looked for "continue": no joy. >>> "line": no joy. I looked at the Scripting discussion, and I know >>> know all about comments, but nothing about continuing lines onto the >>> next line. >> >> >> >> "How to break a line in a script: >> If a line of code is too long to be easily displayed in the script >> editor, it is convenient to break it into more than one line for >> display, while still having Transcript treat it as a single line. >> >> You use the \ character to break a script line for display, as in the >> following example: >> >> set the thumbSize of scrollbar 1 to \ >> (the height of group 1/the formattedHeight of group 1) >> >> When the above split line is executed, it's treated as a single line >> of code." >> >> >> >> The entry for "\" is also the first item returned when you search the >> dictionary for "continue". >> >> >> >> Writing documentation starts to seem kind of pointless when a large >> part of its target audience presents convincing proof, often, that >> much of that audience doesn't bother to read it. >> >> (Admittedly, this is one of the places where an index would be really >> useful, since you can set up an index to catch synonyms. On the other >> hand, a search would have succeeded here. Will someone who won't >> search use an index? Maybe, maybe not.) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com From ferus at math.TU-Berlin.DE Thu Aug 18 05:10:09 2005 From: ferus at math.TU-Berlin.DE (Dirk Ferus) Date: Thu, 18 Aug 2005 11:10:09 +0200 Subject: open fileName with application Message-ID: <60199588fb6f7d9642c4c8f320fe6318@math.tu-berlin.de> Hi, I am just beginning to convert my stacks and myself from Hypercard to Revolution. Hypercard has the command: "open fileName with application" to open a file say with a TeX-program and then continue working within that program. How do I do this under Revolution? Dirk From lisa at onebranch.org Thu Aug 18 21:02:05 2005 From: lisa at onebranch.org (Lisa Westbrook) Date: Thu, 18 Aug 2005 20:02:05 -0500 Subject: How to close URL In-Reply-To: References: Message-ID: does anyone know how to close a URL after it is opened with Runtime Revolution application and return to the application? thanks, Lisa From klaus at major-k.de Fri Aug 19 09:19:28 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 19 Aug 2005 15:19:28 +0200 Subject: open fileName with application In-Reply-To: <60199588fb6f7d9642c4c8f320fe6318@math.tu-berlin.de> References: <60199588fb6f7d9642c4c8f320fe6318@math.tu-berlin.de> Message-ID: <9D6A9624-F54C-4B9A-8B2E-9618C08101B8@major-k.de> Hi Dirk, > Hi, > I am just beginning to convert my stacks and myself from Hypercard > to Revolution. > > Hypercard has the command: "open fileName with application" to open a > file say with a TeX-program and then continue working within that > program. > How do I do this under Revolution? just replace "open" with "launch" and that's it :-) See the docs for "launch"... > Dirk Regards Klaus Major klaus at major-k.de http://www.major-k.de From gefisher at mac.com Fri Aug 19 09:36:52 2005 From: gefisher at mac.com (Glenn E. Fisher) Date: Fri, 19 Aug 2005 08:36:52 -0500 Subject: I give up: how do you continue a line in Rev? Message-ID: <42a25efb0fdaac86d36e32c3723c5113@mac.com> Revers, Sorry to be so late on this topic. I'm retired. :-)) If you haven't already, get Wilhelm Sanke's excellent "Search Docs" plugin. Put it in your plugins folder for easy access in Rev. I typed Jon's first search into it (continue) and "break \" came up as the first in the list. Get the one that's appropriate for you at this web page: http://www.sanke.org/MetaMedia/index.html Or on RevOnline under user "sanke". Happy reving, Glenn -- Glenn E. Fisher University of Houston - Retired 22402 Diane Dr. Spring, Tx 77373 gfisher4 at houston.rr.com http://www.uh.edu/~fisher http://home.houston.rr.com/thegefishers/ http://homepage.mac.com/gefisher From mark at maseurope.net Fri Aug 19 09:43:07 2005 From: mark at maseurope.net (Mark Smith) Date: Fri, 19 Aug 2005 14:43:07 +0100 Subject: How to close URL In-Reply-To: References: Message-ID: <7420b5d3f6845f24d1195c4adb1415ea@maseurope.net> Do you mean how do you close a web page and return to Rev after using revGoURL? Or are you talking about after having used a file using the URL method? If the former, it's easiest to just quit the browser yourself, though you could use applescript (on mac) or vbscript (on windows) to do it for you. If the latter, the URL scheme in rev does all the opening and closing of files for you, so you don't have to worry about it. Hope this helps, Mark On 19 Aug 2005, at 02:02, Lisa Westbrook wrote: > does anyone know how to close a URL after it is opened with Runtime > Revolution application and return to the application? > > thanks, > Lisa > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com From jbondy at sover.net Fri Aug 19 09:51:38 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 09:51:38 -0400 Subject: the message box Message-ID: <4305E3EA.4030909@sover.net> I have been appending lines to a scrolling field to create a log file while running a program. After a bit, I centralized the creation of these lines. All of a sudden the Message Box started popping up. I Filtered the Topics in the Documentation for Message Box, but nothing was there. I Filtered on Message, and while something is there, there is nothing about the Message Box. Any idea why the Message Box is suddenly getting triggered? I must be doing something accidentally in this new regime. Here is the current code: on DisplayMessage msg put the long time & " " & msg & Return after field "Memo" set the vScroll of field "Memo" to the formattedHeight of field "Memo" end DisplayMessage From bvg at mac.com Fri Aug 19 09:57:37 2005 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 19 Aug 2005 15:57:37 +0200 Subject: the message box In-Reply-To: <4305E3EA.4030909@sover.net> References: <4305E3EA.4030909@sover.net> Message-ID: On Aug 19 2005, at 15:51, Jon wrote: > ... > Any idea why the Message Box is suddenly getting triggered? > ... > Here is the current code: > > on DisplayMessage msg > put the long time & " " & msg & Return after field "Memo" set the > vScroll of field "Memo" to the formattedHeight of field "Memo" > end DisplayMessage msg is a reserved word indicating... the message box :) try to use a different name for your var and all should be fine. -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From jbondy at sover.net Fri Aug 19 10:44:16 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 10:44:16 -0400 Subject: the message box In-Reply-To: References: <4305E3EA.4030909@sover.net> Message-ID: <4305F040.4030504@sover.net> Thanks so much! Too bad the IDE didn't highlight the reserved word in some special color: I might have been able to guess if that were the case! :) Jon Bj?rnke von Gierke wrote: > > On Aug 19 2005, at 15:51, Jon wrote: > >> ... >> Any idea why the Message Box is suddenly getting triggered? >> ... >> Here is the current code: >> >> on DisplayMessage msg >> put the long time & " " & msg & Return after field "Memo" set the >> vScroll of field "Memo" to the formattedHeight of field "Memo" >> end DisplayMessage > > > msg is a reserved word indicating... the message box :) try to use a > different name for your var and all should be fine. > From rev at everymail.net Fri Aug 19 10:51:06 2005 From: rev at everymail.net (rev at everymail.net) Date: Fri, 19 Aug 2005 16:51:06 +0200 Subject: Revolution running on Ubuntu? Message-ID: <200508191451.j7JEp8fr001934@everymail-A16-C01.everymail.net> Had anyone sucess running Revolution under Ubuntu Linux or Debian? Best Regards Peter ------------------- Werbung ----------------------- >> JETZT: AT-Domains Erst-Registrierung kostenlos! und NUR EUR 16,00/Jahr * http://www.emerion.com --------------------------------------------------------- *** sent through http://www.everymail.net FREE e-mail From klaus at major-k.de Fri Aug 19 11:09:16 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 19 Aug 2005 17:09:16 +0200 Subject: the message box In-Reply-To: <4305F040.4030504@sover.net> References: <4305E3EA.4030909@sover.net> <4305F040.4030504@sover.net> Message-ID: Hi Jon > ... > Too bad the IDE didn't highlight the reserved word in some special > color: I might have been able to guess if that were the case! yeah, what a mean, mean IDE... :-) > Jon Regards Klaus Major klaus at major-k.de http://www.major-k.de From bann at sunncomm.com Fri Aug 19 11:42:11 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Fri, 19 Aug 2005 08:42:11 -0700 Subject: running player makes other things slower Message-ID: Hi everyone, Does anyone run into this problem like I have? In my rev application, I have a player (playing song and movie) running just fine but when I scroll up and down the field, the sound is messed up and slows down other things such as selecting a line in the field list, clicking on a button What should I do to fix this problem? Please help. Thank you From kray at sonsothunder.com Fri Aug 19 11:44:01 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 19 Aug 2005 10:44:01 -0500 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <4305CD19.6090205@sover.net> Message-ID: On 8/19/05 7:14 AM, "Jon" wrote: > "Of course, because there aren't any keywords that contain that string. > But perhaps that's another issue for newbies - understanding the > difference between filter and search..." > > Not really. Since Filter is visible, and search is not, Filter is the > ONLY facility that anyone would think to use. > > There really is a Search?!? Yes - if you look closely, you'll see that the button that says "Filter with:" is an option menu button. You can select "Search for:" as another option in that menu. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Fri Aug 19 11:51:36 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 19 Aug 2005 10:51:36 -0500 Subject: the message box In-Reply-To: Message-ID: On 8/19/05 8:57 AM, "Bj?rnke von Gierke" wrote: > On Aug 19 2005, at 15:51, Jon wrote: > >> ... >> Any idea why the Message Box is suddenly getting triggered? >> ... >> Here is the current code: >> >> on DisplayMessage msg >> put the long time & " " & msg & Return after field "Memo" set the >> vScroll of field "Memo" to the formattedHeight of field "Memo" >> end DisplayMessage > > msg is a reserved word indicating... the message box :) try to use a > different name for your var and all should be fine. This is another reason why a lot of us use "Hungarian Notation (lite)" (http://www.fourthworld.com/embassy/articles/scriptstyle.html), where variables, parameters, etc. are preceded by a special character. In your case, since "msg" is a parameter to the DisplayMessage handler, it would be "pMsg", which doesn't interfere with any reserved words. Not that it isn't *impossible* to overlap reserved words this (tExt = 'text', sIn = 'sin', etc.), but it *is* very rare that this would happen. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From klaus at major-k.de Fri Aug 19 11:54:31 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 19 Aug 2005 17:54:31 +0200 Subject: I give up: how do you continue a line in Rev? In-Reply-To: References: Message-ID: <3E445AF9-5874-4988-89FE-9C99139B2294@major-k.de> Hi Jon, > On 8/19/05 7:14 AM, "Jon" wrote: > >> "Of course, because there aren't any keywords that contain that >> string. >> But perhaps that's another issue for newbies - understanding the >> difference between filter and search..." >> >> Not really. Since Filter is visible, and search is not, Filter is >> the >> ONLY facility that anyone would think to use. >> >> There really is a Search?!? > > Yes - if you look closely, you'll see that the button that says > "Filter > with:" is an option menu button. You can select "Search for:" as > another > option in that menu. Exactly! And I think even a newbie COULD (if not should) know that an option menu might have more than 1 ehm... option :-) I know, the mean, mean IDE... > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From jbondy at sover.net Fri Aug 19 12:01:08 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 12:01:08 -0400 Subject: how to know if I'm on-line or not Message-ID: <43060244.9000300@sover.net> I'm writing some software to continually test a web site I created. It Posts some data every hour or so and then inspects the HTML that returns to verify that the web site responded appropriately. Sad to say, I connect to the Internet over a modem, so I'm not on-line all of the time. I would like to have some logic like this, so that I don't report an error when I'm not even on-line: if modem-is-connected then test the web site end if Is there any way to do this in Rev? :) Jon From jbondy at sover.net Fri Aug 19 12:11:07 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 12:11:07 -0400 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <3E445AF9-5874-4988-89FE-9C99139B2294@major-k.de> References: <3E445AF9-5874-4988-89FE-9C99139B2294@major-k.de> Message-ID: <4306049B.4050903@sover.net> Klaus: "And I think even a newbie COULD (if not should) know that an option menu might have more than 1 ehm... option :-) " Good point. I'll have to inspect the UI much more carefully in the future for hints about other features! Maybe we can have a contest for people who can find some other useful features that are hidden in there somewhere! :) Klaus Major wrote: > Hi Jon, > >> On 8/19/05 7:14 AM, "Jon" wrote: >> >>> "Of course, because there aren't any keywords that contain that >>> string. >>> But perhaps that's another issue for newbies - understanding the >>> difference between filter and search..." >>> >>> Not really. Since Filter is visible, and search is not, Filter is the >>> ONLY facility that anyone would think to use. >>> >>> There really is a Search?!? >> >> >> Yes - if you look closely, you'll see that the button that says "Filter >> with:" is an option menu button. You can select "Search for:" as >> another >> option in that menu. > > > Exactly! > > And I think even a newbie COULD (if not should) know that an option menu > might have more than 1 ehm... option :-) > > I know, the mean, mean IDE... > >> Ken Ray >> Sons of Thunder Software >> Web site: http://www.sonsothunder.com/ >> Email: kray at sonsothunder.com > > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From pevensen at siboneylg.com Fri Aug 19 12:33:48 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Fri, 19 Aug 2005 11:33:48 -0500 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <42a25efb0fdaac86d36e32c3723c5113@mac.com> References: <42a25efb0fdaac86d36e32c3723c5113@mac.com> Message-ID: <6.2.1.2.2.20050819113337.212b3db8@exchange.slg.com> How is this different from the existing search option? At 08:36 AM 8/19/2005, you wrote: >Revers, >Sorry to be so late on this topic. I'm retired. :-)) > >If you haven't already, get Wilhelm Sanke's excellent "Search Docs" >plugin. Put it in your plugins folder for easy access in Rev. > >I typed Jon's first search into it (continue) and "break \" came up as the >first in the list. > >Get the one that's appropriate for you at this web page: > >http://www.sanke.org/MetaMedia/index.html > >Or on RevOnline under user "sanke". > >Happy reving, >Glenn >-- >Glenn E. Fisher University of Houston - Retired >22402 Diane Dr. Spring, Tx 77373 >gfisher4 at houston.rr.com http://www.uh.edu/~fisher >http://home.houston.rr.com/thegefishers/ >http://homepage.mac.com/gefisher >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From jbondy at sover.net Fri Aug 19 13:13:40 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 13:13:40 -0400 Subject: resolution of Time in Rev Message-ID: <43061344.6010203@sover.net> I'm trying to schedule something to happen some time in the future. Due to some other complexities, I cannot just do a send "mouseUp" to me in 1000 seconds Rather, I have to wake up every 10 seconds and figure out whether it is time to do the processing or not. The current code is presented below. The interesting thing is that, despite the claim that Rev times are in seconds, and even in milliseconds, the values I'm seeing are in increments of 60 seconds. I flagged a line in the code below. Rather than seeing "60" and then "50" and then "40", etc, I instead see "60" 6 times and then "0". Am I doing something wrong? Or, rather, what am I doing wrong? BTW: feel free to show me how I should have written this: it is hugely awkward and could be done much easier in languages that I know better. :) Jon on mouseup local mostRecentFTPTime -- is it time yet? convert the date && the time to dateItems subtract field "TestFreq" from item 5 of it convert it to seconds put item 1 of it into currTime if currTime < mostRecentFTPTime then -- show the user how long before next test set the text of field "TimeToGo" to mostRecentFTPTime - currTime & " secs to go" -- this is the line I'm talking about send "mouseUp" to me in 10 seconds exit mouseUp end if -- do the FTP stuff here! convert the date && the time to seconds put it into mostRecentFTPTime send "mouseUp" to me in 10 seconds end MouseUp From stephenREVOLUTION at barncard.com Fri Aug 19 13:19:32 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 19 Aug 2005 10:19:32 -0700 Subject: the message box In-Reply-To: <4305F040.4030504@sover.net> References: <4305E3EA.4030909@sover.net> <4305F040.4030504@sover.net> Message-ID: Jon, if you hate the IDE so much you know you can make your own....! Frankly I'm tired of your constant complaints. They are very non-productive. sqb >Thanks so much! > >Too bad the IDE didn't highlight the reserved word in some special >color: I might have been able to guess if that were the case! > >:) > >Jon > From jbondy at sover.net Fri Aug 19 13:36:49 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 13:36:49 -0400 Subject: Sends getting lost Message-ID: <430618B1.8060802@sover.net> I'm writing a program that uses "send mouseup to me in 10 seconds". From time to time, the program stops working, as if the Send is getting lost. I would guess that this happens whenever I go into the IDE and switch from "run" mode to "edit" mode (the two icons at the top of Tools). I looked in the documentation for Send, but there is nothing there about this issue. Are there situations where the IDE clears these pending messages? It would be good to be able to distinguish between proper IDE operation vs my remaining bugs. Jon From alex at tweedly.net Fri Aug 19 13:42:00 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 19 Aug 2005 18:42:00 +0100 Subject: resolution of Time in Rev In-Reply-To: <43061344.6010203@sover.net> References: <43061344.6010203@sover.net> Message-ID: <430619E8.2020305@tweedly.net> Jon wrote: > I'm trying to schedule something to happen some time in the future. > Due to some other complexities, I cannot just do a > > send "mouseUp" to me in 1000 seconds > > Rather, I have to wake up every 10 seconds and figure out whether it > is time to do the processing or not. The current code is presented > below. > > The interesting thing is that, despite the claim that Rev times are in > seconds, and even in milliseconds, the values I'm seeing are in > increments of 60 seconds. I flagged a line in the code below. Rather > than seeing "60" and then "50" and then "40", etc, I instead see "60" > 6 times and then "0". Am I doing something wrong? Or, rather, what > am I doing wrong? > Yes :-) Not entirely sure - there may be multiple things ... > BTW: feel free to show me how I should have written this: it is hugely > awkward and could be done much easier in languages that I know better. > > :) > > Jon > > > on mouseup > local mostRecentFTPTime > -- is it time yet? > convert the date && the time to dateItems > subtract field "TestFreq" from item 5 of it > convert it to seconds > put item 1 of it into currTime > if currTime < mostRecentFTPTime then > -- show the user how long before next test > set the text of field "TimeToGo" to mostRecentFTPTime - currTime > & " secs to go" -- this is the line I'm talking about > send "mouseUp" to me in 10 seconds > exit mouseUp end if > > -- do the FTP stuff here! > > convert the date && the time to seconds > put it into mostRecentFTPTime > send "mouseUp" to me in 10 seconds > end MouseUp > 1. I *think* you want the declaration of mostRecentFTPTime to be outside the handler. A local declared inside handler gives you a "handler-local" variable - which is reset each time you enter the handler. A local declared outside any handler is a "script-local" variable, and retains its value between calls. 2. Unless you need to for some reason I don't see here, don't mess around with date & time. Does "TestFreq" change ? If not, I'd do something like the following : > local nextFTPTime > on mouseUp > if the seconds > nextFTPTime then > do ftp Stuff > put the seconds + field "TestFreq" into nextFTPTime > end if > send "mouseUp" to me in 10 seconds > end mouseUp or if you want to monitor it, replace the "end if" by > else > put nextFTPTime - the seconds & "seconds to go" into field > "TimeToGo" > end if If TestFreq does vary, then you need to do more like > local mostRecentFTPTime > on mouseUp > if the seconds > mostRecentFTPTime + field "TestFreq" then > do ftp Stuff > put the seconds into mostRecentFTPTime > end if > send "mouseUp" to me in 10 seconds > end mouseUp -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 18/08/2005 From see3d at writeme.com Fri Aug 19 13:42:30 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 19 Aug 2005 13:42:30 -0400 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <6.2.1.2.2.20050819113337.212b3db8@exchange.slg.com> References: <42a25efb0fdaac86d36e32c3723c5113@mac.com> <6.2.1.2.2.20050819113337.212b3db8@exchange.slg.com> Message-ID: <617912BC-2863-4009-B6D0-3430C9D34486@writeme.com> If I might just interject a thought about indexes. The way I want to search for information when I don't know what something is called or even if it exists, is narrowing by categories. I would want a list of 10-20 broad categories. And for each broad category, a new list of categories would pop up, etc... That way I could search based from the concept level to more specifics until I was in a narrow range of subjects that had my topic. Not everyone knows the specifics of what to call something or how to phrase their question, but picking this way would make finding things much easier, and might even allow one to find alternative ways of solving the problem. The key to success here is that items in the index could appear in more than one place based on the concept being chased down. Dennis From alex at tweedly.net Fri Aug 19 13:46:00 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 19 Aug 2005 18:46:00 +0100 Subject: resolution of Time in Rev In-Reply-To: <430619E8.2020305@tweedly.net> References: <43061344.6010203@sover.net> <430619E8.2020305@tweedly.net> Message-ID: <43061AD8.4060409@tweedly.net> Alex Tweedly wrote: > >> local nextFTPTime >> on mouseUp >> if the seconds > nextFTPTime then >> do ftp Stuff >> put the seconds + field "TestFreq" into nextFTPTime >> end if >> send "mouseUp" to me in 10 seconds >> end mouseUp > You might want to make that send "mouseUp" to me in min(10, nextFTPTime-the seconds) seconds just to get the desired time more accurate ... otherwise, if your frequency was, say, 12 (the value I happened to use in my test before I sent the above script :-), you'll wait an extra 8 seconds.... -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 18/08/2005 From jhurley at infostations.com Fri Aug 19 14:19:11 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 19 Aug 2005 11:19:11 -0700 Subject: use-revolution Digest, Vol 23, Issue 66 In-Reply-To: <20050819170005.12085824ED4@mail.runrev.com> References: <20050819170005.12085824ED4@mail.runrev.com> Message-ID: > >Message: 17 >Date: Fri, 19 Aug 2005 13:13:40 -0400 >From: Jon >Subject: resolution of Time in Rev >To: Revolution List >Message-ID: <43061344.6010203 at sover.net> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >I'm trying to schedule something to happen some time in the future. Due >to some other complexities, I cannot just do a > >send "mouseUp" to me in 1000 seconds > >Rather, I have to wake up every 10 seconds and figure out whether it is >time to do the processing or not. The current code is presented below. > >The interesting thing is that, despite the claim that Rev times are in >seconds, and even in milliseconds, the values I'm seeing are in >increments of 60 seconds. I flagged a line in the code below. Rather >than seeing "60" and then "50" and then "40", etc, I instead see "60" 6 >times and then "0". Am I doing something wrong? Or, rather, what am I >doing wrong? > >BTW: feel free to show me how I should have written this: it is hugely >awkward and could be done much easier in languages that I know better. > >:) > >Jon > >on mouseup > local mostRecentFTPTime > -- is it time yet? > convert the date && the time to dateItems > subtract field "TestFreq" from item 5 of it > convert it to seconds > put item 1 of it into currTime > if currTime < mostRecentFTPTime then > -- show the user how long before next test > set the text of field "TimeToGo" to mostRecentFTPTime - currTime & >" secs to go" -- this is the line I'm talking about > send "mouseUp" to me in 10 seconds > exit mouseUp > end if > > -- do the FTP stuff here! > > convert the date && the time to seconds > put it into mostRecentFTPTime > send "mouseUp" to me in 10 seconds >end MouseUp > Jon, The information in the variable mostRecentFTPTime is lost after mouseUp is run. To save that data you might want to consider a custom variable, for example: set the mostRecentFTPTime of me to it, and earlier: if currTime < the most mostRecentFTPTime of me then Jim From scott at proherp.com Fri Aug 19 14:26:03 2005 From: scott at proherp.com (Scott Kane) Date: Sat, 20 Aug 2005 04:26:03 +1000 Subject: dBase or Paradox interface Message-ID: <000301c5a4eb$7a9c2350$0201010a@proherps56yaxv> Hi all, It's great to be here posting as an owner of Revolution License, rather than an evaluator. :-) Just a quick question - Rev comes with some cool options for databases. I have some legacy app's using dBase IV and Paradox. I was wondering if there was something available in Rev that would be able to read these for conversion? Scott Kane From sunshine at public.kherson.ua Fri Aug 19 14:30:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri, 19 Aug 2005 21:30:56 +0300 Subject: dBase or Paradox interface In-Reply-To: <000301c5a4eb$7a9c2350$0201010a@proherps56yaxv> Message-ID: On 8/19/05 9:26 PM, "Scott Kane" wrote: > Hi all, > > It's great to be here posting as an owner > of Revolution License, rather than an evaluator. :-) > > Just a quick question - Rev comes with some cool > options for databases. I have some legacy app's using > dBase IV and Paradox. I was wondering if there was > something available in Rev that would be able to read > these for conversion? Hi Scott, If you will decide to use Valentina as database for your app, Then you can convert any db that have ODBC driver into Valentina using Valentina Studio application. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jhurley at infostations.com Fri Aug 19 14:36:10 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 19 Aug 2005 11:36:10 -0700 Subject: resolution of Time in Rev Message-ID: Jon, I should have pointed out in my previous response that the way to find these problems in the future is to use the RR debugger. If you set a break point at the line: if currTime < mostRecentFTPTime then... and if you open the "Variable watcher" you would see that the variable mostRecentFTPTime is empty on each go around. You would then easily recognize the need for permanence, either using a global or custom variable. Jim From warren at howsoft.com Fri Aug 19 14:37:05 2005 From: warren at howsoft.com (Bob Warren) Date: Fri, 19 Aug 2005 15:37:05 -0300 Subject: Revolution running on Ubuntu? Message-ID: <009e01c5a4ed$355e8b00$0201a8c0@john> Dear Peter, Here is a quote from what I said a few days back on the List: As you know, Linux grows daily, not least of all here in Brazil. However, until last week I had never found a Linux that worked 100%, so I stuck with Windows. But the great revelation of last week was the discovery of the Debian-based "Ubuntu" Linux, which is head and shoulders above the rest. Yesterday, I installed a trial version of RunRev, which not only seemed to work as well as the Windows version, but was even more beautiful! I was overjoyed. Since then, I haven't tested RR in any greater depth, but it looks OK. Regards, Bob >from: rev at everymail.net >Had anyone sucess running Revolution under Ubuntu Linux or >Debian? >Best Regards >Peter From Cubist at aol.com Fri Aug 19 14:38:31 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Fri, 19 Aug 2005 14:38:31 EDT Subject: the message box Message-ID: <159.575fa0ad.30378127@aol.com> sez jbondy at sover.net: >Too bad the IDE didn't highlight the reserved word in some special >color: I might have been able to guess if that were the case! Hm. I thought the IDE had a Preference for colorizing one's scripts, for just this sort of reason? From jbondy at sover.net Fri Aug 19 14:52:23 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 14:52:23 -0400 Subject: the message box In-Reply-To: <159.575fa0ad.30378127@aol.com> References: <159.575fa0ad.30378127@aol.com> Message-ID: <43062A67.2070404@sover.net> Could well be. I use whatever the color defaults are. That is, my scripts are indeed in colors. Just no quite as many as I would like Jon Cubist at aol.com wrote: >sez jbondy at sover.net: > > >>Too bad the IDE didn't highlight the reserved word in some special >>color: I might have been able to guess if that were the case! >> >> > Hm. I thought the IDE had a Preference for colorizing one's scripts, for >just this sort of reason? >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From jbondy at sover.net Fri Aug 19 14:54:41 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 14:54:41 -0400 Subject: use-revolution Digest, Vol 23, Issue 66 In-Reply-To: References: <20050819170005.12085824ED4@mail.runrev.com> Message-ID: <43062AF1.6000909@sover.net> Alex, Jim: "The information in the variable mostRecentFTPTime is lost after mouseUp is run" You both are, of course, correct. The code I posted is not the code I actually used: the real code is MUCH more complex. In my attempt to make the published code focus on the problem at hand, I screwed up. mostRecentFTPTime is indeed a globally defined Local variable. The problem I am describing does not relate to this mistake on my part... :) Jon From jbondy at sover.net Fri Aug 19 14:55:38 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 14:55:38 -0400 Subject: resolution of Time in Rev In-Reply-To: References: Message-ID: <43062B2A.6090606@sover.net> Jim: I do, in fact, use the debugger. I also write lots of debugging information out to the log I'm creating. The code I stripped out of the example was exactly all of that debugging code. :) Jon Jim Hurley wrote: > Jon, > > I should have pointed out in my previous response that the way to find > these problems in the future is to use the RR debugger. If you set a > break point at the line: > > if currTime < mostRecentFTPTime then... > > and if you open the "Variable watcher" you would see that the > variable mostRecentFTPTime is empty on each go around. You would then > easily recognize the need for permanence, either using a global or > custom variable. > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From stephenREVOLUTION at barncard.com Fri Aug 19 14:59:25 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 19 Aug 2005 11:59:25 -0700 Subject: dBase or Paradox interface In-Reply-To: <000301c5a4eb$7a9c2350$0201010a@proherps56yaxv> References: <000301c5a4eb$7a9c2350$0201010a@proherps56yaxv> Message-ID: If you can find an old machine to run dBase IV and Paradox or if they will run in Classic just export the databases to CSV or tab delimited and you can use anything....including MYSQL and sqlLITE, etc. >Hi all, > >It's great to be here posting as an owner >of Revolution License, rather than an evaluator. :-) > >Just a quick question - Rev comes with some cool >options for databases. I have some legacy app's using >dBase IV and Paradox. I was wondering if there was >something available in Rev that would be able to read >these for conversion? > Scott Kane From jbondy at sover.net Fri Aug 19 15:01:40 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 15:01:40 -0400 Subject: resolution of Time in Rev In-Reply-To: <430619E8.2020305@tweedly.net> References: <43061344.6010203@sover.net> <430619E8.2020305@tweedly.net> Message-ID: <43062C94.6080904@sover.net> Alex Tweedly wrote: > > > 2. Unless you need to for some reason I don't see here, don't mess > around with date & time. What I'm trying to do is find a way to express "more than 60 minutes after the most recent time/date stamp" in such a way that it will not fail across noon/midnight boundaries. In Delphi, all times are just expressed as floating point numbers, where each day is "1", 12 hours is "0.5", etc, so all of these calculations are dead triviall in that situation. I'm confused by all of the various ways that Dates can be used and Times can be used. I'm not sure if these two concepts are separate or united in some way. The Convert routine gives some clues, but I could not find a discussion on Time/Date, which is really what I'm trying to use/do. "if the seconds > nextFTPTime then" Ah. More puns. So "the seconds" means something different than "seconds". I guess "the seconds" is what I was looking for all along. Difficult to spot, since it is more or less a time/date concept masquerading as a time. But, that said, this simplifies things considerably. Thanks! Learning about "the seconds" was very helpful! :) Jon From higginsta at mac.com Fri Aug 19 15:14:37 2005 From: higginsta at mac.com (Todd Higgins) Date: Fri, 19 Aug 2005 15:14:37 -0400 Subject: Blowing in the Wind In-Reply-To: <20050817190257.B76F6824F63@mail.runrev.com> References: <20050817190257.B76F6824F63@mail.runrev.com> Message-ID: I would love to see the smooth effect, but it also flickers like mad under Rev 2.5.1, any chance of saving it as stack that I could get to from the Dreamcard 2.6.1 player? Thanks Todd On Aug 17, 2005, at 3:18 PM, MisterX wrote: > > actually, it's more like most european flags, flogged down the > downpour ;( > > if you've been to Seattle, you know what i mean ;) > > ;) > > but this blowing stack really blows a lot of my expectations out of > RunRev. > It could do openGL if it really wanted too and in total > transparency... > > just imagine the faces of the drulling developpers on other IDEs > seeing > this! > > cheers > X > > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> Dan Shafer >> Sent: Wednesday, August 17, 2005 20:44 >> To: How to use Revolution >> Subject: Re: Blowing in the Wind >> >> But I thought the wind was always blowing so strongly in >> Scotland that flags don't ripple, they just stand straight out. >> >> :-D >> >> Dan >> >> On Aug 17, 2005, at 5:21 AM, david bovill wrote: >> >> >>> Lovely :) >>> >>> Any chance of a Scottish Flag? >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage >> your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From Cubist at aol.com Fri Aug 19 15:16:41 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Fri, 19 Aug 2005 15:16:41 EDT Subject: use-revolution Digest, Vol 23, Issue 66 Message-ID: <87.2e0b38c6.30378a19@aol.com> In a message dated 8/19/05 10:15:10 AM, use-revolution-request at lists.runrev.com writes: > >Date: Fri, 19 Aug 2005 13:13:40 -0400 >From: Jon >Subject: resolution of Time in Rev >To: Revolution List >Message-ID: <43061344.6010203 at sover.net> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >I'm trying to schedule something to happen some time in the future. Due >to some other complexities, I cannot just do a >send "mouseUp" to me in 1000 seconds > >Rather, I have to wake up every 10 seconds and figure out whether it is >time to do the processing or not. The current code is presented below. > >The interesting thing is that, despite the claim that Rev times are in >seconds, and even in milliseconds, the values I'm seeing are in >increments of 60 seconds. I flagged a line in the code below. Rather >than seeing "60" and then "50" and then "40", etc, I instead see "60" 6 >times and then "0". Am I doing something wrong? Or, rather, what am I >doing wrong? One: You're using "the time", which only provides hour and minute. What you want is "the long time", which provides hour, minute, and second. Two: You're using item 5 of the dateItems, which is the minutes. Item 6 of the dateItems is the seconds, which is what you want. There's other stuff I have questions about, but the preceding two points *will* mess you up, and the stuff I've got questions about is prolly just differences in coding style, so there's no point in me asking. Hope this helps... From jbondy at sover.net Fri Aug 19 15:21:16 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 15:21:16 -0400 Subject: time anomaly Message-ID: <4306312C.7030108@sover.net> Any idea why this code produces "19:00:54" instead of "54"? I do have twelveHourTime set to false, but... on mouseUp local t put 54 into t convert t to long time answer t end mouseUp From scott at proherp.com Fri Aug 19 15:23:24 2005 From: scott at proherp.com (Scott Kane) Date: Sat, 20 Aug 2005 05:23:24 +1000 Subject: dBase or Paradox interface In-Reply-To: Message-ID: <000001c5a4f3$7afd0e60$0201010a@proherps56yaxv> > If you will decide to use Valentina as database for your app, > Then you can convert any db that have ODBC driver into > Valentina using Valentina Studio application. Thanks Ruslen! :-) Scott From scott at proherp.com Fri Aug 19 15:26:58 2005 From: scott at proherp.com (Scott Kane) Date: Sat, 20 Aug 2005 05:26:58 +1000 Subject: dBase or Paradox interface In-Reply-To: Message-ID: <000101c5a4f3$fd691e20$0201010a@proherps56yaxv> > If you can find an old machine to run dBase IV and Paradox or if they > will run in Classic just export the databases to CSV or tab delimited > and you can use anything....including MYSQL and sqlLITE, etc. They are on a Intel box - but no matter your suggestion would work fine anyway. Can't believe I didn't think of it! Scott From chipp at chipp.com Fri Aug 19 15:38:54 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 19 Aug 2005 14:38:54 -0500 Subject: the message box In-Reply-To: <4305F040.4030504@sover.net> References: <4305E3EA.4030909@sover.net> <4305F040.4030504@sover.net> Message-ID: <4306354E.3040205@chipp.com> Jon wrote: > Too bad the IDE didn't highlight the reserved word in some special > color: I might have been able to guess if that were the case! Too bad the IDE can't just write your program for you. Geez Jon, you really don't attempt to read anything, do you? For crying out loud, all you have to do is spend a couple of hours reading the docs, checking out Richard's Scripting Style guide and perusing this list, and you would save yourself (and many of us, by the way) time from typing and reading your constant complaining (again, and again) on this list. I've said it before, and I'll repeat it. You should buy the books and reference manuals, spend a couple of nights reading through them, scan the lists for interesting items. For instance, I searched the Use-Rev list for "line break" and the first hit was from Ken Ray: http://lists.runrev.com/pipermail/use-revolution/2002-October/008701.html "You can also use a "\" as in: put "this is a very long line of text" \ into myVar" I mean, that took me all of 2 seconds. Instead, you'd rather type a long email complaining to the list you couldn't find the answer. Geez. -Chipp From FlexibleLearning at aol.com Fri Aug 19 15:40:26 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri, 19 Aug 2005 15:40:26 EDT Subject: Continuation Lines (was: I give up: how do you continue a line in Rev?) Message-ID: <1f1.4220c189.30378faa@aol.com> The corollary of "\" is ";" (a semi-colon) ... on sillyTest what if what then get 2; add 2 to it; put "A" after it; put it; exit to top end if [.../...] end sillyTest Useful for very short lines! /H FLCo Home of the Scripter's Scrapbook From scott at tactilemedia.com Fri Aug 19 15:40:53 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 19 Aug 2005 12:40:53 -0700 Subject: Blowing in the Wind In-Reply-To: Message-ID: Recently, Todd Higgins wrote: > I would love to see the smooth effect, but it also flickers like mad > under Rev 2.5.1, any chance of saving it as stack that I could get to > from the Dreamcard 2.6.1 player? The flag stack is just that -- a stack. And it relies on the latest version of Rev to work since it uses the deep masks feature that is only present in the latest release. I don't know what version of the engine is present in Dreamcard 2.6.1 but if it's not based on the 2.6.5 (?) engine found in Rev, the flag stack still won't display properly. Sorry. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From briany at qldlearning.com Fri Aug 19 15:41:30 2005 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 19 Aug 2005 12:41:30 -0700 Subject: time anomaly In-Reply-To: <4306312C.7030108@sover.net> References: <4306312C.7030108@sover.net> Message-ID: <9e08dc1ac36413d00b54af9738b5cc96@qldlearning.com> This is a guess, but I believe it would be because: "The seconds function returns the total number of seconds since midnight, January 1, 1970 GMT" Assuming your timezone is at GMT-5 hours, you are seeing 54 seconds past January 1, 1970 GMT, otherwise known as December 31, 1969 @ 19:00:54 HTH, Brian > Any idea why this code produces "19:00:54" instead of "54"? I do have > twelveHourTime set to false, but... > > on mouseUp > local t > put 54 into t > convert t to long time > answer t > end mouseUp From higginsta at mac.com Fri Aug 19 15:59:45 2005 From: higginsta at mac.com (Todd Higgins) Date: Fri, 19 Aug 2005 15:59:45 -0400 Subject: Blowing in the Wind In-Reply-To: References: Message-ID: <88F19E39-08DB-452B-8749-EFA30789D308@mac.com> Thanks Scott, I was able to get it play smoothly in the 2.6 Revolution Dreamcard Player. It is a beautiful effect, but it was sucking up 25% of my G4's processor (867 PB). Is that typical? Does anyone know how that would compare to a similar animation in Flash? Todd On Aug 19, 2005, at 3:40 PM, Scott Rossi wrote: > Recently, Todd Higgins wrote: > > >> I would love to see the smooth effect, but it also flickers like mad >> under Rev 2.5.1, any chance of saving it as stack that I could get to >> from the Dreamcard 2.6.1 player? >> > > The flag stack is just that -- a stack. And it relies on the > latest version > of Rev to work since it uses the deep masks feature that is only > present in > the latest release. > > I don't know what version of the engine is present in Dreamcard > 2.6.1 but if > it's not based on the 2.6.5 (?) engine found in Rev, the flag stack > still > won't display properly. Sorry. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at elementarysoftware.com Fri Aug 19 16:02:34 2005 From: scott at elementarysoftware.com (Scott Morrow) Date: Fri, 19 Aug 2005 13:02:34 -0700 Subject: revChangeWindowSize UP Message-ID: I'm trying to animate a window "growing" up, similar to the "revChangeWindowSize" handler (it only goes right and down) My trouble is with keeping the objects in the window from scrolling up with the top of the window and then redrawing at the correct position at the end of the handler. If I unlock the screen each time I change the rect of the stack, the objects appear correctly in the window as it resizes... but with lots of flicker, of course. I'm suspicious that I may be wasting my time. -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- From mark at maseurope.net Fri Aug 19 15:51:11 2005 From: mark at maseurope.net (Mark Smith) Date: Fri, 19 Aug 2005 20:51:11 +0100 Subject: resolution of Time in Rev In-Reply-To: <43062C94.6080904@sover.net> References: <43061344.6010203@sover.net> <430619E8.2020305@tweedly.net> <43062C94.6080904@sover.net> Message-ID: If it helps, 'the seconds' (like 'the time', 'the date', 'the files') is really a function, and can be used like: put seconds() into tNow. Incidentally, looking this up reveals that the dictionary also lists 'seconds' (plural) as a keyword to denote the second member of a set, when obviously it should be 'second' (singular). Is this the kind of thing to bz? Cheers, Mark On 19 Aug 2005, at 20:01, Jon wrote: > > > Alex Tweedly wrote: > >> >> >> 2. Unless you need to for some reason I don't see here, don't mess >> around with date & time. > > > What I'm trying to do is find a way to express "more than 60 minutes > after the most recent time/date stamp" in such a way that it will not > fail across noon/midnight boundaries. In Delphi, all times are just > expressed as floating point numbers, where each day is "1", 12 hours > is "0.5", etc, so all of these calculations are dead triviall in that > situation. I'm confused by all of the various ways that Dates can be > used and Times can be used. I'm not sure if these two concepts are > separate or united in some way. The Convert routine gives some clues, > but I could not find a discussion on Time/Date, which is really what > I'm trying to use/do. > > "if the seconds > nextFTPTime then" > > Ah. More puns. So "the seconds" means something different than > "seconds". I guess "the seconds" is what I was looking for all along. > Difficult to spot, since it is more or less a time/date concept > masquerading as a time. But, that said, this simplifies things > considerably. > > Thanks! Learning about "the seconds" was very helpful! > > :) > > Jon > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com From revolution at derbrill.de Fri Aug 19 16:11:11 2005 From: revolution at derbrill.de (Malte Brill) Date: Fri, 19 Aug 2005 22:11:11 +0200 Subject: Blowing in the Wind In-Reply-To: <20050819192439.38EDD824FF0@mail.runrev.com> Message-ID: <63428ED4-10ED-11DA-AA44-0030659A795C@derbrill.de> Excellent work scott! And twice as funny if you set the systemWindow of the stack to true. :-) >I was able to get it play smoothly in the 2.6 Revolution Dreamcard Player. It is a beautiful effect, but it was >sucking up 25% of my G4's processor (867 PB). Is that typical? Does anyone know how that would compare to a >similar animation in Flash? Todd I guess one can?t compare this. As far as I know you will always display the flash animation in a window. No shapes for flash movies. (Even though I might be wrong there) If you would leave out setting the windowshape in Rev CPU usage would drop enormously. All the best, Malte From charles.hartman at conncoll.edu Fri Aug 19 16:15:41 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Fri, 19 Aug 2005 16:15:41 -0400 Subject: back/forward confined to one stack Message-ID: I'm positively childishly pleased to report that my simple implementation of a history-list for a single stack or substack works. It confines itself to that stack alone (unlike the Rev- internal commands relevant to "recent" -- but thanks to Jacque for her suggestions that made me learn more about those). Assuming that each card in the relevant stack has a Back button whose mouseUp handler just sends the command 'backButton' and a Forward button that sends 'forwardButton', the handler's in the stack's script that I've copied below seem to do the trick. I don't know if anybody else needs this -- or if, as I'd be glad to hear, there's a better way to do it. It turned out to be a pretty design problem; the crux is what to do when the user navigates to card *not* using the Back or Forward buttons. In that case I've opted for deleting everything in the list after the present "Ptr" position. This has the disadvantage of making some visited cards not accessible through "Back". (Visit Able then Baker then Charlie, then go back to Baker, then visit Delta. Charlie is not in the history path any more.) Getting around that requires, as far as I can see, adding every visit to every card (through a button or not) to the list, and keeping a potentially very complicated tree-based set of pointers to it. The only complete implementation of *that* kind of history I know of is the thorough, branch-preserving Undo facility of MOTU's Digital Performer. Certainly beyond me -- so it's a good thing it's beyond my needs. Charles ======== handlers for script of stack to be "historicized" ================= global gHistList, gHistPtr, gFromButton on preOpenStack put empty into gHistList put 0 into gHistPtr put false into gFromButton end preOpenStack on backButton if gHistPtr > 1 then put true into gFromButton subtract 1 from gHistPtr put line gHistPtr of gHistList into tDest go to tDest end if end backButton on forwardButton put the number of lines of gHistList into tLast if gHistPtr < tLast then put true into gFromButton add 1 to gHistPtr put line gHistPtr of gHistList into tDest go to tDest end if end forwardButton on preOpenCard if not gFromButton then repeat with n = the number of lines of gHistList down to gHistPtr + 1 delete line n of gHistList end repeat put the name of this card & return after gHistList add 1 to gHistPtr end if put false into gFromButton if exists(btn "Back") then disable btn "Back" if gHistPtr > 1 then enable btn "Back" end if if exists(btn "Forward") then disable btn "Forward" if gHistPtr < the number of lines of gHistList then enable btn "Forward" end if end preOpenCard From scott at tactilemedia.com Fri Aug 19 16:19:04 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 19 Aug 2005 13:19:04 -0700 Subject: Blowing in the Wind In-Reply-To: <88F19E39-08DB-452B-8749-EFA30789D308@mac.com> Message-ID: Recently, Todd Higgins wrote: > I was able to get it play smoothly in the 2.6 Revolution Dreamcard > Player. It is a beautiful effect, but it was sucking up 25% of my > G4's processor (867 PB). Is that typical? This is true for almost any animation/messages that run in intervals less than 1 second. The more messages you have, and the more frequently you send them, the more processor time is consumed. What is interesting is that the related construct "wait until with messages" appears to consume little or no additional processor time, but accomplishes the same result. I've asked about this on the list before but never saw any official response from the rev folks. Wait with messages *appears* to be a less processor intensive technique, but the drawback is you cannot edit the script while the wait is executing. > Does anyone know how that would compare to a similar animation in Flash? In a standard window there would be no overhead at all -- it would simply be animation. Last I looked (which was some time ago), I didn't see any way to *dynamically change* the window mask of a movie. I know you can apply a custom window shape to a standalone application, but I'm not familiar with any way to dynamically change the mask while the movie is running (though there may be a way). Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ambassador at fourthworld.com Fri Aug 19 16:19:58 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Aug 2005 13:19:58 -0700 Subject: back/forward confined to one stack In-Reply-To: References: Message-ID: <43063EEE.6020008@fourthworld.com> Excellent work, Charles. I've quoted your full post here because your script makes good learning material for others who may have the same need, well worth a second read. As much as I appreciate the convenience of "go back", like you I've found that I often need more control of what's included in the backList and what isn't. As you've found, maintaining your own history only takes a couple dozen lines in all, and gives you complete control over it. Good job! -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com Charles Hartman wrote: > I'm positively childishly pleased to report that my simple > implementation of a history-list for a single stack or substack works. > It confines itself to that stack alone (unlike the Rev- internal > commands relevant to "recent" -- but thanks to Jacque for her > suggestions that made me learn more about those). Assuming that each > card in the relevant stack has a Back button whose mouseUp handler just > sends the command 'backButton' and a Forward button that sends > 'forwardButton', the handler's in the stack's script that I've copied > below seem to do the trick. > > I don't know if anybody else needs this -- or if, as I'd be glad to > hear, there's a better way to do it. It turned out to be a pretty > design problem; the crux is what to do when the user navigates to card > *not* using the Back or Forward buttons. In that case I've opted for > deleting everything in the list after the present "Ptr" position. This > has the disadvantage of making some visited cards not accessible > through "Back". (Visit Able then Baker then Charlie, then go back to > Baker, then visit Delta. Charlie is not in the history path any more.) > Getting around that requires, as far as I can see, adding every visit > to every card (through a button or not) to the list, and keeping a > potentially very complicated tree-based set of pointers to it. The only > complete implementation of *that* kind of history I know of is the > thorough, branch-preserving Undo facility of MOTU's Digital Performer. > Certainly beyond me -- so it's a good thing it's beyond my needs. > > Charles > > ======== handlers for script of stack to be "historicized" > ================= > > global gHistList, gHistPtr, gFromButton > > on preOpenStack > put empty into gHistList > put 0 into gHistPtr > put false into gFromButton > end preOpenStack > > on backButton > if gHistPtr > 1 then > put true into gFromButton > subtract 1 from gHistPtr > put line gHistPtr of gHistList into tDest > go to tDest > end if > end backButton > > on forwardButton > put the number of lines of gHistList into tLast > if gHistPtr < tLast then > put true into gFromButton > add 1 to gHistPtr > put line gHistPtr of gHistList into tDest > go to tDest > end if > end forwardButton > > on preOpenCard > if not gFromButton then > repeat with n = the number of lines of gHistList down to gHistPtr + 1 > delete line n of gHistList > end repeat > put the name of this card & return after gHistList > add 1 to gHistPtr > end if > put false into gFromButton > if exists(btn "Back") then > disable btn "Back" > if gHistPtr > 1 > then enable btn "Back" > end if > if exists(btn "Forward") then > disable btn "Forward" > if gHistPtr < the number of lines of gHistList > then enable btn "Forward" > end if > end preOpenCard > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From ambassador at fourthworld.com Fri Aug 19 16:25:23 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Aug 2005 13:25:23 -0700 Subject: resolution of Time in Rev In-Reply-To: References: <43061344.6010203@sover.net> <430619E8.2020305@tweedly.net> <43062C94.6080904@sover.net> Message-ID: <43064033.1010802@fourthworld.com> Mark Smith wrote: > If it helps, 'the seconds' (like 'the time', 'the date', 'the files') is > really a function, and can be used like: put seconds() into tNow. If you're prone to curmudgeonly habits you might find the function form very useful when skimming code to help differentiate from properties. I've never understood why the original HyperTalk designers decided to allow property syntax for some functions, or why only some but not others. But in spite of their choice, we can choose to employ a consistent style to help maintainers of our code differentiate that much more easily. > Incidentally, looking this up reveals that the dictionary also lists > 'seconds' (plural) as a keyword to denote the second member of a set, > when obviously it should be 'second' (singular). > > Is this the kind of thing to bz? Yes, thanks. It's a relatively minor clarification to note that only the singular form should be used for ordinal references, but every small improvement contributes to the overall learnability of the language. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From gefisher at mac.com Fri Aug 19 16:30:50 2005 From: gefisher at mac.com (Glenn E. Fisher) Date: Fri, 19 Aug 2005 15:30:50 -0500 Subject: I give up: how do you continue a line in Rev? Message-ID: <2255a7b83a8914613b4e62d929b80e53@mac.com> Peter, On August 19, 2005 11:33:48 AM CDT you wrote: > How is this different from the existing search option? > Well it is somewhat different and seems to be faster than the documentation search on my machine. It also hilites the search string in red in the found topics. Check it out by running the same search on each and compare. It also has some nice radio button options for restricting or enhancing the search. Best regards, Glenn > At 08:36 AM 8/19/2005, you wrote: >> Revers, >> Sorry to be so late on this topic. I'm retired. :-)) >> >> If you haven't already, get Wilhelm Sanke's excellent "Search Docs" >> plugin. Put it in your plugins folder for easy access in Rev. >> >> I typed Jon's first search into it (continue) and "break \" came up >> as the first in the list. >> >> Get the one that's appropriate for you at this web page: >> >> http://www.sanke.org/MetaMedia/index.html >> >> Or on RevOnline under user "sanke". >> >> Happy reving, >> Glenn -- Glenn E. Fisher University of Houston - Retired 22402 Diane Dr. Spring, Tx 77373 gfisher4 at houston.rr.com http://www.uh.edu/~fisher http://home.houston.rr.com/thegefishers/ http://homepage.mac.com/gefisher From scott at proherp.com Fri Aug 19 16:35:53 2005 From: scott at proherp.com (Scott Kane) Date: Sat, 20 Aug 2005 06:35:53 +1000 Subject: ISAM In-Reply-To: <000001c5a4f3$7afd0e60$0201010a@proherps56yaxv> Message-ID: <000201c5a4fd$9ade53b0$0201010a@proherps56yaxv> Hi, Somone told be a while back aout a Revolution tool that was an ISAM style table system. I've mamanged to lose the link... Apart from saving cards (which is on my list) are there any other options for single user acces. MYAQL etc are to much for my users to deal with. Valentino looks good but is out of my price range at the moment... Sciott From ambassador at fourthworld.com Fri Aug 19 16:46:25 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Aug 2005 13:46:25 -0700 Subject: ISAM In-Reply-To: <000201c5a4fd$9ade53b0$0201010a@proherps56yaxv> References: <000201c5a4fd$9ade53b0$0201010a@proherps56yaxv> Message-ID: <43064521.6090809@fourthworld.com> Scott Kane wrote: > Hi, > > Somone told be a while back aout a Revolution > tool that was an ISAM style table system. I've > mamanged to lose the link... > > Apart from saving cards (which is on my list) > are there any other options for single user > acces. MYAQL etc are to much for my users to > deal with. Valentino looks good but is out of > my price range at the moment... Depending on your indexing needs, if your data set is small enough to be used in RAM you might consider storing your data in custom properties. Random access of properties through array notation is lightning fast, and sequential access is suitable. Surprisingly, sequential access of a simple line-delimited list is about 15-20% faster, and may also provide a reasonable solution for tables. I have a system I'm building which uses a mix of each, often with tab- and line-delimited tables stored in custom properties. It's reasonably fast (does a 3-criteria search at the rate of about 16k records per second) and since it's just native Transcript my client has no per-user seat fee. :) For more on using custom props in stack files for storage: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From got at mindspring.com Fri Aug 19 17:03:27 2005 From: got at mindspring.com (Gordon Tillman) Date: Fri, 19 Aug 2005 16:03:27 -0500 Subject: Revolution running on Ubuntu? In-Reply-To: <200508191451.j7JEp8fr001934@everymail-A16-C01.everymail.net> References: <200508191451.j7JEp8fr001934@everymail-A16-C01.everymail.net> Message-ID: Peter I use Revolution with Ubuntu, no problem. I you have any questions feel free to contact me. --gordon On Aug 19, 2005, at 09:51, rev at everymail.net wrote: > Had anyone sucess running Revolution under Ubuntu Linux or > Debian? > Best Regards > Peter > > > > > ------------------- Werbung ----------------------- > >>> JETZT: AT-Domains Erst-Registrierung kostenlos! >>> > und NUR EUR 16,00/Jahr * http://www.emerion.com > > > --------------------------------------------------------- > *** sent through http://www.everymail.net FREE e-mail > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jhurley at infostations.com Fri Aug 19 17:05:07 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 19 Aug 2005 14:05:07 -0700 Subject: OT: Super-computer studies aerodynamics of the potato chip In-Reply-To: <20050819170005.12085824ED4@mail.runrev.com> References: <20050819170005.12085824ED4@mail.runrev.com> Message-ID: This from todays NYT: "Once the exclusive territory of nuclear weapons designers and code breaker, ultrafast computers are increasingly being used in every day product design. Procter & Gamble used a supercomputer to study the airflow over its Pringles potato chips to help stop them from fluttering off the company's assembly lines." Today the potato chip, tomorrow the Shuttle. Jim From mwieder at ahsoftware.net Fri Aug 19 17:14:54 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Aug 2005 14:14:54 -0700 Subject: time anomaly In-Reply-To: <4306312C.7030108@sover.net> References: <4306312C.7030108@sover.net> Message-ID: <14722739097.20050819141454@ahsoftware.net> Jon- Friday, August 19, 2005, 12:21:16 PM, you wrote: > Any idea why this code produces "19:00:54" instead of "54"? I do have > twelveHourTime set to false, but... > on mouseUp > local t > put 54 into t > convert t to long time > answer t > end mouseUp Well, I can see why you might think that would work, but... the docs (remember the docs? they come with the package...) say that convert "Changes a date, a time, or a date and time to a specified format" What you have given it as an argument is not a date, time, nor a date and time, but just a number. I would expect that you would get back an indeterminate answer. I get "4:00:54 PM". At least today. GIGO. -- -Mark Wieder mwieder at ahsoftware.net From scott at proherp.com Fri Aug 19 17:35:25 2005 From: scott at proherp.com (Scott Kane) Date: Sat, 20 Aug 2005 07:35:25 +1000 Subject: ISAM In-Reply-To: <43064521.6090809@fourthworld.com> Message-ID: <000001c5a505$eeb18cc0$0201010a@proherps56yaxv> Hi Richard, > Depending on your indexing needs, if your data set is small > enough to be > used in RAM you might consider storing your data in custom properties. They are pretty light actually.Just a lot of tables. > Random access of properties through array notation is lightning fast, > and sequential access is suitable. Surprisingly, sequential > access of a > simple line-delimited list is about 15-20% faster, and may > also provide > a reasonable solution for tables. Cany chance of some demo code? I'm still feeling my way in Rev, You can post off list if you want to: scott at proherp.com > I have a system I'm building which uses a mix of each, often > with tab- and line-delimited tables stored in custom properties. It's > reasonably fast (does a 3-criteria search at the rate of about 16k records per > second) and since it's just native Transcript my client has > no per-user > seat fee. :) I'd prbably need a binary format for that as I have notes and photo's going in... Thanks for taking the time to answer, Scott From mark at maseurope.net Fri Aug 19 17:45:56 2005 From: mark at maseurope.net (Mark Smith) Date: Fri, 19 Aug 2005 22:45:56 +0100 Subject: resolution of Time in Rev In-Reply-To: <43064033.1010802@fourthworld.com> References: <43061344.6010203@sover.net> <430619E8.2020305@tweedly.net> <43062C94.6080904@sover.net> <43064033.1010802@fourthworld.com> Message-ID: Bug 3066 entered.... On 19 Aug 2005, at 21:25, Richard Gaskin wrote: > Mark Smith wrote: >> If it helps, 'the seconds' (like 'the time', 'the date', 'the files') >> is really a function, and can be used like: put seconds() into tNow. > > If you're prone to curmudgeonly habits you might find the function > form very useful when skimming code to help differentiate from > properties. > > I've never understood why the original HyperTalk designers decided to > allow property syntax for some functions, or why only some but not > others. But in spite of their choice, we can choose to employ a > consistent style to help maintainers of our code differentiate that > much more easily. > > >> Incidentally, looking this up reveals that the dictionary also lists >> 'seconds' (plural) as a keyword to denote the second member of a set, >> when obviously it should be 'second' (singular). >> Is this the kind of thing to bz? > > Yes, thanks. It's a relatively minor clarification to note that only > the singular form should be used for ordinal references, but every > small improvement contributes to the overall learnability of the > language. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com From alex at tweedly.net Fri Aug 19 18:11:55 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 19 Aug 2005 23:11:55 +0100 Subject: resolution of Time in Rev In-Reply-To: <43062C94.6080904@sover.net> References: <43061344.6010203@sover.net> <430619E8.2020305@tweedly.net> <43062C94.6080904@sover.net> Message-ID: <4306592B.5040108@tweedly.net> Jon wrote: > > > Alex Tweedly wrote: > >> >> >> 2. Unless you need to for some reason I don't see here, don't mess >> around with date & time. > > > What I'm trying to do is find a way to express "more than 60 minutes > after the most recent time/date stamp" in such a way that it will not > fail across noon/midnight boundaries. In Delphi, all times are just > expressed as floating point numbers, where each day is "1", 12 hours > is "0.5", etc, so all of these calculations are dead triviall in that > situation. About as trivial as they are in Rev - use all your times in seconds and it's just as easy (or easier - integers instead of floating point numbers). If you want to convert them to human-readable date/time you can - that's what convert does for you. But if you just need to compare times, then I find it easier to stick to seconds. > Ah. More puns. So "the seconds" means something different than > "seconds". I guess "the seconds" is what I was looking for all > along. Difficult to spot, since it is more or less a time/date > concept masquerading as a time. But, that said, this simplifies > things considerably. > In my own code, I would probably use "seconds()" rather than "the seconds" - but it's personal preference; as a classical language programmer, I find the function style more readable. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 18/08/2005 From ambassador at fourthworld.com Fri Aug 19 18:17:52 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Aug 2005 15:17:52 -0700 Subject: ISAM In-Reply-To: <000001c5a505$eeb18cc0$0201010a@proherps56yaxv> References: <000001c5a505$eeb18cc0$0201010a@proherps56yaxv> Message-ID: <43065A90.1010000@fourthworld.com> Scott Kane wrote: >>Random access of properties through array notation is lightning fast, >>and sequential access is suitable. Surprisingly, sequential >>access of a >>simple line-delimited list is about 15-20% faster, and may >>also provide >>a reasonable solution for tables. > > Cany chance of some demo code? I'm still feeling my > way in Rev Depends on what you want to do. Remember that Transcript supports what we call chunk expressions, so you can refer to delimited items as "items" and lines as "lines": set the itemDelimiter to tab get item 4 of line 3 of tMyData > >>I have a system I'm building which uses a mix of each, often >>with tab- and line-delimited tables stored in custom properties. It's >>reasonably fast (does a 3-criteria search at the rate of about 16k records > > per > >>second) and since it's just native Transcript my client has >>no per-user > seat fee. :) > > > I'd prbably need a binary format for that as I > have notes and photo's going in... Custom properties can store binary data. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mwieder at ahsoftware.net Fri Aug 19 18:21:52 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Aug 2005 15:21:52 -0700 Subject: OT: Super-computer studies aerodynamics of the potato chip In-Reply-To: References: <20050819170005.12085824ED4@mail.runrev.com> Message-ID: <12326757194.20050819152152@ahsoftware.net> Jim- Friday, August 19, 2005, 2:05:07 PM, you wrote: > product design. Procter & Gamble used a supercomputer to study the > airflow over its Pringles potato chips to help stop them from > fluttering off the company's assembly lines." ...does that make them computer chips? -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri Aug 19 18:47:01 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Aug 2005 17:47:01 -0500 Subject: how to know if I'm on-line or not In-Reply-To: <43060244.9000300@sover.net> References: <43060244.9000300@sover.net> Message-ID: <43066165.3050400@hyperactivesw.com> Jon wrote: > I'm writing some software to continually test a web site I created. It > Posts some data every hour or so and then inspects the HTML that returns > to verify that the web site responded appropriately. > Sad to say, I connect to the Internet over a modem, so I'm not on-line > all of the time. I would like to have some logic like this, so that I > don't report an error when I'm not even on-line: > > if modem-is-connected then > test the web site > end if > > Is there any way to do this in Rev? One common technique is to "get" the url at google.com, or one at yahoo.com, or a small file you know is on your server. Then check the result to see if anything went wrong. If it didn't, assume a connection. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Aug 19 18:53:01 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Aug 2005 17:53:01 -0500 Subject: Sends getting lost In-Reply-To: <430618B1.8060802@sover.net> References: <430618B1.8060802@sover.net> Message-ID: <430662CD.6030808@hyperactivesw.com> Jon wrote: > I'm writing a program that uses "send mouseup to me in 10 seconds". > From time to time, the program stops working, as if the Send is getting > lost. I would guess that this happens whenever I go into the IDE and > switch from "run" mode to "edit" mode (the two icons at the top of Tools). Many messages are repressed when you are in editing mode. I'm not sure about custom "send" messages, but it would be easy to check by looking at the pending messages pane of the message box. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From FlexibleLearning at aol.com Fri Aug 19 19:04:05 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri, 19 Aug 2005 19:04:05 EDT Subject: [ANN] Animated gif for OSX progress Message-ID: The 'chasing arrows' is no longer OSX-HIG conformant (Apple Human Interface Guidelines 2005-8-11, page 138) and the asynchronous progress indicator is recommended. Trouble is, it's not readily accessible so we have made one for Rev... www.FlexibleLearning.com/xtalk/OSXspinnerANI.zip It's a 16x16 24-frame animated gif, is only 4kb in size, and should replicate native OSX for most purposes in your stacks. With thanks to Todd for locating the original 32px tiff files! Notes for folks new to animated icons in Revolution... 1. Download from the address above 2. Unzip to the gif 3. Import the image file into your stack 4. Make a note of the image's ID To Start the animation, type this in the message box... set the repeatCount of img id [theImgID] to -1 To stop the animation, type this in the message box... set the repeatCount of img id [theImgID] to 0 To implement in a button (so you can use a single image anywhere and as many times as you want without duplicating it), simply set the icon of the button to [theImgID] and use the same lines above to start and stop as required. /H FLCo The Scripter's Scrapbook www.FlexibleLearning.com/ssbk.htm From jbondy at sover.net Fri Aug 19 19:05:33 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 19:05:33 -0400 Subject: the message box In-Reply-To: References: <4305E3EA.4030909@sover.net> Message-ID: <430665BD.50705@sover.net> Bj?rnke von Gierke wrote: "msg is a reserved word indicating... the message box :) try to use a different name for your var and all should be fine." Given that, in this particular situation, the IDE is going to ignore my use of "msg" as a parameter variable name, would it make any sense for the compiler to flag this as a likely problem? Jon > > On Aug 19 2005, at 15:51, Jon wrote: > >> ... >> Any idea why the Message Box is suddenly getting triggered? >> ... >> Here is the current code: >> >> on DisplayMessage msg >> put the long time & " " & msg & Return after field "Memo" set the >> vScroll of field "Memo" to the formattedHeight of field "Memo" >> end DisplayMessage > > > msg is a reserved word indicating... the message box :) try to use a > different name for your var and all should be fine. > From jbondy at sover.net Fri Aug 19 19:07:24 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 19:07:24 -0400 Subject: how to know if I'm on-line or not In-Reply-To: <43066165.3050400@hyperactivesw.com> References: <43060244.9000300@sover.net> <43066165.3050400@hyperactivesw.com> Message-ID: <4306662C.9080009@sover.net> I actually started doing just as you suggested (getting Google) when no one else chimed in. Works fine, although I wonder how fond the folks at Google are at us hammering away at them all of the time Thanks! Jon J. Landman Gay wrote: > Jon wrote: > >> I'm writing some software to continually test a web site I created. >> It Posts some data every hour or so and then inspects the HTML that >> returns to verify that the web site responded appropriately. >> Sad to say, I connect to the Internet over a modem, so I'm not >> on-line all of the time. I would like to have some logic like this, >> so that I don't report an error when I'm not even on-line: >> >> if modem-is-connected then >> test the web site >> end if >> >> Is there any way to do this in Rev? > > > One common technique is to "get" the url at google.com, or one at > yahoo.com, or a small file you know is on your server. Then check the > result to see if anything went wrong. If it didn't, assume a connection. > > From jbondy at sover.net Fri Aug 19 19:07:45 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 19:07:45 -0400 Subject: Sends getting lost In-Reply-To: <430662CD.6030808@hyperactivesw.com> References: <430618B1.8060802@sover.net> <430662CD.6030808@hyperactivesw.com> Message-ID: <43066641.2010105@sover.net> Thanks for the tip! J. Landman Gay wrote: > Jon wrote: > >> I'm writing a program that uses "send mouseup to me in 10 seconds". >> From time to time, the program stops working, as if the Send is >> getting lost. I would guess that this happens whenever I go into the >> IDE and switch from "run" mode to "edit" mode (the two icons at the >> top of Tools). > > > Many messages are repressed when you are in editing mode. I'm not sure > about custom "send" messages, but it would be easy to check by looking > at the pending messages pane of the message box. > > From jacque at hyperactivesw.com Fri Aug 19 19:08:58 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Aug 2005 18:08:58 -0500 Subject: Online Scripting Conference on Saturday In-Reply-To: References: Message-ID: <4306668A.70408@hyperactivesw.com> Claire Bradin Siskin wrote: > Jacque, why don't you tell us about the Online Scripting Conference to > be held on Saturday, August 20? The last one was so good! Good idea, and glad you liked the last one. These are always a lot of fun. Our next conference, which takes place tomorrow, will be presented by xtalk pro Jeanne DeVoto, writer of the Rev docs, author of reference books on HyperTalk, and long-time recognized person of stature in the scripting community. This should be a really excellent conference. Jeanne's grasp of Revolution's nuances and behaviors is extensive; she probably knows more about the engine and the language than anyone. Jeanne's topic this week is Menus and how Revolution implements them, something that stumps a lot of people at first. Also included in this topic are menu buttons and their behaviors (option buttons, popup buttons, etc.) The downloadable conference stack is full of good examples and documentation, and Jeanne will be adding more at the live conference. She has told me there is more to cover than she was able to write into the stack. After the conference we will have our usual free-chat session where you can ask anything, on any Revolution topic, including questions about your own projects or scripts. This is a very good way to get customized help from live experts (or for those in Oz, partially-live experts.) It is also a great place for general shop talk and conversation. I hope to see you all there. Run the following in the message box to get your local time for our conference tomorrow: get 1124553600; convert it to system date and time;put it -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Cubist at aol.com Fri Aug 19 19:09:51 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Fri, 19 Aug 2005 19:09:51 EDT Subject: the message box Message-ID: <9b.65eeec54.3037c0bf@aol.com> sez jbondy at sover.net: >Cubist at aol.com wrote: >>sez jbondy at sover.net: >>>Too bad the IDE didn't highlight the reserved word in some special >>>color: I might have been able to guess if that were the case! >> Hm. I thought the IDE had a Preference for colorizing one's scripts, for >>just this sort of reason? >Could well be. I use whatever the color defaults are. That is, my >scripts are indeed in colors. Just no quite as many as I would like Stupid question: Would changing the colors from their default values help any? From alex at tweedly.net Fri Aug 19 19:11:22 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 20 Aug 2005 00:11:22 +0100 Subject: the message box In-Reply-To: <430665BD.50705@sover.net> References: <4305E3EA.4030909@sover.net> <430665BD.50705@sover.net> Message-ID: <4306671A.1010201@tweedly.net> Jon wrote: > > Bj?rnke von Gierke wrote: > > "msg is a reserved word indicating... the message box :) try to use a > different name for your var and all should be fine." > > Given that, in this particular situation, the IDE is going to ignore > my use of "msg" as a parameter variable name, would it make any sense > for the compiler to flag this as a likely problem? Sounds to me like it would be helpful, so I'd suggest entering it as a Bugzilla report - either an enhancement request or a minor bug would be my best guess of where it fits in the grand scheme of things. Please let us know the BZ number for those who want to vote for it .... -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 18/08/2005 From alex at tweedly.net Fri Aug 19 19:23:54 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 20 Aug 2005 00:23:54 +0100 Subject: the message box In-Reply-To: <9b.65eeec54.3037c0bf@aol.com> References: <9b.65eeec54.3037c0bf@aol.com> Message-ID: <43066A0A.3090001@tweedly.net> Cubist at aol.com wrote: >sez jbondy at sover.net: > > >>Cubist at aol.com wrote: >> >> >>>sez jbondy at sover.net: >>> >>> >>>>Too bad the IDE didn't highlight the reserved word in some special >>>>color: I might have been able to guess if that were the case! >>>> >>>> >>> Hm. I thought the IDE had a Preference for colorizing one's scripts, for >>>just this sort of reason? >>> >>> >>Could well be. I use whatever the color defaults are. That is, my >>scripts are indeed in colors. Just no quite as many as I would like >> >> > Stupid question: Would changing the colors from their default values help >any? > > I think Jon was implying that more colours would be better - with the implicit assumption that the script editor would use them to differentiate more kinds of items. There are a number of keywords or reserved words that currently appear in simple text colour, e.g. msg into, after, before in (e.g. send "asd" to me in 10 seconds) which could usefully be coloured, IMHO. -- Alex Tweedly http://www.tweedly.net -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 18/08/2005 From jbondy at sover.net Fri Aug 19 19:28:02 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 19:28:02 -0400 Subject: the message box In-Reply-To: <4306671A.1010201@tweedly.net> References: <4305E3EA.4030909@sover.net> <430665BD.50705@sover.net> <4306671A.1010201@tweedly.net> Message-ID: <43066B02.2040000@sover.net> BZ 3069. I screwed up and did not assign it to the proper part of Rev, using, instead, the default of "About Screen". I tried to figure out how I could edit it to correct it, but was unable to do so. Any hints? :) Jon Alex Tweedly wrote: > Jon wrote: > >> >> Bj?rnke von Gierke wrote: >> >> "msg is a reserved word indicating... the message box :) try to use a >> different name for your var and all should be fine." >> >> Given that, in this particular situation, the IDE is going to ignore >> my use of "msg" as a parameter variable name, would it make any sense >> for the compiler to flag this as a likely problem? > > > Sounds to me like it would be helpful, so I'd suggest entering it as a > Bugzilla report - either an enhancement request or a minor bug would > be my best guess of where it fits in the grand scheme of things. > Please let us know the BZ number for those who want to vote for it .... > From jacque at hyperactivesw.com Fri Aug 19 19:33:46 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Aug 2005 18:33:46 -0500 Subject: how to know if I'm on-line or not In-Reply-To: <4306662C.9080009@sover.net> References: <43060244.9000300@sover.net> <43066165.3050400@hyperactivesw.com> <4306662C.9080009@sover.net> Message-ID: <43066C5A.8040709@hyperactivesw.com> Jon wrote: > I actually started doing just as you suggested (getting Google) when no > one else chimed in. Works fine, although I wonder how fond the folks at > Google are at us hammering away at them all of the time Well, they just issued umpty-gazillion new shares of stock today, so I'd think they would welcome the business. ;) Seriously though, if you don't want to rely on a third-party web site, the technique works just as well if you get a 1K text file from your own server. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Fri Aug 19 19:41:33 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 20 Aug 2005 00:41:33 +0100 Subject: the message box In-Reply-To: <43066B02.2040000@sover.net> References: <4305E3EA.4030909@sover.net> <430665BD.50705@sover.net> <4306671A.1010201@tweedly.net> <43066B02.2040000@sover.net> Message-ID: <43066E2D.4010103@tweedly.net> Jon wrote: > BZ 3069. I screwed up and did not assign it to the proper part of > Rev, using, instead, the default of "About Screen". I tried to figure > out how I could edit it to correct it, but was unable to do so. Any > hints? I've never actually done that, but it looks as though simply viewing the bug, changing the "Component" in the drop-down, leaving the default radio-button selection as "Leave as Unconfirmed" and then click on "Commit" should do it. (I tried to do it for you right now - but was of course refused since I am neither the submitter nor owner of the bug (far less a "sufficiently empowered user" - what a great phrase for an error report!!) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 18/08/2005 From jbondy at sover.net Fri Aug 19 19:51:05 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 19:51:05 -0400 Subject: the message box In-Reply-To: <43066E2D.4010103@tweedly.net> References: <4305E3EA.4030909@sover.net> <430665BD.50705@sover.net> <4306671A.1010201@tweedly.net> <43066B02.2040000@sover.net> <43066E2D.4010103@tweedly.net> Message-ID: <43067069.30808@sover.net> Alex: Done! Thanks! :) Jon Alex Tweedly wrote: > Jon wrote: > >> BZ 3069. I screwed up and did not assign it to the proper part of >> Rev, using, instead, the default of "About Screen". I tried to >> figure out how I could edit it to correct it, but was unable to do >> so. Any hints? > > > I've never actually done that, but it looks as though simply viewing > the bug, changing the "Component" in the drop-down, leaving the > default radio-button selection as "Leave as Unconfirmed" and then > click on "Commit" should do it. > > (I tried to do it for you right now - but was of course refused since > I am neither the submitter nor owner of the bug (far less a > "sufficiently empowered user" - what a great phrase for an error > report!!) > From JimAultWins at yahoo.com Fri Aug 19 20:01:03 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 19 Aug 2005 17:01:03 -0700 Subject: time anomaly In-Reply-To: <9e08dc1ac36413d00b54af9738b5cc96@qldlearning.com> Message-ID: I get the current hour on my computer, "00" minutes, and 54 seconds. with twelvehourtime true => 4:00:54, and false => 16:00:54 using 4 => 16:00:04 using 124 => 16:02:04 (124 seconds past the current hour) using 3600 => 17:00:00 (3600 seconds, or 60 min past the current hour) thus if using only seconds, the function returns the time x seconds after the top of the current hour. Wonder how you could used this? Perhaps in programming a clock. Jim Ault Las Vegas On 8/19/05 12:41 PM, "Brian Yennie" wrote: > This is a guess, but I believe it would be because: > > "The seconds function returns the total number of seconds since > midnight, January 1, 1970 GMT" > > Assuming your timezone is at GMT-5 hours, you are seeing 54 seconds > past January 1, 1970 GMT, otherwise known as December 31, 1969 @ > 19:00:54 > > HTH, > Brian > >> Any idea why this code produces "19:00:54" instead of "54"? I do have >> twelveHourTime set to false, but... >> >> on mouseUp >> local t >> put 54 into t >> convert t to long time >> answer t >> end mouseUp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revdan at danshafer.com Fri Aug 19 20:07:34 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 19 Aug 2005 17:07:34 -0700 Subject: ISAM In-Reply-To: <000201c5a4fd$9ade53b0$0201010a@proherps56yaxv> References: <000201c5a4fd$9ade53b0$0201010a@proherps56yaxv> Message-ID: <21AE4047-B38E-4E00-A24F-16B2FE1FBF10@danshafer.com> In a single-user application where Valentina is out of price range, you should check out altSQLite from Altuit Software: http://www.altuit.com/webs/altuit2/altSQLiteCover/default.htm Fast, easy to use, well documented and affordable. On Aug 19, 2005, at 1:35 PM, Scott Kane wrote: > Hi, > > Somone told be a while back aout a Revolution > tool that was an ISAM style table system. I've > mamanged to lose the link... > > Apart from saving cards (which is on my list) > are there any other options for single user > acces. MYAQL etc are to much for my users to > deal with. Valentino looks good but is out of > my price range at the moment... > > Sciott > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From kray at sonsothunder.com Fri Aug 19 20:08:49 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 19 Aug 2005 19:08:49 -0500 Subject: the message box In-Reply-To: <43066B02.2040000@sover.net> Message-ID: On 8/19/05 6:28 PM, "Jon" wrote: > BZ 3069. I screwed up and did not assign it to the proper part of Rev, > using, instead, the default of "About Screen". I tried to figure out > how I could edit it to correct it, but was unable to do so. Any hints? Yes, you might want to use RevZilla... it's much easier to use and provides a bunch more features for managing bugs you've posted than Bugzilla. You can get it here if you're interested: http://www.sonsothunder.com/devres/revolution/downloads/RevZilla2.htm Or on RevOnline or RevNet... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From scott at tactilemedia.com Fri Aug 19 20:09:53 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 19 Aug 2005 17:09:53 -0700 Subject: the message box In-Reply-To: <430665BD.50705@sover.net> Message-ID: Recently, Jon wrote: > "msg is a reserved word indicating... the message box :) try to use a > different name for your var and all should be fine." > > Given that, in this particular situation, the IDE is going to ignore my > use of "msg" as a parameter variable name, would it make any sense for > the compiler to flag this as a likely problem? I'm not sure you expect the IDE to *know* that you didn't intend call the message box versus making a script error. Sure, the context could be gauged to some extent, but perhaps you *did* intend to call the message box and simply made a contextual script error in the remainder of your code. Chalk it up to a learning experience. In much the same way that one has to learn how to use "alert" in Javascript and "trace" in ActionScript to get the same result as "answer" in X-talk. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From revdan at danshafer.com Fri Aug 19 20:15:39 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 19 Aug 2005 17:15:39 -0700 Subject: [ANN] Animated gif for OSX progress In-Reply-To: References: Message-ID: Thanks, Hugh. Curious...why didn't you post this on SSBK onlne? Heh Dan On Aug 19, 2005, at 4:04 PM, FlexibleLearning at aol.com wrote: > The 'chasing arrows' is no longer OSX-HIG conformant (Apple Human > Interface > Guidelines 2005-8-11, page 138) and the asynchronous progress > indicator is > recommended. Trouble is, it's not readily accessible so we have > made one for > Rev... > > www.FlexibleLearning.com/xtalk/OSXspinnerANI.zip > > It's a 16x16 24-frame animated gif, is only 4kb in size, and should > replicate native OSX for most purposes in your stacks. With thanks > to Todd for > locating the original 32px tiff files! > > Notes for folks new to animated icons in Revolution... > 1. Download from the address above > 2. Unzip to the gif > 3. Import the image file into your stack > 4. Make a note of the image's ID > > To Start the animation, type this in the message box... > set the repeatCount of img id [theImgID] to -1 > To stop the animation, type this in the message box... > set the repeatCount of img id [theImgID] to 0 > > To implement in a button (so you can use a single image anywhere > and as many > times as you want without duplicating it), simply set the icon of > the button > to [theImgID] and use the same lines above to start and stop as > required. > > > /H > FLCo > The Scripter's Scrapbook > www.FlexibleLearning.com/ssbk.htm > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Fri Aug 19 20:34:08 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 20 Aug 2005 01:34:08 +0100 Subject: the message box In-Reply-To: References: Message-ID: <43067A80.8040808@tweedly.net> Scott Rossi wrote: >Recently, Jon wrote: > > > >>"msg is a reserved word indicating... the message box :) try to use a >>different name for your var and all should be fine." >> >>Given that, in this particular situation, the IDE is going to ignore my >>use of "msg" as a parameter variable name, would it make any sense for >>the compiler to flag this as a likely problem? >> >> > >I'm not sure you expect the IDE to *know* that you didn't intend call the >message box versus making a script error. Sure, the context could be gauged >to some extent, but perhaps you *did* intend to call the message box and >simply made a contextual script error in the remainder of your code. > > > The IDE can *know* that it's an error because the reserved token "msg" was used as a formal parameter name on mouseUp msg The IDE cannot know at the usage of that formal parameter (e.g. put "abc" into msg), but it can, and should, know at the handler / parameter declaration. (Some other reserved words already produce an error message, e.g. on mouseUp seconds gives the error "Handler: not a valid parameter name" -- Alex Tweedly http://www.tweedly.net -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 18/08/2005 From martinblackman at gmail.com Fri Aug 19 20:37:39 2005 From: martinblackman at gmail.com (Martin BLACKMAN) Date: Sat, 20 Aug 2005 08:37:39 +0800 Subject: revXMLNodeContents Message-ID: <79d1bee7050819173751543413@mail.gmail.com> Could anyone comment on whether the behaviour of the first example below is correct ? I would have thought that both outputs should be the same ?? put "This is a test" into tXML put revcreateXMLtree(tXML,false,true,true) into tID put revXMLRootNode(tID) into tnode answer revXMLNodeContents(tID,tnode) --Outputs 'this is a test' put "This is a test" into tXML put revcreateXMLtree(tXML,false,true,true) into tID put revXMLRootNode(tID) into tnode answer revXMLNodeContents(tID,tnode) --Outputs 'this is ' thanks in advance Martin Blackman From jerry at daniels-mara.com Fri Aug 19 20:43:04 2005 From: jerry at daniels-mara.com (Jerry Daniels) Date: Fri, 19 Aug 2005 19:43:04 -0500 Subject: how to know if I'm on-line or not In-Reply-To: <43066C5A.8040709@hyperactivesw.com> References: <43060244.9000300@sover.net> <43066165.3050400@hyperactivesw.com> <4306662C.9080009@sover.net> <43066C5A.8040709@hyperactivesw.com> Message-ID: <6fe2dd2754f7e0c5d1c0466e3bbe8b2e@daniels-mara.com> Thought I'd chime in here... I found that the Google method of testing an internet connection is somewhat slow and does increase the access numbers to Google thus inflating their stock price (last part was a jest). When I have an application that has data on a website, i put a text file on the site that has a single byte in it: the numeral one (1). I then get the data from this file on my server (using URL) to verify my connection which is SUPPOSED to be to this server anyway. Like so: function haveIPconnect put URL "http://www.mysite.com/test.txt" = 1 into haveIPconnection if haveIPConnection is false then beep answer warning "Either our server is down (unlikely) or you have no connection to the internet." end if return haveIPconnection end haveIPconnect On Aug 19, 2005, at 6:33 PM, J. Landman Gay wrote: > Jon wrote: > > I actually started doing just as you suggested (getting Google) when > no > > one else chimed in. Works fine, although I wonder how fond the > folks at > > Google are at us hammering away at them all of the time > > Well, they just issued umpty-gazillion new shares of stock today, so > I'd think they would welcome the business. ;) > > Seriously though, if you don't want to rely on a third-party web site, > the technique works just as well if you get a 1K text file from your > own server. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rjearp at hotmail.com Fri Aug 19 21:07:45 2005 From: rjearp at hotmail.com (Bob Earp) Date: Fri, 19 Aug 2005 18:07:45 -0700 Subject: Documentation - Webnotes Message-ID: The concept of Webnotes in the documentation seems like a great idea and help solve a lot of issue that some folks have with Rev documentation (not me of course ;-) ). However, the first time I tried Webnotes nothing happened and on enquiry on this list it was suggested that the server was temporarily kersplatzed. I now see some Webnotes displayed (see "\" keyword as an example) but the icon (the little world one) for uploading additional notes is still inactive. The print icon is also inactive !! I can't find reference to activating either of these, does anybody know how ?? Tnx, Bob... Bob Earp - Sunny White Rock, BC _________________________________________________________________ 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 ambassador at fourthworld.com Fri Aug 19 21:47:40 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Aug 2005 18:47:40 -0700 Subject: [ANN] Animated gif for OSX progress In-Reply-To: References: Message-ID: <43068BBC.3090006@fourthworld.com> FlexibleLearning at aol.com wrote: > The 'chasing arrows' is no longer OSX-HIG conformant (Apple Human Interface > Guidelines 2005-8-11, page 138) and the asynchronous progress indicator is > recommended. Trouble is, it's not readily accessible so we have made one for > Rev... > > www.FlexibleLearning.com/xtalk/OSXspinnerANI.zip > > It's a 16x16 24-frame animated gif, is only 4kb in size, and should > replicate native OSX for most purposes in your stacks. With thanks to Todd for > locating the original 32px tiff files! Way cool -- thanks for posting that. Kinda makes a fella wonder why OS vendors don't provide graphics like this themselves. I know, I know: "Surely we're the only operating system you're writing for, so just use our API." ;) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From jbondy at sover.net Fri Aug 19 21:48:05 2005 From: jbondy at sover.net (Jon) Date: Fri, 19 Aug 2005 21:48:05 -0400 Subject: the message box In-Reply-To: References: Message-ID: <43068BD5.1060708@sover.net> Scott: I'm not sure I understand what you wrote. Is there any situation in which using a reserved word as the name of a parameter variable would be meaningful? Jon Scott Rossi wrote: >Recently, Jon wrote: > > > >>"msg is a reserved word indicating... the message box :) try to use a >>different name for your var and all should be fine." >> >>Given that, in this particular situation, the IDE is going to ignore my >>use of "msg" as a parameter variable name, would it make any sense for >>the compiler to flag this as a likely problem? >> >> > >I'm not sure you expect the IDE to *know* that you didn't intend call the >message box versus making a script error. Sure, the context could be gauged >to some extent, but perhaps you *did* intend to call the message box and >simply made a contextual script error in the remainder of your code. > >Chalk it up to a learning experience. In much the same way that one has to >learn how to use "alert" in Javascript and "trace" in ActionScript to get >the same result as "answer" in X-talk. > >Regards, > >Scott Rossi >Creative Director >Tactile Media, Multimedia & Design >----- >E: scott at tactilemedia.com >W: http://www.tactilemedia.com > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From davethebrv at crystalpiersw.com Fri Aug 19 21:53:38 2005 From: davethebrv at crystalpiersw.com (David Beck) Date: 20 Aug 2005 01:53:38 -0000 Subject: libURLftpUpload returns "invalid host address" error Message-ID: <20050820015338.3154.qmail@host141.ipowerweb.com> Hello, I'm having a problem with using libURLftpUpload returning a "invalid host address" error. I am using libURLftpUpload to upload a small file, and then check the result in a loop with the URLStatus function. Eventually, and this only happens for one particular customer, URLStatus returns its "error" result, and libURLErrorData returns "invalid host address". However, I know that the host address is in fact valid and I also know that the customer has a working internet connection open when she receives this error. (She is using a 26.4 Kbps modem.) What else could be causing this problem?? Has anybody seen this before? Is there something else I can do to further debug the issue? Any help any of the experienced rev users could give would be greatly appreciated. I'm stumped! David Beck Crystal Pier Software From revolution at jaedworks.com Fri Aug 19 22:28:40 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 19 Aug 2005 19:28:40 -0700 Subject: time anomaly In-Reply-To: <14722739097.20050819141454@ahsoftware.net> References: <4306312C.7030108@sover.net> <14722739097.20050819141454@ahsoftware.net> Message-ID: At 2:14 PM -0700 8/19/2005, Mark Wieder wrote: > > Any idea why this code produces "19:00:54" instead of "54"? I do have > > twelveHourTime set to false, but... > >What you have given it as an argument is not a date, time, nor a date >and time, but just a number. I would expect that you would get back an >indeterminate answer. I get "4:00:54 PM". At least today. GIGO. Actually, it's not indeterminate. When you provide a number or other partial date or time, convert guesses what part you mean and fills in the rest with the current time. (For example, if you convert a time to long data and long time, you get today's date along with the time you specified.) This probably should be in the convert docs as a note. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From revolution at jaedworks.com Fri Aug 19 22:30:06 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 19 Aug 2005 19:30:06 -0700 Subject: Continuation Lines (was: I give up: how do you continue a line in Rev?) In-Reply-To: <1f1.4220c189.30378faa@aol.com> References: <1f1.4220c189.30378faa@aol.com> Message-ID: At 3:40 PM -0400 8/19/2005, FlexibleLearning at aol.com wrote: >The corollary of "\" is ";" (a semi-colon) ... > >on sillyTest what > if what then > get 2; add 2 to it; put "A" after it; put it; exit to top > end if > [.../...] >end sillyTest > >Useful for very short lines! Also in the message box! You can use the multi-line message box, but the semicolon is handy for 2-liners in particular, such as global foo;answer foo -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From kray at sonsothunder.com Sat Aug 20 00:11:42 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 19 Aug 2005 23:11:42 -0500 Subject: revXMLNodeContents In-Reply-To: <79d1bee7050819173751543413@mail.gmail.com> Message-ID: On 8/19/05 7:37 PM, "Martin BLACKMAN" wrote: > Could anyone comment on whether the behaviour of the first example > below is correct ? I would have thought that both outputs should be > the same ?? > > put "This is a test" into tXML > put revcreateXMLtree(tXML,false,true,true) into tID > put revXMLRootNode(tID) into tnode > answer revXMLNodeContents(tID,tnode) > --Outputs 'this is a test' > > put "This is a test" into tXML > put revcreateXMLtree(tXML,false,true,true) into tID > put revXMLRootNode(tID) into tnode > answer revXMLNodeContents(tID,tnode) > --Outputs 'this is ' Personally, I think this is a bug - on two levels: 1) Since the tag has no text contents, it stops revXMLNodeContents from going any deeper than "This is ". (If you did certainly ... and ran it, you'd get "This is certainly a test".) 2) To my understanding, revXMLNodeContents shouldn't go to any children of the node you identify - it should always return "This is ". Personally, I'd log it is a bug in Bugzilla... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From scott at tactilemedia.com Sat Aug 20 01:01:29 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 19 Aug 2005 22:01:29 -0700 Subject: the message box In-Reply-To: <43068BD5.1060708@sover.net> Message-ID: Recently, Jon wrote: >> I'm not sure you expect the IDE to *know* that you didn't intend call the >> message box versus making a script error. Sure, the context could be gauged >> to some extent, but perhaps you *did* intend to call the message box and >> simply made a contextual script error in the remainder of your code. > I'm not sure I understand what you wrote. Is there any situation in > which using a reserved word as the name of a parameter variable would be > meaningful? I missed your comment about the use of "msg" as a *parameter* variable. I understood you were concerned that using "msg" as a variable name should somehow be flagged by the IDE as being invalid (based on the sample code you posted as being a problem). So my mistake. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From scott at tactilemedia.com Sat Aug 20 01:12:35 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 19 Aug 2005 22:12:35 -0700 Subject: the message box In-Reply-To: <43067A80.8040808@tweedly.net> Message-ID: Recently, Alex Tweedly wrote: > The IDE can *know* that it's an error because the reserved token "msg" > was used as a formal parameter name > > on mouseUp msg Yes, you're right. I was responding to the following portion of the code which is valid as written: put the long time & " " & msg & Return after field "Memo" Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kray at sonsothunder.com Sat Aug 20 02:04:04 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 20 Aug 2005 01:04:04 -0500 Subject: Bad Idea To Disable an 'Edit' Menu Message-ID: Just passing along an interesting tidbit of information that I just ran into: If your application has an 'Edit' menu AND it has a 'Preferences' menu item AND you deploy to Mac OS X, then you should never disable the entire Edit menu (you should leave the menu itself enabled, but individually disable the items you want to prevent users from executing). The reason is that under OS X, the Preferences menu item disappears from the bottom of the Edit menu and appears under the Application menu. This item is *always* appears enabled under the Application menu, but if you've disabled the Edit menu, selecting Preferences from the Application menu *won't work*. Now, this may just be a bug (I'll log it as such), but until it's fixed or documented, you should disable the individual items in the menu and not the menu itself. Just FYI, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From b.xavier at internet.lu Sat Aug 20 02:16:54 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 20 Aug 2005 08:16:54 +0200 Subject: Bad Idea To Disable an 'Edit' Menu In-Reply-To: Message-ID: <20050820060032.7521582511A@mail.runrev.com> Hi Ken This seems more like an OS behavior than a Rev problem doesn't it? It sure should be made aware for those developping on PCs hoping to deploy on osx... While disabling a whole menu is "easier", I always did the single menuitem check on mouseenter to see if it should or not be enabled... So i guess a little global-OS HIG is in order ;) just my two cents Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ken Ray > Sent: Saturday, August 20, 2005 08:04 > To: Use Revolution List > Subject: Bad Idea To Disable an 'Edit' Menu > > Just passing along an interesting tidbit of information that > I just ran > into: > > If your application has an 'Edit' menu AND it has a > 'Preferences' menu item AND you deploy to Mac OS X, then you > should never disable the entire Edit menu (you should leave > the menu itself enabled, but individually disable the items > you want to prevent users from executing). > > The reason is that under OS X, the Preferences menu item > disappears from the bottom of the Edit menu and appears under > the Application menu. This item is > *always* appears enabled under the Application menu, but if > you've disabled the Edit menu, selecting Preferences from the > Application menu *won't work*. > > Now, this may just be a bug (I'll log it as such), but until > it's fixed or documented, you should disable the individual > items in the menu and not the menu itself. > > Just FYI, > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Sat Aug 20 02:21:54 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 20 Aug 2005 08:21:54 +0200 Subject: Documentation - Webnotes In-Reply-To: Message-ID: <20050820060526.CE74D82511C@mail.runrev.com> Hi Bob, I woudn't worry too much about webnotes for the moment. If anyone wants to add a comment on top of your webnotes, your webnotes will be replaced. I hope they get that situation under control next release. cheers Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Bob Earp > Sent: Saturday, August 20, 2005 03:08 > To: use-revolution at lists.runrev.com > Subject: Documentation - Webnotes > > The concept of Webnotes in the documentation seems like a > great idea and help solve a lot of issue that some folks have > with Rev documentation (not me of course ;-) ). However, the > first time I tried Webnotes nothing happened and on enquiry > on this list it was suggested that the server was temporarily > kersplatzed. > > I now see some Webnotes displayed (see "\" keyword as an > example) but the icon (the little world one) for uploading > additional notes is still inactive. The print icon is also > inactive !! > > I can't find reference to activating either of these, does > anybody know how ?? > > Tnx, Bob... > > Bob Earp - Sunny White Rock, BC > > _________________________________________________________________ > MSNR 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 MSNR Premium right now > and get the first two months FREE*. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Sat Aug 20 02:33:43 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 19 Aug 2005 23:33:43 -0700 (PDT) Subject: OT: Super-computer studies aerodynamics of the potato chip In-Reply-To: Message-ID: Hey Jim! Thanks for this. It'll be a neat, semi-OT thing for the kiddies to read this term in the general ed course "Computer Impact on Society"... (a real course). Judy On Fri, 19 Aug 2005, Jim Hurley wrote: > This from todays NYT: > > "Once the exclusive territory of nuclear weapons designers and code > breaker, ultrafast computers are increasingly being used in every day > product design. Procter & Gamble used a supercomputer to study the > airflow over its Pringles potato chips to help stop them from > fluttering off the company's assembly lines." > > Today the potato chip, tomorrow the Shuttle. From scott at proherp.com Sat Aug 20 03:00:05 2005 From: scott at proherp.com (Scott Kane) Date: Sat, 20 Aug 2005 17:00:05 +1000 Subject: ISAM In-Reply-To: <21AE4047-B38E-4E00-A24F-16B2FE1FBF10@danshafer.com> Message-ID: <000a01c5a554$d12f6fb0$0201010a@proherps56yaxv> > In a single-user application where Valentina is out of price range, > you should check out altSQLite from Altuit Software: Lools very cool, but sadly I'm on a zero budget (I'm on a disability pension and trying to program my way off it). There was a ISAM library (by Chipp ???) that looked good but I couldn't get all the necessary pieces from the website. It was open source but the modules available on the download site had broken links. Anybody know where I can find that again - and perhaps the authors details? If this isn't possible then does anybody have a suggestion for installing MySQL or similar transparently so that the user doesn't have to deal with creating tables, passowrds etc directly? Thanks Scott (still feelling his way in Rev but enjoying every minute of it) From scott at proherp.com Sat Aug 20 03:02:26 2005 From: scott at proherp.com (Scott Kane) Date: Sat, 20 Aug 2005 17:02:26 +1000 Subject: OT: Super-computer studies aerodynamics of the potato chip In-Reply-To: <12326757194.20050819152152@ahsoftware.net> Message-ID: <000b01c5a555$2511bd90$0201010a@proherps56yaxv> > ...does that make them computer chips? ROFL! I spilt my morning coffee! Scott From sunshine at public.kherson.ua Sat Aug 20 03:10:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat, 20 Aug 2005 10:10:03 +0300 Subject: ISAM In-Reply-To: <000a01c5a554$d12f6fb0$0201010a@proherps56yaxv> Message-ID: On 8/20/05 10:00 AM, "Scott Kane" wrote: >> In a single-user application where Valentina is out of price range, >> you should check out altSQLite from Altuit Software: > > Lools very cool, but sadly I'm on a zero budget > (I'm on a disability pension and trying to program > my way off it). > > There was a ISAM library (by Chipp ???) that looked > good but I couldn't get all the necessary pieces > from the website. It was open source but the modules > available on the download site had broken links. > > Anybody know where I can find that again - and perhaps > the authors details? > > If this isn't possible then does anybody have a suggestion > for installing MySQL or similar transparently so that the > user doesn't have to deal with creating tables, passowrds etc > directly? Hi Scott, If you going develop app which you will distribute in many copies to clients, then you must pay for mySQL. A lots of people think that mySQL is free. This is not true in a lots of cases. Read this: http://www.mysql.com/company/legal/licensing/commercial-license.html MySQL want that you pay them $400 for EACH copy of server. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From scott at proherp.com Sat Aug 20 03:26:11 2005 From: scott at proherp.com (Scott Kane) Date: Sat, 20 Aug 2005 17:26:11 +1000 Subject: ISAM In-Reply-To: Message-ID: <001201c5a558$767b62f0$0201010a@proherps56yaxv> > If you going develop app which you will distribute in many > copies to clients, then you must pay for mySQL. > > A lots of people think that mySQL is free. > This is not true in a lots of cases. Read this: Ouch! I didn't realize that! I wonder how many ISP's (or web hosts rather) realize or actually follow this reqirement. Have to look at another option now. If I could just find that ISAM library (open source) for Rev I'd be set. Scott From scott at proherp.com Sat Aug 20 04:10:26 2005 From: scott at proherp.com (Scott Kane) Date: Sat, 20 Aug 2005 18:10:26 +1000 Subject: ISAM In-Reply-To: <001201c5a558$767b62f0$0201010a@proherps56yaxv> Message-ID: <000d01c5a55e$a4c7e600$0201010a@proherps56yaxv> > option now. If I could just find that ISAM library > (open source) for Rev I'd be set. OK. Found it. Serendipidy. I'm not sure about it at all yet. It seems a rather bitsy. I think I'll look at saving stacks containing cards to an external file instead. Thanks for your help people. Scott From sunshine at public.kherson.ua Sat Aug 20 04:19:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat, 20 Aug 2005 11:19:58 +0300 Subject: ISAM In-Reply-To: <001201c5a558$767b62f0$0201010a@proherps56yaxv> Message-ID: On 8/20/05 10:26 AM, "Scott Kane" wrote: >> If you going develop app which you will distribute in many >> copies to clients, then you must pay for mySQL. >> >> A lots of people think that mySQL is free. >> This is not true in a lots of cases. Read this: > > Ouch! I didn't realize that! I wonder how many > ISP's (or web hosts rather) realize or actually > follow this reqirement. MySQL is FREE for ISP 100% But for Application developers which distribute compiled apps NO. > Have to look at another > option now. If I could just find that ISAM library > (open source) for Rev I'd be set. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From martinblackman at gmail.com Sat Aug 20 04:30:12 2005 From: martinblackman at gmail.com (Martin BLACKMAN) Date: Sat, 20 Aug 2005 16:30:12 +0800 Subject: revXMLNodeContents In-Reply-To: <20050820065536.22FAF82516F@mail.runrev.com> References: <20050820065536.22FAF82516F@mail.runrev.com> Message-ID: <79d1bee7050820013028766ffd@mail.gmail.com> > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > On 8/19/05 7:37 PM, "Martin BLACKMAN" wrote: > > > Could anyone comment on whether the behaviour of the first example > > below is correct ? I would have thought that both outputs should be > > the same ?? > > > > put "This is a test" into tXML > > put revcreateXMLtree(tXML,false,true,true) into tID > > put revXMLRootNode(tID) into tnode > > answer revXMLNodeContents(tID,tnode) > > --Outputs 'this is a test' > > > > put "This is a test" into tXML > > put revcreateXMLtree(tXML,false,true,true) into tID > > put revXMLRootNode(tID) into tnode > > answer revXMLNodeContents(tID,tnode) > > --Outputs 'this is ' > > Personally, I think this is a bug - on two levels: > > 1) Since the tag has no text contents, it stops revXMLNodeContents > from going any deeper than "This is ". (If you did certainly > ... and ran it, you'd get "This is certainly a test".) > > 2) To my understanding, revXMLNodeContents shouldn't go to any children of > the node you identify - it should always return "This is ". > > Personally, I'd log it is a bug in Bugzilla... > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com OK I will bugzilla it. Wow, my first BZ ! From dcragg at lacscentre.co.uk Sat Aug 20 04:33:05 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat, 20 Aug 2005 09:33:05 +0100 Subject: libURLftpUpload returns "invalid host address" error In-Reply-To: <20050820015338.3154.qmail@host141.ipowerweb.com> References: <20050820015338.3154.qmail@host141.ipowerweb.com> Message-ID: <67396814-CE90-47F5-8A3B-0A5CADA3EF12@lacscentre.co.uk> On 20 Aug 2005, at 02:53, David Beck wrote: > > Hello, > > I'm having a problem with using libURLftpUpload returning a > "invalid host > address" error. > > I am using libURLftpUpload to upload a small file, and then check > the result in a > loop with the URLStatus function. Eventually, and this only happens > for one > particular customer, URLStatus returns its "error" result, and > libURLErrorData > returns "invalid host address". However, I know that the host > address is in fact > valid and I also know that the customer has a working internet > connection open > when she receives this error. (She is using a 26.4 Kbps modem.) > What else could > be causing this problem?? Has anybody seen this before? Is there > something else I > can do to further debug the issue? > > Any help any of the experienced rev users could give would be greatly > appreciated. I'm stumped! The "invalid host address" message is returned by libUrl when the hostnameToAddress function returns an error. Likely causes are a bad url, a problem with the user's DNS server, or a network connection problem. You said "Eventually". Do you mean there is a long wait before the result is returned, or the user does it successfully a number of times and then it fails? If the former, is the user's modem currently connected when the prolem occurs? Cheers Dave From martinblackman at gmail.com Sat Aug 20 05:18:41 2005 From: martinblackman at gmail.com (Martin BLACKMAN) Date: Sat, 20 Aug 2005 17:18:41 +0800 Subject: revXMLNodeContents In-Reply-To: <79d1bee7050820013028766ffd@mail.gmail.com> References: <20050820065536.22FAF82516F@mail.runrev.com> <79d1bee7050820013028766ffd@mail.gmail.com> Message-ID: <79d1bee7050820021859f3844f@mail.gmail.com> Bug 3072 now assigned to this. regards Martin Blackman On 20/08/05, Martin BLACKMAN wrote: > > Message-ID: > > Content-Type: text/plain; charset="US-ASCII" > > > > On 8/19/05 7:37 PM, "Martin BLACKMAN" wrote: > > > > > Could anyone comment on whether the behaviour of the first example > > > below is correct ? I would have thought that both outputs should be > > > the same ?? > > > > > > put "This is a test" into tXML > > > put revcreateXMLtree(tXML,false,true,true) into tID > > > put revXMLRootNode(tID) into tnode > > > answer revXMLNodeContents(tID,tnode) > > > --Outputs 'this is a test' > > > > > > put "This is a test" into tXML > > > put revcreateXMLtree(tXML,false,true,true) into tID > > > put revXMLRootNode(tID) into tnode > > > answer revXMLNodeContents(tID,tnode) > > > --Outputs 'this is ' > > > > Personally, I think this is a bug - on two levels: > > > > 1) Since the tag has no text contents, it stops revXMLNodeContents > > from going any deeper than "This is ". (If you did certainly > > ... and ran it, you'd get "This is certainly a test".) > > > > 2) To my understanding, revXMLNodeContents shouldn't go to any children of > > the node you identify - it should always return "This is ". > > > > Personally, I'd log it is a bug in Bugzilla... > > > > Ken Ray > > Sons of Thunder Software > > Web site: http://www.sonsothunder.com/ > > Email: kray at sonsothunder.com > > > OK I will bugzilla it. Wow, my first BZ ! > > > From FlexibleLearning at aol.com Sat Aug 20 06:45:42 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sat, 20 Aug 2005 06:45:42 EDT Subject: [ANN] Animated gif for OSX progress Message-ID: <55.79ababef.303863d6@aol.com> >Thanks, Hugh. > >Curious...why didn't you post this on SSBK onlne? > >Heh > >Dan It has now been posted to The Scripter's Scrapbook Online, with an Entry as below including the download link. Remember you can always store a copy the file in your own ssBk Entry, then restore as many copies as you want whenever you need to. /H FLCo Home of The Scripter's Scrapbook www.FlexibleLearning.com/ssbk.htm --------------- OSX Async Progress Ani.gif PLATFORM(s): Mac OSX LANGUAGE(s): Rev CLASSIFICATION(s): Deployment : Interface The standard OSX asyncronous progress indicator (the grey 'flower' with chasing 'petals') is available as a 16px 24-frame, transparent, animated gif. It was created from the 24 tiff files in the OSX system folder, scaled to 16px as required by the OSX HIG (Apple Human Interface Guidelines 2005-8-11, page 138). The 4kb file size is very much smaller than the combined size of the tiff files, so it has a very small impact on your stack size. Suitable for use on light backgrounds (white or light grey for example) due to anti-aliasing that will display the 'halo' effect on dark backgrounds. Download: www.FlexibleLearning.com/xtalk/OSXspinnerANI.zip In a button: set the ID of btn [myBtn] to [tImgID] Start animation: set the repeatCount of img ID [tImgID] to -1 Stop animation: set the repeatCount of img ID [tImgID] to 0 SOURCE: Hugh Senior, The Flexible Learning Company, 19AUG2005 --------------- From DanielWenger at worldnet.att.net Sat Aug 20 07:56:02 2005 From: DanielWenger at worldnet.att.net (Daniel Wenger) Date: Sat, 20 Aug 2005 04:56:02 -0700 Subject: ODBC File Maker Pro 7 followup In-Reply-To: <659AC383-CA4E-4BA5-A6E3-BFBE2B1CE8B8@worldnet.att.net> References: <659AC383-CA4E-4BA5-A6E3-BFBE2B1CE8B8@worldnet.att.net> Message-ID: I have not received any comment on my query regarding ODBC and FileMaker Pro 7. I have seen some comment on the web indicating that others have had problems with it. Peter Reid gave up and is using AppleScript and that is what I have done for the time being. If anyone does have success with ODBC and FileMaker Pro 7, please post your success to this list. This is a connection that RR does offer so a solution should be found. Thanks. Daniel Wenger On Aug 18, 2005, at 7:16 PM, Daniel Wenger wrote: > I have figured out out to get the actual database name into the > configuration. Via the Name/Value entries in the DNS I used > > Host localhost > Port 2399 > ServerDataSource myFMPDatabaseName (tried both as a single filename > and as a full path filename) > > Need to go to sleep now. > > Thanks for help. > > Daniel Wenger > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Sat Aug 20 10:02:20 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 20 Aug 2005 16:02:20 +0200 Subject: MacOS filetype question and or tip Message-ID: <20050820134549.97D12825114@mail.runrev.com> I think someone earlier was saying we couldn't change filetypes on the mac... The revdocs say this for "filetype" in the comments The fileType property is used to set the file type and creator of files created by the open file command and of files created putting data into a file, binfile, or resfile URL that doesn't yet exist. (To specify the file type and creator for stack files your application creates with the save command, use the stackFileType property instead.) if i read that correctly, and after setting my filetype property, any file i write to will be changed to that type and creator right? TIP: To change a file to another type easily, just open it, append empty to it, close it... would that work? too bad they didn't think of "set the filetype of file myfile to "xxxxyyyy" cheers Xav From gcanyon at inspiredlogic.com Sat Aug 20 10:37:12 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat, 20 Aug 2005 07:37:12 -0700 Subject: How would a game loop work? In-Reply-To: <3b72a25274d4b08f06da834598ef65d0@mac.com> References: <3b72a25274d4b08f06da834598ef65d0@mac.com> Message-ID: On Aug 18, 2005, at 3:19 PM, Ian Leigh wrote: > What strikes me about rev is that it's harder to manage a flow of > things from a main loop. For example, a game might have a > particular loop for overall control which steps through all the > required stages and then draws a new frame, starting the whole > thing off again. How would you best manage a game in rev? Would you > have a loop off a 'start game' button which could only be > interrupted by the quit action? Just wondering how others have > approached laying out games and such programs? People have already suggested using send..in, which would work for this purpose. An alternative is to use wait..with messages. This method ends up looking something like this: on startGame doSetup repeat put milliseconds() into t doGameStuff if then exit repeat wait (t + 33 - milliseconds()) milliseconds with messages -- gives you a max of roughly 30 fps end repeat end startGame From gcanyon at inspiredlogic.com Sat Aug 20 10:51:05 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat, 20 Aug 2005 07:51:05 -0700 Subject: Blowing in the Wind In-Reply-To: <88F19E39-08DB-452B-8749-EFA30789D308@mac.com> References: <88F19E39-08DB-452B-8749-EFA30789D308@mac.com> Message-ID: <1EC08653-65AD-4AA5-B444-EFBD9C7DE576@inspiredlogic.com> On Aug 19, 2005, at 12:59 PM, Todd Higgins wrote: > Does anyone know how that would compare to a similar animation in > Flash? As people have said, Flash can't have shaped windows in the first place, so this animation is out of consideration. My experience with Flash movies in general is that they happily take up 100% of my 1.2gHx CPU. Check out the N game for an example: http://www.harveycartel.org/metanet/n_screenshots.html It's a lot of fun, by the way -- great physics model. It's an example of something that I think could have been done with Rev -- albeit probably not as easily as in Flash. The game takes up everything my PowerBook has. On a 2+gHz PC, same story -- maxed CPU. It's too bad Flash (and Rev?) isn't more graphically efficient. The N game is less complex than what Ambrosia Software was running on a 6100 over ten years ago: http://www.ambrosiasw.com/games/maelstrom/ Granted, Ambrosia wrote that in C (assembly?). Still, graphics are graphics -- move this there and composite over that, etc. From gcanyon at inspiredlogic.com Sat Aug 20 11:01:29 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat, 20 Aug 2005 08:01:29 -0700 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <617912BC-2863-4009-B6D0-3430C9D34486@writeme.com> References: <42a25efb0fdaac86d36e32c3723c5113@mac.com> <6.2.1.2.2.20050819113337.212b3db8@exchange.slg.com> <617912BC-2863-4009-B6D0-3430C9D34486@writeme.com> Message-ID: <3B143A89-D938-46BE-BB86-EE629B7118AA@inspiredlogic.com> On Aug 19, 2005, at 10:42 AM, Dennis Brown wrote: > The way I want to search for information when I don't know what > something is called or even if it exists, is narrowing by categories. > I would want a list of 10-20 broad categories. And for each broad > category, a new list of categories would pop up, etc... Then you want to click on Topics in the button row at the top, and then on "Scripts and their structure" in the list on the left. It doesn't actually contain anything on the \ character :-( , but that's where it should be I would think. From ambassador at fourthworld.com Sat Aug 20 11:04:39 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 20 Aug 2005 08:04:39 -0700 Subject: ISAM In-Reply-To: <000d01c5a55e$a4c7e600$0201010a@proherps56yaxv> References: <000d01c5a55e$a4c7e600$0201010a@proherps56yaxv> Message-ID: <43074687.4070609@fourthworld.com> Scott Kane wrote: > I think I'll look at saving stacks containing > cards to an external file instead. For very small data sets it's hard to beat the convenience of using cards. But for anything above a few thousand records it can be cumbersome. As with HyperCard, the inventor of this engine (Scott Raney) reminds us that the stack structure is not optimized for use as a database. Dr. Raney suggests that you'll find serious performance degredation after about 5,000 records, and in my experience I find that to be true. So if you need fewer than a couple thousand records then using cards may be a great option. But if you'll need more it may be useful to consider lists or custom properties. To help you get an idea of the performance differences between these, I threw together a script that creates 5,000 records in each format, copied below. To run it: 1. Make a new stack 2. Make some fields (I used 7), group them, and turn on the group's backgroundBehavior 3. Paste the script below into a field Here are the results (1GHz PowerBook, OS X 10.4, 768MB RAM): Cards: 50860ms List: 168ms Props: 236ms Saving the data shows a similar disparity of performance: stacks with large numbers of cards take an increasingly long time to save as the number of cards grows, disproportionate to the actual number of cards (not quite geometric, but certainly not linear). But saving a stack file with one card and thousands of properties is very fast. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com -------------------------------------------------------- on mouseUp put 5000 into n -- -- Cards: lock messages lock screen put the millisecs into t repeat n create cd repeat with i = 1 to the number of flds put "dsgsdtg sdtg dwg dsg sdgsdg" into fld i end repeat end repeat put the millisecs - t into t1 -- -- List: global gData put empty into gData put the millisecs into t repeat n put empty into tRecord repeat the number of flds put "dsgsdtg sdtg dwg dsg sdgsdg" &tab after tRecord end repeat put tRecord &cr after gData end repeat delete last char of gData put the millisecs - t into t2 -- -- Props: set the customproperties of this stack to empty put the millisecs into t repeat with i = 1 to n put empty into tRecord repeat the number of flds put "dsgsdtg sdtg dwg dsg sdgsdg" &tab after tRecord end repeat set the uMyData[i] of this stack to tRecord end repeat put the millisecs - t into t3 -- put "Cards: "& t1 &"ms List: "&t2&"ms Props: "& t3 &"ms" end mouseUp From gcanyon at inspiredlogic.com Sat Aug 20 11:10:10 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat, 20 Aug 2005 08:10:10 -0700 Subject: Sends getting lost In-Reply-To: <430618B1.8060802@sover.net> References: <430618B1.8060802@sover.net> Message-ID: <4C0BB2E9-396A-444E-ABF8-68E3EF417BD5@inspiredlogic.com> On Aug 19, 2005, at 10:36 AM, Jon wrote: > I'm writing a program that uses "send mouseup to me in 10 seconds". Instead of sending mouseUp, put your code into a custom handler. Call that handler from your mouseUp, and send that handler to in 10 seconds. By doing it this way, you avoid the issue Jacque pointed out, and you make your code clearer and more usable. If you ever need that code elsewhere, it's all ready for you, rather than tied into a button. From mcdomi at free.fr Sat Aug 20 11:48:25 2005 From: mcdomi at free.fr (Dom) Date: Sat, 20 Aug 2005 17:48:25 +0200 Subject: [FR] [EN] Some peculiarites of the DreamCard Player... Quelques bizzareries du Player de DreamCard Message-ID: <1h1lstz.dg75usorgbt8M%mcdomi@free.fr> Particularit?s du Player DreamCard : Dans le m?me dossier que Revolution Fonctionne normalement Mais on se paye revOnline ;-) En dehors du dossier de Revolution Pas de revOnline Mais ne r?pond pas ? Ask & Answer (aucun effet, pas de message d'erreur) Chez un autre utilisateur (m?me machine, pareil si on a quitt? l'utilisateur principal qui dispose de Revolution) Pas de revOnline Mais ne r?pond pas ? Ask & Answer Sur une autre machine (sans Revolution) Fonctionne normalement Mais on se paye revOnline ;-) ============================= Peculiarites of DreamCard Player In the same folder than Revolution Works normally But one is bothered with revOnline ;-) Outside of the Revolution folder No revOnline But doesn't respond to Ask & Answer (no effect at all, no error message) In another user's session (same machine, same behaviour if the main user [the one one who has Revolution's IDE installed] was quitted No revOnline But doesn't respond to Ask & Answer On another machine (without Revolution) Works normally But one is bothered with revOnline ;-) ====== Voil? ;-) -- Revolutionario (but puzzled) Asking himself if he will go 2.6 to see the flag ;-) From see3d at writeme.com Sat Aug 20 12:02:11 2005 From: see3d at writeme.com (Dennis Brown) Date: Sat, 20 Aug 2005 12:02:11 -0400 Subject: I give up: how do you continue a line in Rev? In-Reply-To: <3B143A89-D938-46BE-BB86-EE629B7118AA@inspiredlogic.com> References: <42a25efb0fdaac86d36e32c3723c5113@mac.com> <6.2.1.2.2.20050819113337.212b3db8@exchange.slg.com> <617912BC-2863-4009-B6D0-3430C9D34486@writeme.com> <3B143A89-D938-46BE-BB86-EE629B7118AA@inspiredlogic.com> Message-ID: Geoff, The problem with Topics is that it is just a table of contents with chapter and topic listings. It only has one general category and then the specific topic. This is not what I was talking about. It is neither general enough nor specific enough. It is also very slow! I would envision a lot more levels of concept "index" like entries before you get to very specific information. So "scripts and their structure" would be a good top level entry, I would expect another level or two of narrowing the scope to get to a list that had "continuing a single script command on the next line" or "breaking a single script command into multiple lines" Dennis On Aug 20, 2005, at 11:01 AM, Geoff Canyon wrote: > > On Aug 19, 2005, at 10:42 AM, Dennis Brown wrote: > > >> The way I want to search for information when I don't know what >> something is called or even if it exists, is narrowing by categories. >> I would want a list of 10-20 broad categories. And for each broad >> category, a new list of categories would pop up, etc... >> > > Then you want to click on Topics in the button row at the top, and > then on "Scripts and their structure" in the list on the left. It > doesn't actually contain anything on the \ character :-( , but > that's where it should be I would think. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jspencer78 at mac.com Sat Aug 20 12:31:15 2005 From: jspencer78 at mac.com (James Spencer) Date: Sat, 20 Aug 2005 11:31:15 -0500 Subject: Bad Idea To Disable an 'Edit' Menu In-Reply-To: <20050820060032.7521582511A@mail.runrev.com> References: <20050820060032.7521582511A@mail.runrev.com> Message-ID: <0EEB2520-35EA-4335-8258-B11E6967F660@mac.com> On Aug 20, 2005, at 1:16 AM, MisterX wrote: > Hi Ken > > This seems more like an OS behavior > than a Rev problem doesn't it? > > It sure should be made aware for those > developping on PCs hoping to deploy on osx... > ... > > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ken Ray >> Sent: Saturday, August 20, 2005 08:04 >> To: Use Revolution List >> Subject: Bad Idea To Disable an 'Edit' Menu >> >> Just passing along an interesting tidbit of information that >> I just ran >> into: >> >> If your application has an 'Edit' menu AND it has a >> 'Preferences' menu item AND you deploy to Mac OS X, then you >> should never disable the entire Edit menu (you should leave >> the menu itself enabled, but individually disable the items >> you want to prevent users from executing). >> >> The reason is that under OS X, the Preferences menu item >> disappears from the bottom of the Edit menu and appears under >> the Application menu. This item is >> *always* appears enabled under the Application menu, but if >> you've disabled the Edit menu, selecting Preferences from the >> Application menu *won't work*. >> >> Now, this may just be a bug (I'll log it as such), but until >> it's fixed or documented, you should disable the individual >> items in the menu and not the menu itself. Ken, have you logged this yet so I can go vote for it. Personally I think it is clearly a bug. MisterX is incorrect, this is not OS behavior. The placement of the preferences item at the end of the Edit menu and then moving it on OS X is pure Rev. Whatever, thank you for pointing it out. I had not noticed it but I have a couple of stacks where the problem exists and I am glad to fix it before my users find it. Spence From mwieder at ahsoftware.net Sat Aug 20 12:34:32 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 20 Aug 2005 09:34:32 -0700 Subject: time anomaly In-Reply-To: References: <4306312C.7030108@sover.net> <14722739097.20050819141454@ahsoftware.net> Message-ID: <1081701035.20050820093432@ahsoftware.net> Jeanne- Friday, August 19, 2005, 7:28:40 PM, you wrote: > Actually, it's not indeterminate. When you provide a number or other > partial date or time, convert guesses what part you mean and fills in > the rest with the current time. (For example, if you convert a time > to long data and long time, you get today's date along with the time > you specified.) This probably should be in the convert docs as a note. Cool. I think. So I could say "that appointment is at 2PM", convert it to a date and time, and have it come up with "today at 2PM". Or 54 would be "the time right now with the seconds equal to 54". -- -Mark Wieder mwieder at ahsoftware.net From revdan at danshafer.com Sat Aug 20 12:34:38 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 20 Aug 2005 09:34:38 -0700 Subject: ISAM In-Reply-To: References: Message-ID: <679A4DD8-04FA-42E8-94DA-C9D16626102C@danshafer.com> A minor (and probably unimportant in the contex) clarification: MySQL charges for distribution of the *server*. If you provide an app as, e.g., an ASP that runs on a MySQL server on a hosting service where the end user is only *using* that database and never installing the server, usage is free. But if the end user needs a MySQL database on his or her machine, then the charge kicks in. Scott, I've heard good things about serendipity and the author is a frequent contributor here. Certainly worth a look. On Aug 20, 2005, at 1:19 AM, Ruslan Zasukhin wrote: > MySQL is FREE for ISP 100% > > But for Application developers which distribute compiled apps NO. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From kray at sonsothunder.com Sat Aug 20 12:36:04 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 20 Aug 2005 11:36:04 -0500 Subject: Bad Idea To Disable an 'Edit' Menu In-Reply-To: <0EEB2520-35EA-4335-8258-B11E6967F660@mac.com> Message-ID: On 8/20/05 11:31 AM, "James Spencer" wrote: >>> Now, this may just be a bug (I'll log it as such), but until >>> it's fixed or documented, you should disable the individual >>> items in the menu and not the menu itself. > > Ken, have you logged this yet so I can go vote for it. Yes, it's bug #3071. > Whatever, thank you for pointing it out. I had not noticed it but I > have a couple of stacks where the problem exists and I am glad to fix > it before my users find it. Glad you caught it early! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ambassador at fourthworld.com Sat Aug 20 12:39:15 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 20 Aug 2005 09:39:15 -0700 Subject: Bad Idea To Disable an 'Edit' Menu In-Reply-To: <0EEB2520-35EA-4335-8258-B11E6967F660@mac.com> References: <20050820060032.7521582511A@mail.runrev.com> <0EEB2520-35EA-4335-8258-B11E6967F660@mac.com> Message-ID: <43075CB3.1020006@fourthworld.com> James Spencer wrote: > MisterX is incorrect, this is not OS behavior. The placement > of the preferences item at the end of the Edit menu and then > moving it on OS X is pure Rev. I think it's a matter of semantics: It's a Rev issue only because OS X doesn't need to support other operating systems. Personally, I see no harm in putting menu items where customers expect them, and much benefit in Rev doing that automatically for us. While technically a bug, in practice it should never be an issue: the Mac HIG has long recommended against disabling the entire Edit menu, and the OS X HIG suggests never disabling menus at all, only items within the menu: Even if all of the items in a menu or submenu are unavailable, the menu or submenu title is not dimmed. The user can still open the menu, but all of its items are dimmed to indicate that these items are not available in the present context. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mwieder at ahsoftware.net Sat Aug 20 12:47:15 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 20 Aug 2005 09:47:15 -0700 Subject: Bad Idea To Disable an 'Edit' Menu In-Reply-To: References: Message-ID: <942464403.20050820094715@ahsoftware.net> Ken- Friday, August 19, 2005, 11:04:04 PM, you wrote: > If your application has an 'Edit' menu AND it has a 'Preferences' menu item > AND you deploy to Mac OS X, then you should never disable the entire Edit > menu (you should leave the menu itself enabled, but individually disable the > items you want to prevent users from executing). Good to know about, I guess, but are there any other applications that really *do* disable an entire menu? I can't think of any - I think it's an OS thing about disabling menu items for apps that aren't the frontmost app. I don't think this is a rev bug, but rather that you're trying to usurp an OS function by doing this. -- -Mark Wieder mwieder at ahsoftware.net From kray at sonsothunder.com Sat Aug 20 12:55:24 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 20 Aug 2005 11:55:24 -0500 Subject: Bad Idea To Disable an 'Edit' Menu In-Reply-To: <942464403.20050820094715@ahsoftware.net> Message-ID: On 8/20/05 11:47 AM, "Mark Wieder" wrote: > Ken- > > Friday, August 19, 2005, 11:04:04 PM, you wrote: > >> If your application has an 'Edit' menu AND it has a 'Preferences' menu item >> AND you deploy to Mac OS X, then you should never disable the entire Edit >> menu (you should leave the menu itself enabled, but individually disable the >> items you want to prevent users from executing). > > Good to know about, I guess, but are there any other applications that > really *do* disable an entire menu? I can't think of any - I think > it's an OS thing about disabling menu items for apps that aren't the > frontmost app. I don't think this is a rev bug, but rather that you're > trying to usurp an OS function by doing this. Well, regardless of whether there are other apps that disable an entire menu (thanks, Richard, for the HIG post, btw), the fact is that Rev allows you to do it, and the results are inconsistent under OS X for the Edit menu (and probably the Help menu too, I'd suspect). So either Rev shouldn't allow the disabling of an entire menu, or it should at least be consistent, IMHO. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ambassador at fourthworld.com Sat Aug 20 13:02:13 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 20 Aug 2005 10:02:13 -0700 Subject: Bad Idea To Disable an 'Edit' Menu In-Reply-To: <43075CB3.1020006@fourthworld.com> References: <20050820060032.7521582511A@mail.runrev.com> <0EEB2520-35EA-4335-8258-B11E6967F660@mac.com> <43075CB3.1020006@fourthworld.com> Message-ID: <43076215.70201@fourthworld.com> Richard Gaskin wrote: > James Spencer wrote: > >> MisterX is incorrect, this is not OS behavior. The placement >> of the preferences item at the end of the Edit menu and then >> moving it on OS X is pure Rev. > > > I think it's a matter of semantics: It's a Rev issue only because OS X > doesn't need to support other operating systems. > > Personally, I see no harm in putting menu items where customers expect > them, and much benefit in Rev doing that automatically for us. > > While technically a bug, in practice it should never be an issue: the > Mac HIG has long recommended against disabling the entire Edit menu, and > the OS X HIG suggests never disabling menus at all, only items within > the menu: > > Even if all of the items in a menu or submenu are unavailable, > the menu or submenu title is not dimmed. The user can still > open the menu, but all of its items are dimmed to indicate > that these items are not available in the present context. > > Ah, but the mystery deepens: Continuing the sad modern tradition of OS HIGs being driven by edict rather than research, it seems we have another OS difference presented with no research results available to back up either of the contradictions we're asked to accomodate: On Windows, the HIG sez: If all items in a menu are disabled, disable its menu title. If you disable a menu item or its title, the user can still browse to it or choose it. Of course, if these OS vendors bothered to do good research they would have arrived at the same decision, since the cognitive mechanisms of their respective audiences are not likely different, all of them being human. But even though one or both of these vendors is wrong, as Tog reminds me the best option is to go with consistency, doing what's most common on each platform. So I guess that means we have one more cross-platform gotcha to add to our session next year, Ken. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Sat Aug 20 13:04:22 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 20 Aug 2005 10:04:22 -0700 Subject: Bad Idea To Disable an 'Edit' Menu In-Reply-To: References: Message-ID: <43076296.3090002@fourthworld.com> Ken Ray wrote: > On 8/20/05 11:47 AM, "Mark Wieder" wrote: > > >>Ken- >> >>Friday, August 19, 2005, 11:04:04 PM, you wrote: >> >> >>>If your application has an 'Edit' menu AND it has a 'Preferences' menu item >>>AND you deploy to Mac OS X, then you should never disable the entire Edit >>>menu (you should leave the menu itself enabled, but individually disable the >>>items you want to prevent users from executing). >> >>Good to know about, I guess, but are there any other applications that >>really *do* disable an entire menu? I can't think of any - I think >>it's an OS thing about disabling menu items for apps that aren't the >>frontmost app. I don't think this is a rev bug, but rather that you're >>trying to usurp an OS function by doing this. > > > Well, regardless of whether there are other apps that disable an entire menu > (thanks, Richard, for the HIG post, btw), the fact is that Rev allows you to > do it, and the results are inconsistent under OS X for the Edit menu (and > probably the Help menu too, I'd suspect). So either Rev shouldn't allow the > disabling of an entire menu, or it should at least be consistent, IMHO. But if you disable the entire menu, what happens to your Preferences item on Win? Although the Win HIG says that when all of a menu's items are unavailable to go ahead and disable the entire menu, in the case of the Edit menu that's not likely to be an issue, since it's the common place for the Preferences item. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From stephenREVOLUTION at barncard.com Sat Aug 20 13:12:21 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sat, 20 Aug 2005 10:12:21 -0700 Subject: ISAM In-Reply-To: References: Message-ID: If your product is on the net anyway... Create as many MySQL databases you need from a full service web host such as Dreamhost for $10/month. No maintenance, no fees, dead simple management. >On 8/20/05 10:26 AM, "Scott Kane" wrote: > >>> If you going develop app which you will distribute in many >>> copies to clients, then you must pay for mySQL. >>> >>> A lots of people think that mySQL is free. >>> This is not true in a lots of cases. Read this: >> >> Ouch! I didn't realize that! I wonder how many >> ISP's (or web hosts rather) realize or actually >> follow this reqirement. > >MySQL is FREE for ISP 100% > >But for Application developers which distribute compiled apps NO. From kray at sonsothunder.com Sat Aug 20 13:18:54 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 20 Aug 2005 12:18:54 -0500 Subject: Bad Idea To Disable an 'Edit' Menu In-Reply-To: <43076296.3090002@fourthworld.com> Message-ID: On 8/20/05 12:04 PM, "Richard Gaskin" wrote: >> Well, regardless of whether there are other apps that disable an entire menu >> (thanks, Richard, for the HIG post, btw), the fact is that Rev allows you to >> do it, and the results are inconsistent under OS X for the Edit menu (and >> probably the Help menu too, I'd suspect). So either Rev shouldn't allow the >> disabling of an entire menu, or it should at least be consistent, IMHO. > > But if you disable the entire menu, what happens to your Preferences > item on Win? It disables along with the rest of the menu > Although the Win HIG says that when all of a menu's items are > unavailable to go ahead and disable the entire menu, in the case of the > Edit menu that's not likely to be an issue, since it's the common place > for the Preferences item. Well, actually it's not as common to do that in Windows apps as in Mac - they usually don't have "Preferences" under the Edit menu; they have "Options" under the Tools menu, or if it does have "Preferences", it's not under the Edit menu (I've seen it under Configure, or File, etc.). Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From mwieder at ahsoftware.net Sat Aug 20 13:37:49 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 20 Aug 2005 10:37:49 -0700 Subject: Bad Idea To Disable an 'Edit' Menu In-Reply-To: References: Message-ID: <225498476.20050820103749@ahsoftware.net> Ken- Saturday, August 20, 2005, 9:55:24 AM, you wrote: > Well, regardless of whether there are other apps that disable an entire menu > (thanks, Richard, for the HIG post, btw), the fact is that Rev allows you to > do it, and the results are inconsistent under OS X for the Edit menu (and > probably the Help menu too, I'd suspect). So either Rev shouldn't allow the > disabling of an entire menu, or it should at least be consistent, IMHO. Agreed. I'd vote for not allowing disabling. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Aug 20 13:43:19 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 20 Aug 2005 10:43:19 -0700 Subject: Bad Idea To Disable an 'Edit' Menu In-Reply-To: <43076215.70201@fourthworld.com> References: <20050820060032.7521582511A@mail.runrev.com> <0EEB2520-35EA-4335-8258-B11E6967F660@mac.com> <43075CB3.1020006@fourthworld.com> <43076215.70201@fourthworld.com> Message-ID: <1795827890.20050820104319@ahsoftware.net> Richard- Saturday, August 20, 2005, 10:02:13 AM, you wrote: > On Windows, the HIG sez: > If all items in a menu are disabled, disable its menu title. > If you disable a menu item or its title, the user can still > browse to it or choose it. I just checked, and WinWord doesn't disable menus when all their menuItems are unavailable. Or at least as far as I can tell. How can a menu be disabled is disabled when "the user can still browse to it or choose it"? I'm having trouble making sense of this. > I gotta read that for laughs some day. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Sat Aug 20 15:18:43 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 20 Aug 2005 12:18:43 -0700 Subject: Bad Idea To Disable an 'Edit' Menu In-Reply-To: References: Message-ID: <43078213.5000104@fourthworld.com> Ken Ray wrote: >>But if you disable the entire menu, what happens to your Preferences >>item on Win? > > It disables along with the rest of the menu > >>Although the Win HIG says that when all of a menu's items are >>unavailable to go ahead and disable the entire menu, in the case of the >>Edit menu that's not likely to be an issue, since it's the common place >>for the Preferences item. > > Well, actually it's not as common to do that in Windows apps as in Mac - > they usually don't have "Preferences" under the Edit menu; they have > "Options" under the Tools menu, or if it does have "Preferences", it's not > under the Edit menu (I've seen it under Configure, or File, etc.). And here we enter the Windows World of "Sometimes": - WordPad is supposed to be a simple model app, but they have the options for all features accessible under an "Options..." item in the View menu, even though it's not limited to options related to the view (and other parts of the Win HIG suggest keeping only things related to views in the View menu). But the comedy doesn't end there: the WordPad "Options" dialog has a number of of tabs, and the first one is labeled "Options". :) - In MS' Sound Recorder app they have an "Audio Properties" item (the closest thing to Prefs in that app) in the Edit menu. - MS Internet Explorer has no preferences per se; it has an "Internet Options" item in the Tools menu which coincidentally includes browser prefs as a subset, but since it governs all aspects of Internet usage it's not quite the same thing as Preferences for the app; I feel it's treated appropriately as the anomaly it is. - Outlook Express does have an "Options..." item in the Tools menu -- there's one. :) - Adobe Reader has a "Preferences..." item in the Edit menu even though they also have a Tools menu (but then again they have a View menu but put their Zoom options in their Tools menu). - Apple's QuickTime Player has a "Peferences..." item in the Edit menu. Of course they're Apple, but they're a bigger cross-platform vendor than I. - My copy of the printed Win HIG has neither "Preferences" nor "Options" in the index, and I could find no specific recommendation in the online version. So where do all these data points leave us? Without guidance from the mother ship, your guess is as good as mine. Windows-only apps vary too broadly and Microsoft themselves appear to have no stated opinion on the issue, so it looks like another Windows free-for-all, esp. for apps that don't have a Tools menu. For myself, I usually split it down the middle with an "Options" item under the Edit menu, set by script on startup to "Preferences" if it opens on a Mac. I've mad many an email about a wide range of UI nuances but never one on my prefs nomenclature, so unless it becomes a problem I'm sticking with it. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From kray at sonsothunder.com Sat Aug 20 15:53:40 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 20 Aug 2005 14:53:40 -0500 Subject: Bad Idea To Disable an 'Edit' Menu In-Reply-To: <43078213.5000104@fourthworld.com> Message-ID: > For myself, I usually split it down the middle with an "Options" item > under the Edit menu, set by script on startup to "Preferences" if it > opens on a Mac. I've mad many an email about a wide range of UI nuances > but never one on my prefs nomenclature, so unless it becomes a problem > I'm sticking with it. :) Sounds good to me, Richard... I think I'll adopt the same thing... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ambassador at fourthworld.com Sat Aug 20 16:03:16 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 20 Aug 2005 13:03:16 -0700 Subject: Bad Idea To Disable an 'Edit' Menu In-Reply-To: References: Message-ID: <43078C84.1010204@fourthworld.com> Ken Ray wrote: >>For myself, I usually split it down the middle with an "Options" item >>under the Edit menu, set by script on startup to "Preferences" if it >>opens on a Mac. I've mad many an email about a wide range of UI nuances >>but never one on my prefs nomenclature, so unless it becomes a problem >>I'm sticking with it. :) > > > Sounds good to me, Richard... I think I'll adopt the same thing... Just don't disable the entire Edit menu -- I hear there's a bug in Rev that's also disables the Prefs item when it's moved on OS X. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From davethebrv at crystalpiersw.com Sat Aug 20 17:52:08 2005 From: davethebrv at crystalpiersw.com (David Beck) Date: 20 Aug 2005 21:52:08 -0000 Subject: libURLftpUpload returns "invalid host address" error Message-ID: <20050820215208.19644.qmail@host141.ipowerweb.com> Sorry for the ambiguity. For this particular customer, the attempt to upload the file with libURLftpUpload fails 100% of the time with libURLErrorData returning the "invalid host address" error. However, strangely she did say that it was worked for her a few times before it started failing 100% of the time. She is sure that her modem is connected when the problem occurs. I had her load a page in Explorer to confirm that and also in the screen shot she sent me I could see the internet connection status as "active" with bytes both sent are received in the task bar. I know that the URL is valid. Out of the three likely causes you listed, that leaves the user's DNS server. Is there a way to test that possibility? Do you think that is what is going on? Thanks so much! David > The "invalid host address" message is returned by libUrl when the > hostnameToAddress function returns an error. > > Likely causes are a bad url, a problem with the user's DNS server, > or a network connection problem. > > You said "Eventually". Do you mean there is a long wait before the > result is returned, or the user does it successfully a number of times > and then it fails? If the former, is the user's modem currently > connected when the prolem occurs? > > Cheers > Dave From jspencer78 at mac.com Sat Aug 20 18:35:18 2005 From: jspencer78 at mac.com (James Spencer) Date: Sat, 20 Aug 2005 17:35:18 -0500 Subject: Bad Idea To Disable an 'Edit' Menu In-Reply-To: <43078213.5000104@fourthworld.com> References: <43078213.5000104@fourthworld.com> Message-ID: On Aug 20, 2005, at 2:18 PM, Richard Gaskin wrote: > Ken Ray wrote: > >> Well, actually it's not as common to do that in Windows apps as in >> Mac - >> they usually don't have "Preferences" under the Edit menu; they have >> "Options" under the Tools menu, or if it does have "Preferences", >> it's not >> under the Edit menu (I've seen it under Configure, or File, etc.). >> > > And here we enter the Windows World of "Sometimes": > ... Amen. I certainly would not look to Windows for how to handle preference items as there is NO consistency not even within Microsoft's products. That said, I have been convinced by the discussion here that I should not be disabling the Edit menu in its entirety but rather should disable the individual items. I am glad this problem was pointed out as it is making me fix my app. That said as well, I still think the way Rev is handling the Preference item, i.e. disabling it even though it has been moved on a Mac OS X system, is a bug. I understand how it occurs but the special handling that moves the menu item should also handle enabling the item as well. Spence From alex at tweedly.net Sat Aug 20 19:37:30 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 21 Aug 2005 00:37:30 +0100 Subject: libURLftpUpload returns "invalid host address" error In-Reply-To: <20050820215208.19644.qmail@host141.ipowerweb.com> References: <20050820215208.19644.qmail@host141.ipowerweb.com> Message-ID: <4307BEBA.8040903@tweedly.net> David Beck wrote: >Sorry for the ambiguity. For this particular customer, the attempt to upload the >file with libURLftpUpload fails 100% of the time with libURLErrorData returning >the "invalid host address" error. However, strangely she did say that it was >worked for her a few times before it started failing 100% of the time. She is >sure that her modem is connected when the problem occurs. I had her load a page >in Explorer to confirm that and also in the screen shot she sent me I could see >the internet connection status as "active" with bytes both sent are received in >the task bar. I know that the URL is valid. Out of the three likely causes you >listed, that leaves the user's DNS server. Is there a way to test that >possibility? Do you think that is what is going on? > > > Open a shell window, and at the command prompt type ping www.somehost.com (or whatever the relevant host portion of the URL is). The first line of output should say something like .... Pinging www.somehost.com [] with xx bytes of data : Any problem with the DNS server will likely show up as either "host not found" or "could not find host ..." or "dns request timed out" or similar. Is it the same host portion of the address for ftp as for http / IE ? If it's an ftp upload, does it include a username and password ? Any chance they're wrong ? or contain an odd character that is confusing things ? Can you easily change it to use a numeric IP address instead of the hostname (and if so, what error message does that give) ? >>The "invalid host address" message is returned by libUrl when the >>hostnameToAddress function returns an error. >> >>Likely causes are a bad url, a problem with the user's DNS server, >>or a network connection problem. >> >>You said "Eventually". Do you mean there is a long wait before the >>result is returned, or the user does it successfully a number of times >>and then it fails? If the former, is the user's modem currently >>connected when the prolem occurs? >> >>Cheers >>Dave >> >> > > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > -- Alex Tweedly http://www.tweedly.net -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.13/78 - Release Date: 19/08/2005 From scott at proherp.com Sat Aug 20 20:55:34 2005 From: scott at proherp.com (Scott Kane) Date: Sun, 21 Aug 2005 10:55:34 +1000 Subject: ISAM In-Reply-To: Message-ID: <000f01c5a5eb$0fa709b0$0201010a@proherps56yaxv> > If your product is on the net anyway... Create as many MySQL > databases you need from a full service web host such as Dreamhost for > $10/month. No maintenance, no fees, dead simple management. Thanks for the reply, but it's a desktop application. I need an ISAM methodology to pull it off cleanly. Man - wish I could acees just dBase or Pardox. Scott From scott at proherp.com Sat Aug 20 21:04:25 2005 From: scott at proherp.com (Scott Kane) Date: Sun, 21 Aug 2005 11:04:25 +1000 Subject: ISAM In-Reply-To: <679A4DD8-04FA-42E8-94DA-C9D16626102C@danshafer.com> Message-ID: <001601c5a5ec$4be486e0$0201010a@proherps56yaxv> Hi Don, > A minor (and probably unimportant in the contex) clarification: > > MySQL charges for distribution of the *server*. If you > provide an app > as, e.g., an ASP that runs on a MySQL server on a hosting service > where the end user is only *using* that database and never > installing > the server, usage is free. But if the end user needs a MySQL > database > on his or her machine, then the charge kicks in. Right. MYSQL isn't a god choice for the teck level of my users anyway, > Scott, I've heard good things about serendipity and the author is a > frequent contributor here. Certainly worth a look. So have I. But sadly the source stacks and routines are broken (links I should say) on the developers website. Is this a living product - or abandonware? I joined the Google mail list and have had no replies. I was over the moon at the potential for this project (Serendipity), but I can't test it out without the complete links to download the various pieces. :-( Scott From revdan at danshafer.com Sat Aug 20 23:10:08 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 20 Aug 2005 20:10:08 -0700 Subject: ISAM In-Reply-To: <001601c5a5ec$4be486e0$0201010a@proherps56yaxv> References: <001601c5a5ec$4be486e0$0201010a@proherps56yaxv> Message-ID: <5BC50A91-BBBE-41E0-AD17-00D86F466991@danshafer.com> As far as I know, it's living software. You can download it from what I think is its new home at: http://wecode.org/serendipity/ At least I just did so successfully. (The site was pretty slow tonight but I think it varies a lot.) (Also note that i haven't actually tried to use this stuff. I'm an altSQLite kinda guy.) On Aug 20, 2005, at 6:04 PM, Scott Kane wrote: > Hi Don, >> Scott, I've heard good things about serendipity and the author is a >> frequent contributor here. Certainly worth a look. >> > > So have I. But sadly the source stacks and routines are > broken (links I should say) on the developers website. > Is this a living product - or abandonware? I joined the > Google mail list and have had no replies. I was over the > moon at the potential for this project (Serendipity), but > I can't test it out without the complete links to download > the various pieces. :-( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From erikhans08 at yahoo.com Sun Aug 21 01:55:37 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sat, 20 Aug 2005 22:55:37 -0700 (PDT) Subject: Sends getting lost In-Reply-To: <4C0BB2E9-396A-444E-ABF8-68E3EF417BD5@inspiredlogic.com> Message-ID: <20050821055537.64689.qmail@web33004.mail.mud.yahoo.com> --- Geoff Canyon wrote: > Instead of sending mouseUp, put your code into > a custom handler. Call > that handler from your mouseUp, and send that > handler to object it is in> in 10 seconds. > elsewhere, it's all ready for you, rather than > tied into a button. like this? on mouseUp send "myHandler" to control "Thang" in 10 secs end mouseUp -- in the script of control "Thang": on myHandler videoThings ... end myHandler erik at erikhansen.org http://www.erikhansen.org ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From jperryl at ecs.fullerton.edu Sun Aug 21 01:56:59 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 20 Aug 2005 22:56:59 -0700 (PDT) Subject: Blowing in the Wind In-Reply-To: <1EC08653-65AD-4AA5-B444-EFBD9C7DE576@inspiredlogic.com> Message-ID: Is it just Flash in general or Macromedia products (specifically, Director) in particular? I've noticed this as well... Judy On Sat, 20 Aug 2005, Geoff Canyon wrote: > As people have said, Flash can't have shaped windows in the first > place, so this animation is out of consideration. My experience with > Flash movies in general is that they happily take up 100% of my > 1.2gHx CPU. Check out the N game for an example: > From jperryl at ecs.fullerton.edu Sun Aug 21 02:05:36 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 20 Aug 2005 23:05:36 -0700 (PDT) Subject: ATTN: Marty BillingsleyA In-Reply-To: <1EC08653-65AD-4AA5-B444-EFBD9C7DE576@inspiredlogic.com> Message-ID: Marty ( et al ): Now that NECC 2005 is an in-the-past kind of thing, do you have any reports of how it went and/or any online summarization of how your presentation went? I'd like to post it for my fellow grads in the MS in Instructional Design and Technology program.... Kindest thanks, Judy From gcanyon at inspiredlogic.com Sun Aug 21 02:17:05 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat, 20 Aug 2005 23:17:05 -0700 Subject: Sends getting lost In-Reply-To: <20050821055537.64689.qmail@web33004.mail.mud.yahoo.com> References: <20050821055537.64689.qmail@web33004.mail.mud.yahoo.com> Message-ID: <0ACE40C0-E8A5-4424-9334-A400DA122C43@inspiredlogic.com> Looks good to me. On Aug 20, 2005, at 10:55 PM, Erik Hansen wrote: > like this? > > on mouseUp > send "myHandler" to control "Thang" in 10 secs > end mouseUp > > -- in the script of control "Thang": > > on myHandler > videoThings > ... > end myHandler From gcanyon at inspiredlogic.com Sun Aug 21 02:22:03 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat, 20 Aug 2005 23:22:03 -0700 Subject: Blowing in the Wind In-Reply-To: References: Message-ID: On Aug 20, 2005, at 10:56 PM, Judy Perry wrote: > Is it just Flash in general or Macromedia products (specifically, > Director) in particular? > > I've noticed this as well... > > Judy > > On Sat, 20 Aug 2005, Geoff Canyon wrote: > > >> As people have said, Flash can't have shaped windows in the first >> place, so this animation is out of consideration. My experience with >> Flash movies in general is that they happily take up 100% of my >> 1.2gHx CPU. Check out the N game for an example: It's been so long since I ran a Director project, I have no idea. From jperryl at ecs.fullerton.edu Sun Aug 21 02:35:39 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 20 Aug 2005 23:35:39 -0700 (PDT) Subject: Blowing in the Wind In-Reply-To: Message-ID: Yeah, I understand... but I had to use it for my MS in IDT... and it was P-A-I-N-F-U-L-L.... and E-X-P-E-N-S-I-V-E.. (had to pay $1,000+ for data recovery). Colin Holgate from the HC list finally alerted me that there was a serious problem with running it under classic that ate up all CPU power... and made it crash REPEATEDLY... (like, several times per hour)... My program, of course, thought I was lying... :( Didn't make me like Director, obviously... and now makes me hesitant about Flash (once or twice burned...) Judy On Sat, 20 Aug 2005, Geoff Canyon wrote: > > On Aug 20, 2005, at 10:56 PM, Judy Perry wrote: > > > Is it just Flash in general or Macromedia products (specifically, > > Director) in particular? > > > > I've noticed this as well... > > > > Judy > > > > On Sat, 20 Aug 2005, Geoff Canyon wrote: > > > > > >> As people have said, Flash can't have shaped windows in the first > >> place, so this animation is out of consideration. My experience with > >> Flash movies in general is that they happily take up 100% of my > >> 1.2gHx CPU. Check out the N game for an example: > > It's been so long since I ran a Director project, I have no idea. From joel.guillod at net2000.ch Sun Aug 21 03:19:31 2005 From: joel.guillod at net2000.ch (Joel Guillod) Date: Sun, 21 Aug 2005 09:19:31 +0200 Subject: Uncomplete Externals SDK Documentation In-Reply-To: <20050819170005.39D91824EF8@mail.runrev.com> References: <20050819170005.39D91824EF8@mail.runrev.com> Message-ID: In the RunRevExternalSDK found at: http://downloads.runrev.com/resources/externals/revexternalssdk.zip many features remain undocumented in the "Externals" stack and the other files. I know this has been a recurring and annoying problem for many years and that a great step has been made last year in the good direction. RunRev is certainly interested to provide all the details for developers who are willing to benefit from the whole power of the externals. Before filling a bug I would like to get your feedback, did I miss something? Is there an other complete documentation for externals? Some of the callback functions not documented or with wrong documentation: GetImageByID GetImageByNum mc_xtclose mc_xtinit ShowImageById ShowImageByName ShowImageByNum X_close X_init X_main_loop X_set_idle_handler X_set_idle_rate X_set_poll_handler X_set_post_poll_handler X_set_post_xevent_handler X_set_pre_xevent_handler X_set_select_handler In advance thank you. Joel G --------------------------- ?Only one thing is impossible for God: To find any sense in any copyright law on the planet.? (Mark Twain) ?Seulement une chose est impossible ? Dieu : Trouver le moindre sens aux lois de copyright sur la plan?te.? (Mark Twain) From joel.guillod at net2000.ch Sun Aug 21 06:01:06 2005 From: joel.guillod at net2000.ch (Joel Guillod) Date: Sun, 21 Aug 2005 12:01:06 +0200 Subject: [ANN] Animated gif for OSX progress In-Reply-To: <20050819235527.AB06F82513F@mail.runrev.com> References: <20050819235527.AB06F82513F@mail.runrev.com> Message-ID: Thanks for the nice 16x16 24-frame animated gif ! I wonder to know if there is a way in Revolution that animated gif are going to be automatically animated during the execution of a script. This is in fact the reason of your new 'chasing arrows' to show the user that a process is currently running and he should be patient. My solution up to now: 1.- open the animated gif in GraphicConverter 2.- save it as a Quicktime Movie, 3.- add a Player named "MyAnim" onto your card 4.- in message box type : set the filename of player "MyAnim" to theQuicktimeMovieFilePath set the looping of player "MyAnim" to true 5.- then a script sample during which the animation is displayed: on doSomeLongProcess show player "MyAnim" start player "MyAnim" here you have some long process to run -- <-- change as needed... stop player "MyAnim" hide player "MyAnim" end doSomeLongProcess 6.- Of course the animation is not displayed if you set the lockscreen to true in your script. Enjoy and tell me if there is a direct solution with animated gif. Joel G From jbondy at sover.net Sun Aug 21 07:52:21 2005 From: jbondy at sover.net (Jon) Date: Sun, 21 Aug 2005 07:52:21 -0400 Subject: strange message watcher window Message-ID: <43086AF5.3060409@sover.net> I'd not used the Message Watcher until this morning. I was a bit surprised to see the Clear button on top of what seemed to be a data entry field, and the data entry field lying on top of the Suppress button. Am I being too picky, or misunderstanding the UI? www.jonbondy.com/rev.jpg :) Jon From ptrendler at bigpond.com Sun Aug 21 08:19:50 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Sun, 21 Aug 2005 22:19:50 +1000 Subject: strange message watcher window References: <43086AF5.3060409@sover.net> Message-ID: <003c01c5a64a$a81275e0$0200000a@super> Jon, Just resize the width (drag) of the window. I think from memory it stays put once you've done that. Not sure if this still happens in the latest build (108). You can also lose buttons on the script error window if it isn't wide enough - fooled me at first. Pat patrend at bigpond.com ----- Original Message ----- From: "Jon" To: "Revolution List" Sent: Sunday, August 21, 2005 9:52 PM Subject: strange message watcher window > I'd not used the Message Watcher until this morning. I was a bit > surprised to see the Clear button on top of what seemed to be a data entry > field, and the data entry field lying on top of the Suppress button. Am I > being too picky, or misunderstanding the UI? > > www.jonbondy.com/rev.jpg > > :) > > Jon > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.10.13/78 - Release Date: 19/08/2005 > > From howard.bornstein at gmail.com Sun Aug 21 09:00:09 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Sun, 21 Aug 2005 09:00:09 -0400 Subject: [ANN] Animated gif for OSX progress In-Reply-To: <200508211004.j7LA4XGe016973@ms-smtp-02.rdc-nyc.rr.com> References: <200508211004.j7LA4XGe016973@ms-smtp-02.rdc-nyc.rr.com> Message-ID: <3f07cc26050821060064b10340@mail.gmail.com> On 8/21/05, Joel Guillod wrote: > Thanks for the nice 16x16 24-frame animated gif ! > > I wonder to know if there is a way in Revolution that animated gif > are going to be automatically animated during the execution of a > script. When I tested it, the animation ran automatically whenever the gif was showing. So to use the "busy" indicator, I just set a transparent button to the icon of the gif to show it and set the icon to 0 to stop it. -- toggle the wait indicator if the icon of btn "wait" is 0 then set the icon of btn "wait" to 1004 -- the id of the gif else set the icon of btn "wait" to 0 end if -- Regards, Howard Bornstein ----------------------- www.designeq.com From david at openpartnership.net Sun Aug 21 09:20:48 2005 From: david at openpartnership.net (david bovill) Date: Sun, 21 Aug 2005 15:20:48 +0200 Subject: Simple question: html link in browser opening a Rev Stack? In-Reply-To: <3f07cc26050821060064b10340@mail.gmail.com> References: <200508211004.j7LA4XGe016973@ms-smtp-02.rdc-nyc.rr.com> <3f07cc26050821060064b10340@mail.gmail.com> Message-ID: <2AF5CA66-7024-47AA-AE90-3602AED9A3E7@openpartnership.net> Been a while since I've done this - can someone help? From memory there are 1 or 2 things that must be set up for this to work properly: 1. Mime types set up on local machine so that the browser recognises stack as something to be opened by Rev 2. Possibly mime types set on http server - is this only for saving file type during download? From memory I remember a stack that automatically set the default browser to do this? Does this stack still exist? What are the cross- platform / cross browser issues here - mainly interested in OSX and Linux for next week. From marty at vertex.ucls.uchicago.edu Sun Aug 21 09:57:21 2005 From: marty at vertex.ucls.uchicago.edu (Marty Billingsley) Date: Sun, 21 Aug 2005 08:57:21 -0500 (CDT) Subject: NECC roundup (was ATTN: Marty Billingsley) In-Reply-To: <20050821094618.21565824EE2@mail.runrev.com> References: <20050821094618.21565824EE2@mail.runrev.com> Message-ID: Judy Perry writes: > Marty ( et al ): > > Now that NECC 2005 is an in-the-past kind of thing, do you have any > reports of how it went and/or any online summarization of how your > presentation went? > > I'd like to post it for my fellow grads in the MS in Instructional Design > and Technology program.... Hi Judy (and anyone else who's interested) -- Here's the online blurb about our session: Basically, each of us got eight minutes to show off our favorite multimedia authoring tool. I touted RunRev; others demonstrated Flash, eZedia, CREATE Together, and Blackspace. There were about 75 people in the audience; most of them were seeking an alternative to HyperStudio in the K-8 classroom. In this environment I didn't get much chance to show off RR's greatest strength: the easy scripting language. I also didn't get much chance to talk about how I use RR in the classroom: as an introductory programming environment. I showed a simple informational stack made with RR, which is what many in the audience will probably want to do or to have their students do. Based on the geography of Europe, the stack included images, label fields that show and hide as the user rolls over parts of the map, info fields and flag images that show up when the user clicks on countries, etc. It also included a quiz that deomonstrated the ease of doing random sorting and using sounds. Very simple stuff, nothing fancy. I snuck in a few glimpses of my students' work -- couldn't resist -- to show some more advanced things RR could create. My curriculum is games-based, so many of my students' projects weren't really relevant in that setting, but they're much cooler than straightforward multimedia projects. The audience seemed appreciative, but perhaps a little dazed by so much information at one time. (They saw similar presentations on five different software packages.) More effective, perhaps, would be a day-long workshop where participants get an hour of hands-on instruction in each multimedia environment. Then they'd really have the background to choose which software to use in their classroom. Using RR as a multimedia tool isn't the focus of what I teach students. Maybe for NECC 2006 I can put together a session on using RR to teach programming, but don't know if the logistics of a San Diego trip is feasible. :-) cheers, - marty -- Marty Billingsley (marty at ucls.uchicago.edu) The University of Chicago Laboratory Schools From jvickers2002 at hotmail.com Sun Aug 21 10:09:39 2005 From: jvickers2002 at hotmail.com (Jason Vickers) Date: Sun, 21 Aug 2005 22:09:39 +0800 Subject: Changing a stack script on the fly and other stuff Message-ID: This may seem a little complicated. At least, it does to me :-P. Hopefully my description is understandable. I have a stand alone app that clones a stack so users can change and save information for later retrieval. Much of the scripting is put on the stack level. When the stack is cloned, the scripting is cloned. One of the stack scripts is as follows: on closeStack put the short name of this stack into sName if sName <> "mc" then answer "Do you want to save this stack?" with "yes" or "no" if it is "yes" then save this stack as stack myStack else end if end if end closeStack The first "if" evaluates if it is the cloned or original stack (I don't want them saving to the original). When the user closes their new stack, it asks them if they want to save the information. This script does exactly what I want it to do. I want the users to be able to repeatedly modify their new stack until they are ready to "finalize" it so that it cannot be changed. The users finalize the script from a different stack - a control stack. The name of the user-created stacks are put into a field. The user can select the name of the stack they want to finalize and press a "Prepare" button. Here is the script for that button: global selectTest on mouseUp open card 2 stack selectTest do hideAll do deleteTcard do changeScript end mouseUp Selecting the appropriate stack name loads it into the global "selectTest". The unecessary buttons and fields are hidden, and certain cards are removed. The scripts are stack level again. In order to prevent future saving to this stack, I want to comment out the "on closeStack" portion of the stack script. The "do changeScript" portion does not comment out the "on closeStack" of the target card, though. Here is the "on changeScript" from the control card: on changeScript put the script of this stack into tempScript repeat with i = 1 to the number of lines in tempScript if line i of tempScript = "on closeStack" then put "--" before line i of tempScript end repeat set the script of thisStack to tempScript save this stack end changeScript As I said, this part of the script doesn't work. The Revolution documentation has a section entitled "How do I change a script at runtime?". There is a section for changing a card script. Can I even do this for a stack script? I don't know if the script I wrote is a viable solution. I also only commented out the "on changeScript" line. That doesn't save to the target stack, though. Any suggestions? Thanks for any help, Jason From webmaster at dreamscapesoftware.com Sun Aug 21 10:13:17 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sun, 21 Aug 2005 09:13:17 -0500 Subject: Uncomplete Externals SDK Documentation In-Reply-To: References: <20050819170005.39D91824EF8@mail.runrev.com> Message-ID: <43088BFD.1050308@dreamscapesoftware.com> Joel Guillod wrote: > Some of the callback functions not documented or with wrong documentation: The SDK's problems actually go a whole lot further than just incomplete documentation. A lot of the callback functions that I wanted to use, like "GetImageByID", were not even *in* the SDK. It's been a while since I've looked at it, but I believe Alex Tweedly has been working on this issue in getting a more complete SDK with all of the functions. Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com/ From david at openpartnership.net Sun Aug 21 10:40:08 2005 From: david at openpartnership.net (david bovill) Date: Sun, 21 Aug 2005 16:40:08 +0200 Subject: The television will be Revolutionised! - first coding sprint In-Reply-To: <003c01c5a64a$a81275e0$0200000a@super> References: <43086AF5.3060409@sover.net> <003c01c5a64a$a81275e0$0200000a@super> Message-ID: Or should that be "The revolution will not be Televised"? I am excited to announce the first Revolution coding sprint for the new digital television era! I've just put up a wiki page for those of you from the Rev community interested in the project: http://www.ccproducer.org/ctv/wiki/TvRevolution A small group of us are going into the mountains of Austria to prototype and specify a Revolution based framework for digital television production. We will also specify and build a first prototype of a cross-platform Rev based app which takes RSS feeds from podcasts and video blogs (vlogs) in order to play full screen H264 encoded video over the internet (DTV Player). It will be hopefully the first of several similar sprints taking place over the next 3 months resulting an open source distribution for TV workflow based on Revolution and a variety of open source backend services which we are calling - ccProducer. The aim is to have this finished together with the DTV Player by the end of November this year. Should be a good test of Rev's rapid application development. For anyone interested in this project you can check out the new Trac and subversion based development wiki: http://ccproducer.org/ctv/ The video blogging system is to be based on WordPress and can be found on the same server at: http://ccproducer.org/wordpress/ Warning - it's a new server and not everything is installed properly yet - we are working on subversion as we speak! From david at openpartnership.net Sun Aug 21 11:20:22 2005 From: david at openpartnership.net (david bovill) Date: Sun, 21 Aug 2005 17:20:22 +0200 Subject: Digital Signatures and SSL In-Reply-To: References: <43086AF5.3060409@sover.net> <003c01c5a64a$a81275e0$0200000a@super> Message-ID: I need a couple of things from the opnSSL library that i can't find in the Rev docs: 1) SHA1 digital signatures 2) AES - why is this not in the list of cypher names? Thanx in advance (if anyone has a clue :) From mwieder at ahsoftware.net Sun Aug 21 12:24:58 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 21 Aug 2005 09:24:58 -0700 Subject: ISAM In-Reply-To: <000f01c5a5eb$0fa709b0$0201010a@proherps56yaxv> References: <000f01c5a5eb$0fa709b0$0201010a@proherps56yaxv> Message-ID: <1111106410.20050821092458@ahsoftware.net> Scott- Saturday, August 20, 2005, 5:55:34 PM, you wrote: > I need an ISAM methodology to pull it off cleanly. Man - > wish I could acees just dBase or Pardox. Have you tried ODBC access to dBase files? There are some weirdnesses with the Paradox driver depending on which version you're using, but ODBC should work to get to dBase files. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Aug 21 12:27:31 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 21 Aug 2005 09:27:31 -0700 Subject: Uncomplete Externals SDK Documentation In-Reply-To: References: <20050819170005.39D91824EF8@mail.runrev.com> Message-ID: <591259491.20050821092731@ahsoftware.net> Joel- Sunday, August 21, 2005, 12:19:31 AM, you wrote: > feedback, did I miss something? Is there an other complete > documentation for externals? Stay tuned. -- -Mark Wieder mwieder at ahsoftware.net From kray at sonsothunder.com Sun Aug 21 12:29:06 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 21 Aug 2005 11:29:06 -0500 Subject: Changing a stack script on the fly and other stuff In-Reply-To: Message-ID: On 8/21/05 9:09 AM, "Jason Vickers" wrote: > In order to prevent future saving to this stack, I want to comment out the "on > closeStack" portion of the stack script. Well, you're going to run into problems with changing scripts at runtime - there are script limits (10 lines I believe) that you can change from a standalone, so that's not going to work for you most likely. Better approach would be to set a custom property in the stack that identifies whether it can be saved or not. For example, you could set the "uCantSave" of a stack to "true" to prevent the ability of saving the stack my modifying the closeStack handler as follows: on closeStack put the short name of this stack into sName if sName <> "mc" and (the uCantSave of this stack is not "true") then answer "Do you want to save this stack?" with "yes" or "no" if it is "yes" then save this stack as stack "myStack" set the uCantSave of stack "myStack" to true save stack "myStack" -- make the property change permanent end if end if end closeStack HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From alex at tweedly.net Sun Aug 21 12:42:01 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 21 Aug 2005 17:42:01 +0100 Subject: Uncomplete Externals SDK Documentation In-Reply-To: <43088BFD.1050308@dreamscapesoftware.com> References: <20050819170005.39D91824EF8@mail.runrev.com> <43088BFD.1050308@dreamscapesoftware.com> Message-ID: <4308AED9.5020309@tweedly.net> Derek Bump wrote: > Joel Guillod wrote: > >> Some of the callback functions not documented or with wrong >> documentation: > > > The SDK's problems actually go a whole lot further than just > incomplete documentation. A lot of the callback functions that I > wanted to use, like "GetImageByID", were not even *in* the SDK. It's > been a while since I've looked at it, but I believe Alex Tweedly has > been working on this issue in getting a more complete SDK with all of > the functions. I hope this isn't starting to sound like "Pass the Parcel" :-) No, I'm not able to do much towards a more complete SDK. All I was able to do was write up a number of the discrepancies and missing items I found, and pass that on to Mark Weider. Mark has been working with some of the Rev folks, but I don't know that status or plans. Sorry. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.13/78 - Release Date: 19/08/2005 From soapdog at mac.com Sun Aug 21 12:48:17 2005 From: soapdog at mac.com (Andre Garzia) Date: Sun, 21 Aug 2005 13:48:17 -0300 Subject: The television will be Revolutionised! - first coding sprint In-Reply-To: References: <43086AF5.3060409@sover.net> <003c01c5a64a$a81275e0$0200000a@super> Message-ID: <51BC3D18-9877-49D2-9ED4-A860743DFDC0@mac.com> Some years ago, I used Rev to code our chromakey based character generator for our TV show... it works fine!!! :P If you're trying to build things for TV I think you should look into Trevors Quicktime External which can do some nice tricks with Videos. Also if you fell confortable with AppleScript you can then script Quartz Composer thus creating a nice presentation full of bells and whistles. beware that you'll not be able to re-encode the vlog feeds in realtime, I don't know what kind of video processing app you're building, if you're aiming at TV Broadcasting, then you don't need H. 264. IF you deliver on the web, well, then you don't need realtime =) good luck cheers andre PS: Ken Ray XML Library makes a good job parsing RSS Feeds, beware of spec war, there are at least 3 RSS specs out there in the wild, also podcast is not standard yet, videocast is also not a standard... also there are ATOM feeds with video links and audio links... irgh! On Aug 21, 2005, at 11:40 AM, david bovill wrote: > Or should that be "The revolution > will not be Televised"? > > I am excited to announce the first Revolution coding sprint for the > new digital television era! I've just put up a wiki page for those > of you from the Rev community interested in the project: > > http://www.ccproducer.org/ctv/wiki/TvRevolution > > A small group of us are going into the mountains of Austria to > prototype and specify a Revolution based framework for digital > television production. We will also specify and build a first > prototype of a cross-platform Rev based app which takes RSS feeds > from podcasts and video blogs (vlogs) in order to play full screen > H264 encoded video over the internet (DTV Player). > > It will be hopefully the first of several similar sprints taking > place over the next 3 months resulting an open source distribution > for TV workflow based on Revolution and a variety of open source > backend services which we are calling - ccProducer. > > The aim is to have this finished together with the DTV Player by > the end of November this year. Should be a good test of Rev's rapid > application development. For anyone interested in this project you > can check out the new Trac and subversion based development wiki: > > http://ccproducer.org/ctv/ > > The video blogging system is to be based on WordPress and can be > found on the same server at: > > http://ccproducer.org/wordpress/ > > Warning - it's a new server and not everything is installed > properly yet - we are working on subversion as we speak! > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Sun Aug 21 12:49:40 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 21 Aug 2005 09:49:40 -0700 Subject: Blowing in the Wind In-Reply-To: Message-ID: >> As people have said, Flash can't have shaped windows in the first >> place, so this animation is out of consideration. My experience with >> Flash movies in general is that they happily take up 100% of my >> 1.2gHx CPU. Recently, Judy Perry wrote: > Is it just Flash in general or Macromedia products (specifically, > Director) in particular? > > I've noticed this as well... As far as shaped windows goes, the above is not true. I've believe I've seen at least two 3rd party products that allow you to apply a window mask to a projector (standalone). In terms of processor use, I think it depends on the content. But it's not just Macromedia. Even some of Adobe's products such as Photoshop do things behind the scenes that can bog down your system. This is very irritating given that product in particular is for manipulating images and has nothing to do with video/motion etc. (Due to the past hostility between the two companies, we used to joke that Adobe and Macromedia had CPD's -- Competitive Product Detectors -- written into their software that would cause the system to slow down if they detected any of their competitor's products running simultaneously.) Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From jvickers2002 at hotmail.com Sun Aug 21 13:29:47 2005 From: jvickers2002 at hotmail.com (Jason Vickers) Date: Mon, 22 Aug 2005 01:29:47 +0800 Subject: Changing a stack script on the fly and other stuff References: Message-ID: Ken, Thanks for that suggestion. The original script you gave me didn't work (maybe it waasn't supposed to, though), but I did modify it to look for a value in a hidden field [ if sName <> "mc" and (field "trial" card 1 <> "nosave") then ]. Using the control card, I added a line to set the field "trial" to "nosave". That solved the problem. Had it not been for your suggestion, I would have sat here staring blankly at my screen for hours. I am fairly new to Revolution and fear that most of my scripting looks like Frankenstein's monster... Anyway, thanks again for the suggestion; it set me on the right path to solving the problem. Jason ----- Original Message ----- From: "Ken Ray" To: "Use Revolution List" Sent: Monday, August 22, 2005 12:29 AM Subject: Re: Changing a stack script on the fly and other stuff > On 8/21/05 9:09 AM, "Jason Vickers" wrote: > >> In order to prevent future saving to this stack, I want to comment out >> the "on >> closeStack" portion of the stack script. > > Well, you're going to run into problems with changing scripts at runtime - > there are script limits (10 lines I believe) that you can change from a > standalone, so that's not going to work for you most likely. > > Better approach would be to set a custom property in the stack that > identifies whether it can be saved or not. For example, you could set the > "uCantSave" of a stack to "true" to prevent the ability of saving the > stack > my modifying the closeStack handler as follows: > > on closeStack > put the short name of this stack into sName > if sName <> "mc" and (the uCantSave of this stack is not "true") then > answer "Do you want to save this stack?" with "yes" or "no" > if it is "yes" then > save this stack as stack "myStack" > set the uCantSave of stack "myStack" to true > save stack "myStack" -- make the property change permanent > end if > end if > end closeStack > > HTH, > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Sun Aug 21 13:43:19 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 21 Aug 2005 10:43:19 -0700 Subject: Uncomplete Externals SDK Documentation In-Reply-To: <43088BFD.1050308@dreamscapesoftware.com> References: <20050819170005.39D91824EF8@mail.runrev.com> <43088BFD.1050308@dreamscapesoftware.com> Message-ID: <1185807110.20050821104319@ahsoftware.net> Derek- Sunday, August 21, 2005, 7:13:17 AM, you wrote: > The SDK's problems actually go a whole lot further than just incomplete > documentation. A lot of the callback functions that I wanted to use, > like "GetImageByID", were not even *in* the SDK. It's been a while > since I've looked at it, but I believe Alex Tweedly has been working on > this issue in getting a more complete SDK with all of the functions. Nope - can't blame Alex for that one. "GetImageByID" was a result of a combination of wishful thinking and cut-and-paste. No such animal. What I really meant was "ShowImageByID", which *is* an actual function. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Aug 21 13:46:39 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 21 Aug 2005 10:46:39 -0700 Subject: strange message watcher window In-Reply-To: <43086AF5.3060409@sover.net> References: <43086AF5.3060409@sover.net> Message-ID: <1606007288.20050821104639@ahsoftware.net> Jon- Sunday, August 21, 2005, 4:52:21 AM, you wrote: > button. Am I being too picky, or misunderstanding the UI? Neither, I think. It's weird. Very weird. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Aug 21 13:47:24 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 21 Aug 2005 10:47:24 -0700 Subject: strange message watcher window In-Reply-To: <003c01c5a64a$a81275e0$0200000a@super> References: <43086AF5.3060409@sover.net> <003c01c5a64a$a81275e0$0200000a@super> Message-ID: <616052212.20050821104724@ahsoftware.net> Pat- Sunday, August 21, 2005, 5:19:50 AM, you wrote: > You can also lose buttons on the script error window if it isn't wide > enough - fooled me at first. Still fools me now and then. -- -Mark Wieder mwieder at ahsoftware.net From soapdog at mac.com Sun Aug 21 13:53:09 2005 From: soapdog at mac.com (Andre Garzia) Date: Sun, 21 Aug 2005 14:53:09 -0300 Subject: ANN: Some routines for Spotlight Message-ID: Folks, Since I started using MacOS X Tiger, I became very fond of Spotlight since it reminds me of BFS. Spotlight has support for very advanced queries using nested boolean logic and cool metadata filters but those features are not exposed in the normal spotlight ui. To access those functions you need to code your query using Objective-C or use command line tools. By the use of shell() command we can harvest most of the spotlight power by calling commandline tools, the spotlight command line tools start with md (from metadata). More can be learned from the Ars Technica Tiger review at: http:// arstechnica.com/reviews/os/macosx-10.4.ars/9 So, I took some time to create some functions that we can use to harvest those powers and they are below: function mdfind pQuery -- This one find matching files based on a given query. return shell("mdfind" && pQuery) end mdfind function mdls pQuery -- Returns a chunk with all Metadata info for a given file. return shell("mdls" && pQuery) end mdls function MetadataToArray pQuery -- Takes the metadata chunk and turns it into an Array. -- This is easier to access than the chunk. -- There are some extra steps to erase extra spaces. local tTempA, tReturnValA put mdls(pQuery) into tTempA split tTempA by cr and "=" repeat for each line tKey in the keys of tTempA get offset(" ", tKey) get char 1 to (it - 1) of tKey put tTempA[tKey] into tReturnValA[it] end repeat return tReturnValA end MetadataToArray function mdimport pFile -- forces reindexing on a given file, use it after you change its metadata. -- we all know that the kernel hooks should make this useless but... return shell("mdimport" && pFile) end mdimport Have fun friends andre From FlexibleLearning at aol.com Sun Aug 21 13:54:52 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sun, 21 Aug 2005 13:54:52 EDT Subject: [ANN] Animated gif for OSX progress Message-ID: <19a.3a61163d.303a19ec@aol.com> You are most welcome, Joel. And Howard, you are not actually stopping the animation which continues in the background. As in the original posting and repeated when uploaded to ssBk Online, set the repeatCount of the image ID to -1 to start the animation and 0 to stop it. /H On 8/21/05, Joel Guillod wrote: > Thanks for the nice 16x16 24-frame animated gif ! > > I wonder to know if there is a way in Revolution that animated gif > are going to be automatically animated during the execution of a > script. When I tested it, the animation ran automatically whenever the gif was showing. So to use the "busy" indicator, I just set a transparent button to the icon of the gif to show it and set the icon to 0 to stop it. From mwieder at ahsoftware.net Sun Aug 21 13:57:42 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 21 Aug 2005 10:57:42 -0700 Subject: The television will be Revolutionised! - first coding sprint In-Reply-To: <51BC3D18-9877-49D2-9ED4-A860743DFDC0@mac.com> References: <43086AF5.3060409@sover.net> <003c01c5a64a$a81275e0$0200000a@super> <51BC3D18-9877-49D2-9ED4-A860743DFDC0@mac.com> Message-ID: <1036669920.20050821105742@ahsoftware.net> Andre- Sunday, August 21, 2005, 9:48:17 AM, you wrote: > PS: Ken Ray XML Library makes a good job parsing RSS Feeds, beware of > spec war, there are at least 3 RSS specs out there in the wild, also Five, if you don't count 0.93 or the Metalog API... in chronological order (although all are in current use and there's quite a bit of overlap and/or incompatibility): 0.90 0.91 1.0 0.92 <0.93> 2.0 -- -Mark Wieder mwieder at ahsoftware.net From soapdog at mac.com Sun Aug 21 13:57:37 2005 From: soapdog at mac.com (Andre Garzia) Date: Sun, 21 Aug 2005 14:57:37 -0300 Subject: The television will be Revolutionised! - first coding sprint In-Reply-To: <1036669920.20050821105742@ahsoftware.net> References: <43086AF5.3060409@sover.net> <003c01c5a64a$a81275e0$0200000a@super> <51BC3D18-9877-49D2-9ED4-A860743DFDC0@mac.com> <1036669920.20050821105742@ahsoftware.net> Message-ID: On Aug 21, 2005, at 2:57 PM, Mark Wieder wrote: > Andre- > > Sunday, August 21, 2005, 9:48:17 AM, you wrote: > > >> PS: Ken Ray XML Library makes a good job parsing RSS Feeds, beware of >> spec war, there are at least 3 RSS specs out there in the wild, also >> > > Five, if you don't count 0.93 or the Metalog API... in chronological > order (although all are in current use and there's quite a bit of > overlap and/or incompatibility): > > 0.90 > 0.91 > 1.0 > 0.92 > <0.93> > > 2.0 > don't know who said it but "the cool thing about standards is that there are many to choose from" Cheers andre > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From tg.lists at geistinteractive.com Sun Aug 21 13:58:06 2005 From: tg.lists at geistinteractive.com (Todd Geist) Date: Sun, 21 Aug 2005 10:58:06 -0700 Subject: Rich Interface Examples For FileMaker Folks Message-ID: Hello Everyone, I am going to be demonstrating Rev to a bunch of FileMaker Pro developers at the FileMaker Developer's Conference and I am looking for some example stacks that would get them fired up. I want to show them something that they can't easily do in FM and really plays to Rev's strengths. So I was thinking of a very rich UI that displayed some data from an ODBC backend in an interesting way. Something like a clickable chart (Pie, Bar, or Gantt) or a weekly calendar. I have a few things I am working on, but I was wondering if anybody had anything that they would be willing to share with me. It can be fairly simple, a clickable Bar chart would do it probably. But the cooler the ui the better. Are there any pie chart examples out there? Or Gant charts? Of course I would be happy to give credit where credit is due. There will be about 1200 attendees at the conference, I don't know how many will show up for my session, but the rooms hold about 2 to 3 hundred people. Any idea's?????? Thanks so much Todd -- Todd Geist ______________________________________ G e i s t i n t e r a c t i v e From revdan at danshafer.com Sun Aug 21 14:49:37 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 21 Aug 2005 11:49:37 -0700 Subject: Rich Interface Examples For FileMaker Folks In-Reply-To: References: Message-ID: <48C6382C-8C1C-4713-A4ED-2BA0879C1473@danshafer.com> Todd.... What's the timing? I've got an old project that does something fairly cool: it places house icons on a map to reflect data in a database showing new housing starts and then lets the user drill down to the stats. I haven't tried to convert it to Rev but I've been tempted. If there's enough time that might get me going on it. On Aug 21, 2005, at 10:58 AM, Todd Geist wrote: > Hello Everyone, > > I am going to be demonstrating Rev to a bunch of FileMaker Pro > developers at > the FileMaker Developer's Conference and I am looking for some example > stacks that would get them fired up. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From yvescoppe at skynet.be Sun Aug 21 14:58:39 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun, 21 Aug 2005 20:58:39 +0200 Subject: ANN: Some routines for Spotlight In-Reply-To: References: Message-ID: Le 21-ao?t-05 ? 19:53, Andre Garzia a ?crit : > Folks, > > Since I started using MacOS X Tiger, I became very fond of > Spotlight since it reminds me of BFS. > > Spotlight has support for very advanced queries using nested > boolean logic and cool metadata filters but those features are not > exposed in the normal spotlight ui. To access those functions you > need to code your query using Objective-C or use command line tools. > > By the use of shell() command we can harvest most of the spotlight > power by calling commandline tools, the spotlight command line > tools start with md (from metadata). Hi Andre, I have a little problem with your function. In Mac OS X French you have accent, umlaut, cedilla,... so my script : put mdfind(tSearch) into tmp gives unreadable result so I've tried : put urldecode(tmp) into tmp put isotomac(tmp) into tmp but it stays unreadable when you ask for the detailed fiiles and urldecode the result, then are the lines readable. How can I perform that ? Thank you Greetings. Yves COPPE yvescoppe at skynet.be From soapdog at mac.com Sun Aug 21 15:20:52 2005 From: soapdog at mac.com (Andre Garzia) Date: Sun, 21 Aug 2005 16:20:52 -0300 Subject: ANN: Some routines for Spotlight In-Reply-To: References: Message-ID: <0F1B88DF-A72D-4D50-869A-48162CFDD4A5@mac.com> Yves, I am trying here with accents and special chars... it appears that mdfind returns a mixed string. Like I have this file called ?edilha (which is wrong portuguese, but serves right for our experiments). mdfind will return a string using with the ? encoded in what I think is more than two bytes and the rest of the filename in good plain text. So using uniDecode to reduce from twobytes representation will screw the rest of the filename, using uniEncode to put the rest of the string up to two bytes will also not work for it will re-encode the special chars... I am a little lost too, need more expert help. Andre On Aug 21, 2005, at 3:58 PM, Yves COPPE wrote: > > Le 21-ao?t-05 ? 19:53, Andre Garzia a ?crit : > > >> Folks, >> >> Since I started using MacOS X Tiger, I became very fond of >> Spotlight since it reminds me of BFS. >> >> Spotlight has support for very advanced queries using nested >> boolean logic and cool metadata filters but those features are not >> exposed in the normal spotlight ui. To access those functions you >> need to code your query using Objective-C or use command line tools. >> >> By the use of shell() command we can harvest most of the spotlight >> power by calling commandline tools, the spotlight command line >> tools start with md (from metadata). >> > > > Hi Andre, > > > I have a little problem with your function. > > In Mac OS X French you have accent, umlaut, cedilla,... > > so my script : > > put mdfind(tSearch) into tmp > gives unreadable result > > so I've tried : > > put urldecode(tmp) into tmp > > put isotomac(tmp) into tmp > > > but it stays unreadable > > > when you ask for the detailed fiiles and urldecode the result, then > are the lines readable. > > > How can I perform that ? > > Thank you > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From yvescoppe at skynet.be Sun Aug 21 15:28:47 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun, 21 Aug 2005 21:28:47 +0200 Subject: ANN: Some routines for Spotlight In-Reply-To: <0F1B88DF-A72D-4D50-869A-48162CFDD4A5@mac.com> References: <0F1B88DF-A72D-4D50-869A-48162CFDD4A5@mac.com> Message-ID: Le 21-ao?t-05 ? 21:20, Andre Garzia a ?crit : > Yves, > > I am trying here with accents and special chars... it appears that > mdfind returns a mixed string. Like I have this file called > ?edilha (which is wrong portuguese, but serves right for our > experiments). mdfind will return a string using with the ? encoded > in what I think is more than two bytes and the rest of the filename > in good plain text. So using uniDecode to reduce from twobytes > representation will screw the rest of the filename, using uniEncode > to put the rest of the string up to two bytes will also not work > for it will re-encode the special chars... > > I am a little lost too, need more expert help. > > Andre > Hi Andre, I'm happy to see that the problem does exist, non only on my computer. So I'm sure someone on the list will find the correction. Greetings. Yves COPPE yvescoppe at skynet.be From ambassador at fourthworld.com Sun Aug 21 15:27:02 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 21 Aug 2005 12:27:02 -0700 Subject: ISAM In-Reply-To: <000f01c5a5eb$0fa709b0$0201010a@proherps56yaxv> References: <000f01c5a5eb$0fa709b0$0201010a@proherps56yaxv> Message-ID: <4308D586.10005@fourthworld.com> Scott Kane wrote: >> If your product is on the net anyway... Create as many MySQL >>databases you need from a full service web host such as Dreamhost for >>$10/month. No maintenance, no fees, dead simple management. > > > Thanks for the reply, but it's a desktop application. > I need an ISAM methodology to pull it off cleanly. Man - > wish I could acees just dBase or Pardox. I believe both of them offer an ODBM interface, as does Rev. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From pixelbird at interisland.net Sun Aug 21 15:27:59 2005 From: pixelbird at interisland.net (Ken Norris) Date: Sun, 21 Aug 2005 12:27:59 -0700 Subject: The television will be Revolutionised! - first coding sprint In-Reply-To: <20050821170004.5BA7F824F66@mail.runrev.com> References: <20050821170004.5BA7F824F66@mail.runrev.com> Message-ID: <2c6131993d6172e4642cc9fa5a8d623f@interisland.net> Hi David, > Date: Sun, 21 Aug 2005 16:40:08 +0200 > From: david bovill > Subject: The television will be Revolutionised! - first coding sprint > It will be hopefully the first of several similar sprints taking > place over the next 3 months Looks fascinating, but I've never heard of the word 'sprint' used this way. Exactly what does it mean as you are using it? TIA, Ken N. From soapdog at mac.com Sun Aug 21 15:33:46 2005 From: soapdog at mac.com (Andre Garzia) Date: Sun, 21 Aug 2005 16:33:46 -0300 Subject: The television will be Revolutionised! - first coding sprint In-Reply-To: <2c6131993d6172e4642cc9fa5a8d623f@interisland.net> References: <20050821170004.5BA7F824F66@mail.runrev.com> <2c6131993d6172e4642cc9fa5a8d623f@interisland.net> Message-ID: <92529711-BDA3-40F8-BED4-DE27AD355B9A@mac.com> On Aug 21, 2005, at 4:27 PM, Ken Norris wrote: > Hi David, > > >> Date: Sun, 21 Aug 2005 16:40:08 +0200 >> From: david bovill >> Subject: The television will be Revolutionised! - first coding sprint >> > > >> It will be hopefully the first of several similar sprints taking >> place over the next 3 months >> > > Looks fascinating, but I've never heard of the word 'sprint' used > this way. Exactly what does it mean as you are using it? > Well here in Brazil we use the word sprint to mean "desesperatly running in one direction." like I regard that there are two ways of running, you can run to someplace or you can run from some thing. So some weeks ago, when some very creative brazilian almost hammed me over with his pickup truck and after me cursing him by being a bad driver, he stopped his car and went out carrying a very big pistol, I entered sprint mode or "run for your life mode" and manage to run more than a km in less than two minutes... That's how I classify sprints. Code sprints are similar in the analogy that you code as if your life depended on that... :P Andre > TIA, > Ken N. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From howard.bornstein at gmail.com Sun Aug 21 16:38:38 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Sun, 21 Aug 2005 16:38:38 -0400 Subject: [ANN] Animated gif for OSX progress In-Reply-To: <200508211759.j7LHxN1g017717@ms-smtp-01.rdc-nyc.rr.com> References: <200508211759.j7LHxN1g017717@ms-smtp-01.rdc-nyc.rr.com> Message-ID: <3f07cc2605082113386c5ca624@mail.gmail.com> On 8/21/05, FlexibleLearning at aol.com wrote: > > And Howard, you are not actually stopping the animation which continues in > the background. As in the original posting and repeated when uploaded to ssBk > Online, set the repeatCount of the image ID to -1 to start the animation and > 0 to stop it. > Right. I realize that. How much of a performance hit do you think we take for keeping that little animation running all the time? -- Regards, Howard Bornstein ----------------------- www.designeq.com From hershrev at realtorsgroup.us Sun Aug 21 16:44:48 2005 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Sun, 21 Aug 2005 16:44:48 -0400 Subject: Rich Interface Examples For FileMaker Folks In-Reply-To: <48C6382C-8C1C-4713-A4ED-2BA0879C1473@danshafer.com> Message-ID: On 8/21/05 2:49 PM, "Dan Shafer" wrote: Just whatch out that they shouldn't show you things that Rev can't do,memorizing printing settings. > Todd.... > > What's the timing? I've got an old project that does something fairly > cool: it places house icons on a map to reflect data in a database > showing new housing starts and then lets the user drill down to the > stats. I haven't tried to convert it to Rev but I've been tempted. If > there's enough time that might get me going on it. > > > On Aug 21, 2005, at 10:58 AM, Todd Geist wrote: > >> Hello Everyone, >> >> I am going to be demonstrating Rev to a bunch of FileMaker Pro >> developers at >> the FileMaker Developer's Conference and I am looking for some example >> stacks that would get them fired up. >> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revdan at danshafer.com Sun Aug 21 17:28:48 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 21 Aug 2005 14:28:48 -0700 Subject: Blowing in the Wind In-Reply-To: References: Message-ID: <2E16FC1B-336E-4384-8695-464D9F8B22AA@danshafer.com> And now they are to be one company. I shudder. I'm thinking of abandoning Mac and Windows and becoming a Linspire guy who doesn't depend at all on software megaliths like these clowns (Adobe), who have from the beginning played like bullies on the playground. On Aug 21, 2005, at 9:49 AM, Scott Rossi wrote: > (Due to the past hostility between the two companies, we used to > joke that > Adobe and Macromedia had CPD's -- Competitive Product Detectors -- > written > into their software that would cause the system to slow down if they > detected any of their competitor's products running simultaneously.) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From thierry.arbellot at wanadoo.fr Sun Aug 21 17:29:52 2005 From: thierry.arbellot at wanadoo.fr (Thierry Arbellot) Date: Sun, 21 Aug 2005 23:29:52 +0200 Subject: ANN: Some routines for Spotlight In-Reply-To: References: <0F1B88DF-A72D-4D50-869A-48162CFDD4A5@mac.com> Message-ID: <6d0c149b4edf7a970e9a82451d7347ff@wanadoo.fr> Yves, Andre, I don't have Tiger to test mdfind, but if I understand well the problem, OS X filenames are UTF8 encoded. The following function will convert from UTF8 to ANSI, just replace "thefilename" with the actual string to decode. put unidecode(uniencode(thefilename,"utf8"),"ansi") I hope this helps, Thierry On 2005, Aug 21, , at 21:28, Yves COPPE wrote: > > Le 21-ao?t-05 ? 21:20, Andre Garzia a ?crit : > >> Yves, >> >> I am trying here with accents and special chars... it appears that >> mdfind returns a mixed string. Like I have this file called ?edilha >> (which is wrong portuguese, but serves right for our experiments). >> mdfind will return a string using with the ? encoded in what I think >> is more than two bytes and the rest of the filename in good plain >> text. So using uniDecode to reduce from twobytes representation will >> screw the rest of the filename, using uniEncode to put the rest of >> the string up to two bytes will also not work for it will re-encode >> the special chars... >> >> I am a little lost too, need more expert help. >> >> Andre >> > > > Hi Andre, > > I'm happy to see that the problem does exist, non only on my computer. > > So I'm sure someone on the list will find the correction. > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From FlexibleLearning at aol.com Sun Aug 21 18:00:33 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sun, 21 Aug 2005 18:00:33 EDT Subject: [ANN] Animated gif for OSX progress Message-ID: <1db.42265644.303a5381@aol.com> >> And Howard, you are not actually stopping the animation which continues in >> the background. As in the original posting and repeated when uploaded to ssBk >> Online, set the repeatCount of the image ID to -1 to start the animation and >> 0 to stop it. > Right. I realize that. How much of a performance hit do you think we > take for keeping that little animation running all the time? Probably not a great deal, Howard, but for the sake of a simple line probably a tidier solution. /H From alex at tweedly.net Sun Aug 21 18:01:15 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 21 Aug 2005 23:01:15 +0100 Subject: The television will be Revolutionised! - first coding sprint In-Reply-To: <2c6131993d6172e4642cc9fa5a8d623f@interisland.net> References: <20050821170004.5BA7F824F66@mail.runrev.com> <2c6131993d6172e4642cc9fa5a8d623f@interisland.net> Message-ID: <4308F9AB.9050802@tweedly.net> Ken Norris wrote: > >> Subject: The television will be Revolutionised! - first coding sprint > > >> It will be hopefully the first of several similar sprints taking >> place over the next 3 months > > > Looks fascinating, but I've never heard of the word 'sprint' used this > way. Exactly what does it mean as you are using it? "sprint" in this sense is fairly common usage in the Open Source software area. Which means, of course, that each group is free to define exactly what *they* mean, and so each usage of it is slightly different. Best on-line definition I found was http://en.wikipedia.org/wiki/Plone_Sprints There's a little bit of discussion about how it works (or worked for one group) at http://www.lonelylion.com/pipermail/chipy/2004-September/000377.html -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.13/78 - Release Date: 19/08/2005 From jbondy at sover.net Sun Aug 21 18:07:14 2005 From: jbondy at sover.net (Jon) Date: Sun, 21 Aug 2005 18:07:14 -0400 Subject: strange message watcher window In-Reply-To: <003c01c5a64a$a81275e0$0200000a@super> References: <43086AF5.3060409@sover.net> <003c01c5a64a$a81275e0$0200000a@super> Message-ID: <4308FB12.7090907@sover.net> Oh. I gave up on the script error window. It is NEVER the right size. Sigh Jon Pat Trendler wrote: > Jon, > Just resize the width (drag) of the window. I think from memory it > stays put once you've done that. > Not sure if this still happens in the latest build (108). > > You can also lose buttons on the script error window if it isn't wide > enough - fooled me at first. > > Pat > patrend at bigpond.com > > > ----- Original Message ----- From: "Jon" > To: "Revolution List" > Sent: Sunday, August 21, 2005 9:52 PM > Subject: strange message watcher window > > >> I'd not used the Message Watcher until this morning. I was a bit >> surprised to see the Clear button on top of what seemed to be a data >> entry field, and the data entry field lying on top of the Suppress >> button. Am I being too picky, or misunderstanding the UI? >> >> www.jonbondy.com/rev.jpg >> >> :) >> >> Jon >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG Anti-Virus. >> Version: 7.0.338 / Virus Database: 267.10.13/78 - Release Date: >> 19/08/2005 >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From pixelbird at interisland.net Sun Aug 21 18:20:02 2005 From: pixelbird at interisland.net (Ken Norris) Date: Sun, 21 Aug 2005 15:20:02 -0700 Subject: The television will be Revolutionised! - first coding In-Reply-To: <20050821211503.1AAFC82505B@mail.runrev.com> References: <20050821211503.1AAFC82505B@mail.runrev.com> Message-ID: <877e376c16220d4e61cedd0b3ca3629c@interisland.net> Hi Andre, > Date: Sun, 21 Aug 2005 16:33:46 -0300 > From: Andre Garzia > Subject: Re: The television will be Revolutionised! - first coding > sprint > Well here in Brazil we use the word sprint to mean "desesperatly > running in one direction." Heh -- well, Here in the US it could be a dash, i.e., a short race, or it could be a verb, e.g., the act (like you say) of running as fast as you can for a short distance, or it could be a well known long distance carrier: < http://www.sprint.com/> > Code sprints are similar in the analogy that you code as if your life > depended on that... Well, if it had to do with emergency services, maybe. But is that what it really means? I've looked at some sites, and it looks like it's some kind of meeting, or contest (I see scoring at some) where people go and see how fast they can write programs, e.g., extreme programming (whatever_that_ means). Or is it just brainstorming ideas? Still not sure what it is.....but it doesn't look like something I'd be interested in. I'm waaay too lazy, like to spend lotsa time working on ideas, but as little effort as possible to make them work ;-) All the best, Ken N. From tg.lists at geistinteractive.com Sun Aug 21 18:59:50 2005 From: tg.lists at geistinteractive.com (Todd Geist) Date: Sun, 21 Aug 2005 15:59:50 -0700 Subject: Rich Interface Examples For FileMaker Folks In-Reply-To: <48C6382C-8C1C-4713-A4ED-2BA0879C1473@danshafer.com> Message-ID: Dan, Thanks! That sounds awesome! But Probably not enough time. My presentation is a week from tomorrow. Nothing like waiting for the last minute to get the juices flowing. :>) But hey if you have the time, I would love to see it! Thanks again! Todd On 8/21/05 11:49 AM, "Dan Shafer" wrote: > Todd.... > > What's the timing? I've got an old project that does something fairly > cool: it places house icons on a map to reflect data in a database > showing new housing starts and then lets the user drill down to the > stats. I haven't tried to convert it to Rev but I've been tempted. If > there's enough time that might get me going on it. -- Todd Geist ______________________________________ G e i s t i n t e r a c t i v e From JimAultWins at yahoo.com Sun Aug 21 19:52:45 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 21 Aug 2005 16:52:45 -0700 Subject: time anomaly In-Reply-To: <1081701035.20050820093432@ahsoftware.net> Message-ID: You should test this first. My test have a slightly different 'result' > So I could say "that appointment is at 2PM", convert it to a date and > time, and have it come up with "today at 2PM". Or 54 would be "the > time right now with the seconds equal to 54". 54 is the seconds, but not (time right now), just the (right HOUR now). Not sure how useful that is. put 54 into tTime convert tTime to long time put tTime --> 16:00:54 until the next hour starts Jim Ault Las Vegas On 8/20/05 9:34 AM, "Mark Wieder" wrote: > Jeanne- > > Friday, August 19, 2005, 7:28:40 PM, you wrote: > >> Actually, it's not indeterminate. When you provide a number or other >> partial date or time, convert guesses what part you mean and fills in >> the rest with the current time. (For example, if you convert a time >> to long data and long time, you get today's date along with the time >> you specified.) This probably should be in the convert docs as a note. > > Cool. > I think. > So I could say "that appointment is at 2PM", convert it to a date and > time, and have it come up with "today at 2PM". Or 54 would be "the > time right now with the seconds equal to 54". From scott at proherp.com Sun Aug 21 20:38:31 2005 From: scott at proherp.com (Scott Kane) Date: Mon, 22 Aug 2005 10:38:31 +1000 Subject: ISAM In-Reply-To: <4308D586.10005@fourthworld.com> Message-ID: <000101c5a6b1$d813ddd0$0201010a@proherps56yaxv> Hi Sichard, > I believe both of them offer an ODBM interface, as does Rev. Any idea where I can find them for Windows and Mac? I've been looking evrywhere for them.... ODBC drivers in OSX require a Microsoft product to be installed (on Windows they are installed by default). Any ideas appreciated Scott From chipp at chipp.com Sun Aug 21 20:54:23 2005 From: chipp at chipp.com (Chipp Walters) Date: Sun, 21 Aug 2005 19:54:23 -0500 Subject: Rich Interface Examples For FileMaker Folks In-Reply-To: References: Message-ID: <4309223F.6010505@chipp.com> Hi Todd, You are welcome to show any of the following: MagicCarpet ButtonGaget HemPC (uses a SQLserver database for Content Management) You can find them at www.altuit.com contact me offlist if you need any help. best, Chipp From irog at mac.com Sun Aug 21 21:52:26 2005 From: irog at mac.com (Roger Guay) Date: Sun, 21 Aug 2005 18:52:26 -0700 Subject: General Intersect Message-ID: <2C58F51D-7BAA-46D4-99BE-57F4EB9319C5@mac.com> Greetings, I would like to find a simple way to determine if a button "target" intersects with any other button on the card. Is there a way to script: if intersect(button "target", any other button) then do something I appreciate your help. Cheers, Roger From tjframe at gmail.com Sun Aug 21 22:08:03 2005 From: tjframe at gmail.com (TJ Frame) Date: Sun, 21 Aug 2005 19:08:03 -0700 Subject: General Intersect In-Reply-To: <2C58F51D-7BAA-46D4-99BE-57F4EB9319C5@mac.com> References: <2C58F51D-7BAA-46D4-99BE-57F4EB9319C5@mac.com> Message-ID: <7348a9e805082119082cbade5@mail.gmail.com> You can use the "intersect" function built into the language. - TJ On 8/21/05, Roger Guay wrote: > > Greetings, > > I would like to find a simple way to determine if a button "target" > intersects with any other button on the card. Is there a way to script: > > > if intersect(button "target", any other > button) then do something > > > > I appreciate your help. > > Cheers, Roger > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From tjframe at gmail.com Sun Aug 21 22:10:24 2005 From: tjframe at gmail.com (TJ Frame) Date: Sun, 21 Aug 2005 19:10:24 -0700 Subject: General Intersect In-Reply-To: <7348a9e805082119082cbade5@mail.gmail.com> References: <2C58F51D-7BAA-46D4-99BE-57F4EB9319C5@mac.com> <7348a9e805082119082cbade5@mail.gmail.com> Message-ID: <7348a9e8050821191073373b4c@mail.gmail.com> PS: that works to check specific objects, if you want to test for a series of objects, such as all buttons, use a repeat loop and cycle through your list of potential targets for a hit. On 8/21/05, TJ Frame wrote: > > You can use the "intersect" function built into the language. > - TJ > > On 8/21/05, Roger Guay wrote: > > > > Greetings, > > > > I would like to find a simple way to determine if a button "target" > > intersects with any other button on the card. Is there a way to script: > > > > > > if intersect(button "target", any other > > button) then do something > > > > > > > > I appreciate your help. > > > > Cheers, Roger > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From kray at sonsothunder.com Sun Aug 21 22:44:59 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 21 Aug 2005 21:44:59 -0500 Subject: [ANN] ReplaceText Bug and STS XML Library Message-ID: -- IF YOU DON'T USE THE SONS OF THUNDER XML LIBRARY -- YOU CAN IGNORE THIS POST ---------------------------------------- Hey everyone... I'm sorry to "shotgun" this email, but I know that there are dozens of you who have downloaded the Basic version of my XML Library, and many who have purchased the Standard version, so this is the fastest way to communicate with you all. I have recently logged a bug in Bugzilla (#3074) related to Rev 2.6 (I'm running Build 108) that has a replacetext problem that causes issues with the XML Library (since that's what it's based on). The 'xml_normalize' function in the library strips spaces from a string (leading and trailing spaces) as well as converting space runs to a single space. The command: put replaceText("This is a test"," *"," ") in 2.5.1 would return "This is a test". But in 2.6 Build 108, it returns " " (3 spaces). Apparently it is successful in converting the space runs to a single space, but at the same time deletes all non-space characters from the string. This totally screws up the XML Library since this function is called not only when you pass parameters that say you want the information normalized (which you can get around by passing "false" for the normalize param), but it is *also* called automatically by xml_storeAttribute and xml_getAttributes - which are called in turn by other XML handlers, including the *main parsing routine*. So unfortunately, you can't use the XML Library with confidence in Rev 2.6 (2.5.1 is fine) until this is fixed. Note that this does NOT affect the revXML DLL, so you may wish to switch to the revXML DLL in the meantime. The reason I'm posting this is because I'm concerned that those of you using the XML Library may be dealing with what you think are bugs in your own program, but which are actually a result of this replaceText bug. I'll keep you all posted when things change, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From scott at proherp.com Sun Aug 21 23:08:32 2005 From: scott at proherp.com (Scott Kane) Date: Mon, 22 Aug 2005 13:08:32 +1000 Subject: ISAM In-Reply-To: <000101c5a6b1$d813ddd0$0201010a@proherps56yaxv> Message-ID: <000001c5a6c6$cd104c60$0201010a@proherps56yaxv> > Hi Sichard, Sorry - I meant Richard, not Sichard. :-( Scott From ambassador at fourthworld.com Sun Aug 21 23:20:56 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 21 Aug 2005 20:20:56 -0700 Subject: ISAM In-Reply-To: <000001c5a6c6$cd104c60$0201010a@proherps56yaxv> References: <000001c5a6c6$cd104c60$0201010a@proherps56yaxv> Message-ID: <43094498.7040603@fourthworld.com> Scott Kane wrote: >>Hi Sichard, > > > Sorry - I meant Richard, not Sichard. :-( That's okay, I meant OBDC and not OBDM. :) > Any idea where I can find them for Windows and Mac? > I've been looking evrywhere for them.... ODBC > drivers in OSX require a Microsoft product to be > installed (on Windows they are installed by default). Unfortunately I don't know where to find such things. I spend a fair part of my life sucessfully avoiding database work, and would hate to break that record now. :) Hopefully someone here who's worked with ODBC will be able to help out.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From capellan2000 at yahoo.com Mon Aug 22 00:38:42 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sun, 21 Aug 2005 21:38:42 -0700 (PDT) Subject: Blowing in the Wind Message-ID: <20050822043842.86990.qmail@web40510.mail.yahoo.com> On Sat, 20 Aug 2005, Geoff Canyon wrote: > As people have said, Flash can't have shaped windows > in the first place, so this animation is out of > consideration. Look at this option to have custom shape windows in flash: mProjector. Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail From scott at proherp.com Mon Aug 22 02:01:59 2005 From: scott at proherp.com (Scott Kane) Date: Mon, 22 Aug 2005 16:01:59 +1000 Subject: ISAM In-Reply-To: <1111106410.20050821092458@ahsoftware.net> Message-ID: <000a01c5a6df$07a74e10$0201010a@proherps56yaxv> > Have you tried ODBC access to dBase files? There are some > weirdnesses with the Paradox driver depending on which > version you're using, but ODBC should work to get to dBase files. Yep. I can do it in Windows (XP comes with ODBC configured by default) - but I can't find anything for OSX or even *nix for that matter. Scott From jsng at wayoflife.org Mon Aug 22 03:49:42 2005 From: jsng at wayoflife.org (Jesse Sng) Date: Mon, 22 Aug 2005 15:49:42 +0800 Subject: ISAM In-Reply-To: <43094498.7040603@fourthworld.com> References: <000001c5a6c6$cd104c60$0201010a@proherps56yaxv> <43094498.7040603@fourthworld.com> Message-ID: >Unfortunately I don't know where to find such things. I spend a >fair part of my life sucessfully avoiding database work, and would >hate to break that record now. :) > >Hopefully someone here who's worked with ODBC will be able to help out.... Man after my own heart.... Jesse From joel.guillod at net2000.ch Mon Aug 22 04:25:24 2005 From: joel.guillod at net2000.ch (Joel Guillod) Date: Mon, 22 Aug 2005 10:25:24 +0200 Subject: use-revolution Digest, Vol 23, Issue 74 In-Reply-To: <20050821170004.98637824F81@mail.runrev.com> References: <20050821170004.98637824F81@mail.runrev.com> Message-ID: <9902A263-2FED-41F5-B0A2-3553F6D4B890@net2000.ch> Mark, I have no idea if you are hired by Runrev to write the API and documentation for the external. So the following should possibly be applied to Runrev. But before filling a blocking bug, let me kindly go on your reply. We stayed tuned since a long while but now I actually need a proper documentation for the SDK and probably that RunRev published all the API. I have hired an engineer for writing specific C externals we use in medical image processing (malignant melanoma screening). Can we make professionnal business with Revolution or should we consider it not for serious? Can you tell us how long we have to wait for clean API externals and documentation? Of course you understand that I cannot pay workers to wait. Because I have been a first days Hypercard/ Supercard/CompileIt! user, I was confident that our development could succeed on Revolution. Now in our development stage we urgently need to integrate our C code in the externals for MacOSX/Windows and Linux in a second step. This month not in October! You could reply that I had to test the external SDK before but this is a marketing issue from Runrev that I have trusted based on their annonced features of Revolution. Also it would be completely unfair (possibly a legal offence) that only restricted or selected developers can make professional business by coding externals properly. The very experienced engineer I hired has just droped me this note about the external SDK: ?Considering what they give, it is clear that they do not want that people make externs...?. Yes we have been able to build something but we want to do it professionally and safely. I dont want to have my application regularly crashed the way I experiment it with externals I have paid for recently (this is another debate, ok)... Well, I am still entrusting that a robust and documented solution will be published soon. All the Revolution community will benefit from that and this will enable Runrev to grow in consideration of professional developers, simply considering the many external plugins available for other competitors IDE and their success. Today let us know the delay, please! Sincerely, Joel Guillod > Date: Sun, 21 Aug 2005 09:27:31 -0700 > From: Mark Wieder > > Joel- > > Sunday, August 21, 2005, 12:19:31 AM, you wrote: > > >> feedback, did I miss something? Is there an other complete >> documentation for externals? >> > > Stay tuned. > > -- > -Mark Wieder > mwieder at ahsoftware.net From joel.guillod at net2000.ch Mon Aug 22 04:49:30 2005 From: joel.guillod at net2000.ch (Joel Guillod) Date: Mon, 22 Aug 2005 10:49:30 +0200 Subject: [ANN] Animated gif for OSX progress In-Reply-To: <20050821211503.730F9825065@mail.runrev.com> References: <20050821211503.730F9825065@mail.runrev.com> Message-ID: <6EE48D93-E3BA-4B46-A604-B6F6C4A44DF4@net2000.ch> > You are most welcome, Joel. > > And Howard, you are not actually stopping the animation which > continues in > the background. As in the original posting and repeated when > uploaded to ssBk > Online, set the repeatCount of the image ID to -1 to start the > animation and > 0 to stop it. On what platform do you run? I still dont see the animation during script execution. Try this on MacOSX 10.4.2: 1.- Put this handler in the script of a card displaying your animation image: on doTheLongProcess pCount repeat with i=1 to pCount put i end repeat end doTheLongProcess 2.- Ensure that the image is animated, i.e. type in the msg box: "set the repeatCount of the image X to -1" 3.- Type the following in the msg box "doTheLongProcess 4000" 4.- Here you notice that the msg box displays an increasing value but the image is not animated. Now, do you catch my former question? Or does your own computer display the animation, mine does not... So to allow for the animation to be displayed during the execution of script, I do the following: 1.- Change the above script to: on doTheLongProcess pCount repeat with i=1 to pCount put i animateImg -- this is the fix to allow for the animation to display. end repeat end doTheLongProcess local llast_animate = 0 on animateImg i -- dont do the wait for each iteration of the calling handler since this will slow down the execution: if millisecs()-llast_animate>100 then wait 0 millisecs put millisecs() into llast_animate end if end animateImg 2.- Note that calling "wait" allows for the screen to display. 3.- Dont use a "lockscreen" or "set lockscreen to true" in your script because this will prevent the redisplay, of course. That's my proposal. I build a test stack named "Display animation process" which you find under username "imed". It will show you time wasting depending of the settings (animate or not, screen locked or not). JG From revolution at derbrill.de Mon Aug 22 07:10:30 2005 From: revolution at derbrill.de (Malte Brill) Date: Mon, 22 Aug 2005 13:10:30 +0200 Subject: General Intersect In-Reply-To: <20050821211503.730F9825065@mail.runrev.com> Message-ID: <59E5353C-12FD-11DA-B7BE-0030659A795C@derbrill.de> Hi Roger, as saied before you would do this with a repeat structure. eg: repeat with i=1 to the number of buttons if the short name of btn i="targetButton" then next repeat if intersect(btn "targetButton", btn i) then --do stuff end if end repeat However, if it is a time critical script and you have many buttons to check, I suggest that you store the ID of all buttons you need to check in a custom property and use repeat for each from there: Assuming you have stored the IDs in a customProperty called allButtonsToCheck, each ID on a seperate line: repeat for each line theButtonToCheck in the allButtonsToCheck of this card if theButtonToCheck=the ID of button "targetButton" then next repeat if intersect(button "targetButton", button ID theButtonToCheck) then --do stuff end if end repeat All the best, Malte --- ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum From Stgoldberg at aol.com Mon Aug 22 07:44:59 2005 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Mon, 22 Aug 2005 07:44:59 EDT Subject: Program bar at bottom of Windows screen is blank Message-ID: <1a4.3d604bbd.303b14bb@aol.com> Hopefully someone can help with the following question. A created a Rev program using Mac and built a standalone for Windows. The program resides in a folder. On Windows, the name of the folder shows up in the program bar at the bottom of the screen, as it should. However, on opening the (.exe) program the name of the the .exe program is blank in the program bar. One user has mentioned that this could confuse people into thinking spyware or a virus is operating. The name of the program did not display in the Task Manager either. If anyone is interested in seeing the program it is available as a free download from www.medmaster.net. The program name is "MedSearcher." It is the first Revolution program that I have published. It's designed to allow users to quickly search any of the major medical search engines. Does anyone have a suggestion as to how to enable the name of the .exe file to show up in the program bar? Thanks. Steve Goldberg From ptrendler at bigpond.com Mon Aug 22 08:32:02 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Mon, 22 Aug 2005 22:32:02 +1000 Subject: Program bar at bottom of Windows screen is blank References: <1a4.3d604bbd.303b14bb@aol.com> Message-ID: <000701c5a716$8c76eb50$0200000a@super> Possibly, you didn't give the stack a title in Basic Properties of the Stack Property Inspector. Pat patrend at bigpond.com ----- Original Message ----- From: To: Sent: Monday, August 22, 2005 9:44 PM Subject: Program bar at bottom of Windows screen is blank > Hopefully someone can help with the following question. A created a Rev > program using Mac and built a standalone for Windows. The program > resides in a > folder. On Windows, the name of the folder shows up in the program bar > at > the bottom of the screen, as it should. However, on opening the (.exe) > program > the name of the the .exe program is blank in the program bar. One user > has > mentioned that this could confuse people into thinking spyware or a virus > is > operating. The name of the program did not display in the Task Manager > either. > > If anyone is interested in seeing the program it is available as a free > download from www.medmaster.net. The program name is "MedSearcher." It > is the > first Revolution program that I have published. It's designed to allow > users > to quickly search any of the major medical search engines. > Does anyone have a suggestion as to how to enable the name of the .exe > file > to show up in the program bar? Thanks. > Steve Goldberg > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.10.13/78 - Release Date: 19/08/2005 > > From joel.guillod at net2000.ch Mon Aug 22 08:45:57 2005 From: joel.guillod at net2000.ch (Joel Guillod) Date: Mon, 22 Aug 2005 14:45:57 +0200 Subject: Uncomplete Externals SDK Documentation In-Reply-To: <20050822113004.B253F8250FA@mail.runrev.com> References: <20050822113004.B253F8250FA@mail.runrev.com> Message-ID: <2C764C38-D2FE-4DA2-89DA-79DCE0C7C8FF@net2000.ch> (Sorry I repost it with the correct subject title!) Mark, I have no idea if you are hired by Runrev to write the API and documentation for the external. So the following should possibly be applied to Runrev. But before filling a blocking bug, let me kindly go on your reply. We stayed tuned since a long while but now I actually need a proper documentation for the SDK and probably that RunRev published all the API. I have hired an engineer for writing specific C externals we use in medical image processing (malignant melanoma screening). Can we make professionnal business with Revolution or should we consider it not for serious? Can you tell us how long we have to wait for clean API externals and documentation? Of course you understand that I cannot pay workers to wait. Because I have been a first days Hypercard/ Supercard/CompileIt! user, I was confident that our development could succeed on Revolution. Now in our development stage we urgently need to integrate our C code in the externals for MacOSX/Windows and Linux in a second step. This month not in October! You could reply that I had to test the external SDK before but this is a marketing issue from Runrev that I have trusted based on their annonced features of Revolution. Also it would be completely unfair (possibly a legal offence) that only restricted or selected developers can make professional business by coding externals properly. The very experienced engineer I hired has just droped me this note about the external SDK: ?Considering what they give, it is clear that they do not want that people make externs...?. Yes we have been able to build something but we want to do it professionally and safely. I dont want to have my application regularly crashed the way I experiment it with externals I have paid for recently (this is another debate, ok)... Well, I am still entrusting that a robust and documented solution will be published soon. All the Revolution community will benefit from that and this will enable Runrev to grow in consideration of professional developers, simply considering the many external plugins available for other competitors IDE and their success. Today let us know the delay, please! Sincerely, Joel Guillod > Date: Sun, 21 Aug 2005 09:27:31 -0700 > From: Mark Wieder > > Joel- > > Sunday, August 21, 2005, 12:19:31 AM, you wrote: > > > >> feedback, did I miss something? Is there an other complete >> documentation for externals? >> >> > > Stay tuned. > > -- > -Mark Wieder > mwieder at ahsoftware.net > From tjframe at gmail.com Mon Aug 22 08:50:25 2005 From: tjframe at gmail.com (TJ Frame) Date: Mon, 22 Aug 2005 05:50:25 -0700 Subject: General Intersect In-Reply-To: <59E5353C-12FD-11DA-B7BE-0030659A795C@derbrill.de> References: <20050821211503.730F9825065@mail.runrev.com> <59E5353C-12FD-11DA-B7BE-0030659A795C@derbrill.de> Message-ID: <7348a9e8050822055010612668@mail.gmail.com> Aso, If you might end up intersecting more than one button, you could create a subset list of all buttons that match with something like the following: put 1 into counter repeat for the number of btns if the number of btn "targetButton" = counter then next repeat if intersect(button "targetButton", btn counter) then put the short id of btn counter & cr after hitList add 1 to counter end repeat --- each line of hitList will contain the id of a btn that intersects with your target button this runs pretty fast. On my system, searching through 850 buttons took 18 milliseconds on average On 8/22/05, Malte Brill wrote: > > Hi Roger, > > as saied before you would do this with a repeat structure. > > eg: > > repeat with i=1 to the number of buttons > if the short name of btn i="targetButton" then next repeat > if intersect(btn "targetButton", btn i) then > --do stuff > end if > end repeat > > However, if it is a time critical script and you have many buttons to > check, I suggest that you store the ID of all buttons you need to check > in a custom property and use repeat for each from there: > > Assuming you have stored the IDs in a customProperty called > allButtonsToCheck, each ID on a seperate line: > > repeat for each line theButtonToCheck in the allButtonsToCheck of this > card > if theButtonToCheck=the ID of button "targetButton" then next repeat > if intersect(button "targetButton", button ID theButtonToCheck) then > --do stuff > end if > end repeat > > All the best, > > Malte > > > --- > ArcadeEngine - prepare to WOW your audience within minutes > http://www.runrev.com/section/revselect/arcadeengine > http://www.derbrill.com/arcadeengine/forum > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From xbury.cs at clearstream.com Mon Aug 22 09:00:38 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 22 Aug 2005 15:00:38 +0200 Subject: Program bar at bottom of Windows screen is blank In-Reply-To: <1a4.3d604bbd.303b14bb@aol.com> Message-ID: Hi Steve, The only thing i can think of that causes this is - no decorations or palette mode window (but then it wouldn't be visible in the task bar - only in task manager) - you set the title of the window to a space or something like that... - any MacOS-only characters in the title? cheers Xavier use-revolution-bounces at lists.runrev.com wrote on 22/08/2005 13:44:59: > Hopefully someone can help with the following question. A created a Rev > program using Mac and built a standalone for Windows. The program > resides in a > folder. On Windows, the name of the folder shows up in the program bar at > the bottom of the screen, as it should. However, on opening the (. > exe) program > the name of the the .exe program is blank in the program bar. One user has > mentioned that this could confuse people into thinking spyware or a virus is > operating. The name of the program did not display in the Task > Manager either. > > If anyone is interested in seeing the program it is available as a free > download from www.medmaster.net. The program name is > "MedSearcher." It is the > first Revolution program that I have published. It's designed to > allow users > to quickly search any of the major medical search engines. > Does anyone have a suggestion as to how to enable the name of the .exe file > to show up in the program bar? Thanks. > Steve Goldberg > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From bnz2 at cdc.gov Mon Aug 22 09:30:05 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 22 Aug 2005 09:30:05 -0400 Subject: Spell Checker Message-ID: <64878EF567131D4596246171F75FD4A9744627@m-epo-1.epo.cdc.gov> Hi Derek, Just a suggestion for your spellchecker - because I have one I created for work and I made this change and now it moves much much faster. In one of the recent informal coding challenges, one of the rev users (I'm sorry, I cannot remember who it was) came up with a cool way of doing mass comparisons. Basically, you can load the entire word list into an array, in which each element of the array is named for the word, and the content of each element is the word "true" Something like this: Repeat for each word tWord in tWordList Put true into tWordArray[tWord] End repeat Then when you go to do the comparison for a given word, you do this If not tWordArray[tWordToCheck] then -- hilite the word, or whatever End if This was much faster than checking to see if the word was contained in a list, and is nice because it is not particularly slowed down by having a very large word list. You might already be using this method, so my apologies if I am pointing out the obvious to you. Cheers, J -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Derek Bump Sent: Thursday, August 18, 2005 8:46 PM To: Sivakatirswami; How to use Revolution Subject: Re: Spell Checker Sivakatirswami wrote: > Derek... Please ignore my post to the list... I just now see you bailed > on that project (or were forced to...) > > But I never did get from you what you had done so far, per your memo: > > Sivakatirswami Sivaktirswami, Let me first apologize for the time it has taken me to get back to you. My main computer's hard drive is corrupted and I spend the better part of 2 days attempting to get as many files off of it as possible (Mostly my iTunes Library). I do have a back up that is recent enough to include the Spell Checker, but I cannot give it out at this point. I have not forgotten about you, as well as the other Revolution Developers, and I am working to get the Spell Checker finished. It would be a valuable tool for Revolution that really should have been included a long time ago in the development package. Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com/ _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Mon Aug 22 09:33:15 2005 From: soapdog at mac.com (Andre Garzia) Date: Mon, 22 Aug 2005 10:33:15 -0300 Subject: developing win32 externals... Message-ID: Hi Folks, I am now trying to build some externals for both mac and win32 machines. I plan to use XCode on the mac side but on the win32 side I have no clue. I'd like not to use Visual Studio, it's too bloated for my modest machine. I'd settle for DJGPP or Cygwin or whatever... If I could cross compile in XCode or GCC then it would be marvelous. Can someone shed a light here? Cheers andre From FlexibleLearning at aol.com Mon Aug 22 09:45:46 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon, 22 Aug 2005 09:45:46 EDT Subject: [ANN] Animated gif for OSX progress Message-ID: <59.2e2a199c.303b310a@aol.com> I suspect the repeat loop is so tight that it leaves no cycles left for the engine to activate the animation frames. For most purposes, an animated gif will happily run in it's own 'memory area', or at least that is my experiance and impression over the years. /H >on doTheLongProcess pCount > repeat with i=1 to pCount > put i > end repeat >end doTheLongProcess From 36degrees at runrev.com Mon Aug 22 09:48:53 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Mon, 22 Aug 2005 14:48:53 +0100 Subject: developing win32 externals... In-Reply-To: References: Message-ID: <1124718533.8612.7.camel@rachmaninov> Hi Andre, I'd recommend taking a look at this: http://msdn.microsoft.com/visualc/vctoolkit2003/ Although you should be able to build externals for Win32 using mingw32: http://www.mingw.org/ Warmest Regards, Mark. ------------------------------------------------------------------ Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From jbondy at sover.net Mon Aug 22 10:02:39 2005 From: jbondy at sover.net (Jon) Date: Mon, 22 Aug 2005 10:02:39 -0400 Subject: rev opens and then disappears spontaneously Message-ID: <4309DAFF.4090500@sover.net> All of a sudden, Rev no longer works. I try to start it, it pops up, all of the windows appear, and then it spontaneously disappears. There are no hidden Rev processes running. I had been using Constellation, but turned it off (or tried to?) I have not yet re-booted (too much else going on right now). Anyone seen this before? Is there some file I can clear or something? :) Jon From jbondy at sover.net Mon Aug 22 10:06:33 2005 From: jbondy at sover.net (Jon) Date: Mon, 22 Aug 2005 10:06:33 -0400 Subject: difficulties with StandAlone Message-ID: <4309DBE9.6060905@sover.net> Every time I try to create a StandAlone (SA), I have to select a directory into which the SA will be created, starting at My Computer. I don't mind selecting the directory the first time I do this for an application, but is it necessary that I do this every time? And if I have to do it every time, could it start from the most recently selected location, rather than from My Computer? Drilling down into the directory structure over and over again seems needlessly tedious to me. Am I missing something here? Does it work this way for everyone? :) Jon From soapdog at mac.com Mon Aug 22 10:14:48 2005 From: soapdog at mac.com (Andre Garzia) Date: Mon, 22 Aug 2005 11:14:48 -0300 Subject: rev opens and then disappears spontaneously In-Reply-To: <4309DAFF.4090500@sover.net> References: <4309DAFF.4090500@sover.net> Message-ID: <07C506AD-5760-4891-B3E8-4898D20E7245@mac.com> On Aug 22, 2005, at 11:02 AM, Jon wrote: > All of a sudden, Rev no longer works. I try to start it, it pops > up, all of the windows appear, and then it spontaneously disappears. > > There are no hidden Rev processes running. > > I had been using Constellation, but turned it off (or tried to?) > > I have not yet re-booted (too much else going on right now). > > Anyone seen this before? Is there some file I can clear or something? > > :) Jon, can it be that a plugin or stack is calling "quit"? That happened to me once, a plugin I made was closing the IDE... Andre > > Jon > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jbv.silences at Club-Internet.fr Mon Aug 22 10:30:54 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Mon, 22 Aug 2005 16:30:54 +0200 Subject: Spell Checker References: <64878EF567131D4596246171F75FD4A9744627@m-epo-1.epo.cdc.gov> Message-ID: <4309E19E.8FE6466D@Club-Internet.fr> > > Just a suggestion for your spellchecker - because I have one I created > for work and I made this change and now it moves much much faster. > BTW, where do you guys get the words list ? Thanks, JB From bnz2 at cdc.gov Mon Aug 22 10:30:33 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 22 Aug 2005 10:30:33 -0400 Subject: Spell Checker Message-ID: <64878EF567131D4596246171F75FD4A99681A7@m-epo-1.epo.cdc.gov> I found one online with 174,000 words - I forget where. I can eMail it to you as a .txt attachment if you wish. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of jbv Sent: Monday, August 22, 2005 10:31 AM To: How to use Revolution Subject: Re: Spell Checker > > Just a suggestion for your spellchecker - because I have one I created > for work and I made this change and now it moves much much faster. > BTW, where do you guys get the words list ? Thanks, JB _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From jbv.silences at Club-Internet.fr Mon Aug 22 10:43:00 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Mon, 22 Aug 2005 16:43:00 +0200 Subject: Spell Checker References: <64878EF567131D4596246171F75FD4A99681A7@m-epo-1.epo.cdc.gov> Message-ID: <4309E474.F4C13A03@Club-Internet.fr> > I found one online with 174,000 words - I forget where. I can eMail it > to you as a .txt attachment if you wish. > well, that's very kind; but I guess it's english words only... actually I'm looking for the same kind of thing in french... any clue ? Best, JB From bnz2 at cdc.gov Mon Aug 22 10:36:15 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 22 Aug 2005 10:36:15 -0400 Subject: Spell Checker Message-ID: <64878EF567131D4596246171F75FD4A99681A8@m-epo-1.epo.cdc.gov> I'm sorry, no clue... But there must be something out there like that, I am sure a bit of creative online searching will find something. Good luck :) -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of jbv Sent: Monday, August 22, 2005 10:43 AM To: How to use Revolution Subject: Re: Spell Checker > I found one online with 174,000 words - I forget where. I can eMail it > to you as a .txt attachment if you wish. > well, that's very kind; but I guess it's english words only... actually I'm looking for the same kind of thing in french... any clue ? Best, JB _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From tominjapan at excite.com Mon Aug 22 10:42:48 2005 From: tominjapan at excite.com (Thomas McCarthy) Date: Mon, 22 Aug 2005 10:42:48 -0400 (EDT) Subject: Couple CGI questions--timed events Message-ID: <20050822144248.8F76DBAA9@xprdmailfe14.nwk.excite.com> Question 1: Can my rev cgi engine do things (such as send out emails) at predetermined intervals? Question 2: This is related to question 1. If my cgi script starts up the Rev engine. When does the rev engine shut down? thanks tom _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From jbv.silences at Club-Internet.fr Mon Aug 22 10:59:27 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Mon, 22 Aug 2005 16:59:27 +0200 Subject: Couple CGI questions--timed events References: <20050822144248.8F76DBAA9@xprdmailfe14.nwk.excite.com> Message-ID: <4309E84E.67463B8D@Club-Internet.fr> Thomas, > Question 1: > Can my rev cgi engine do things (such as send out emails) at predetermined intervals? you'd better use cron jobs on your server for that... > > > Question 2: > This is related to question 1. If my cgi script starts up the Rev engine. When does the rev engine shut down? > Theorically when your script execution is over IMHO. Best, JB From irog at mac.com Mon Aug 22 11:04:22 2005 From: irog at mac.com (Roger Guay) Date: Mon, 22 Aug 2005 08:04:22 -0700 Subject: General Intersect In-Reply-To: <20050822113004.80BED8250E8@mail.runrev.com> References: <20050822113004.80BED8250E8@mail.runrev.com> Message-ID: Thanks to all who responded. I was hoping that I wouldn't have to use a repeat loop as I do have a time-critical situation. However your suggestion of storing IDs as custom properties will perhaps save the day. Cheers, Roger On Aug 22, 2005, at 4:30 AM, use-revolution-request at lists.runrev.com wrote: > as saied before you would do this with a repeat structure. > > eg: > > repeat with i=1 to the number of buttons > if the short name of btn i="targetButton" then next repeat > if intersect(btn "targetButton", btn i) then > --do stuff > end if > end repeat > > However, if it is a time critical script and you have many buttons to > check, I suggest that you store the ID of all buttons you need to > check > in a custom property and use repeat for each from there: > > Assuming you have stored the IDs in a customProperty called > allButtonsToCheck, each ID on a seperate line: > > repeat for each line theButtonToCheck in the allButtonsToCheck of this > card > if theButtonToCheck=the ID of button "targetButton" then next > repeat > if intersect(button "targetButton", button ID theButtonToCheck) > then > --do stuff > end if > end repeat > > All the best, > > Malte From kray at sonsothunder.com Mon Aug 22 11:10:59 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 22 Aug 2005 10:10:59 -0500 Subject: [ANN] Ignore my last ANN re: ReplaceText Message-ID: (This will teach me to not send things before their time...) What I posted as a bug with replaceText in 2.6 is actually a bug in 2.5.1 that I was taking advantage of and thought it was "normal", so when it was fixed in 2.6 I thought it was a bug. As many have pointed out to me, the statement: put replaceText("This is a test"," *"," ") is actually bad regex, as I should have been using a "+" instead of a "*" in the expression. When I used "+", everything was fine. So after I wipe the egg off my face, I'll be fixing the XML Library and reposting for those who wish to download a new version from my site. Thanks, and sorry for any inconvenience this might have caused anyone. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From chris at altuit.com Mon Aug 22 11:22:37 2005 From: chris at altuit.com (chris at altuit.com) Date: Mon, 22 Aug 2005 11:22:37 -0400 Subject: developing win32 externals... Message-ID: <380-220058122152237258@M2W083.mail2web.com> Andre, One of the things to watch for is whether you're using any binary libraries (static or dynamic) in your code that were built by someone else. If the libraries were built with visual studio and you try to link them with bloodshed you'll get linker errors. (in particular, I've had this problem with some mysql and imagemagick libs) If you're just building code you've compiled I highly recommend the bloodshed ide for mingw/gcc, its the only environment besides vs where i've ever been able to get the debugger to work correctly with rev. -- cb Original Message: ----------------- From: Andre Garzia soapdog at mac.com Date: Mon, 22 Aug 2005 10:33:15 -0300 To: use-revolution at lists.runrev.com Subject: developing win32 externals... Hi Folks, I am now trying to build some externals for both mac and win32 machines. I plan to use XCode on the mac side but on the win32 side I have no clue. I'd like not to use Visual Studio, it's too bloated for my modest machine. I'd settle for DJGPP or Cygwin or whatever... If I could cross compile in XCode or GCC then it would be marvelous. Can someone shed a light here? Cheers andre _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From alex at tweedly.net Mon Aug 22 11:56:16 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 22 Aug 2005 16:56:16 +0100 Subject: Spell Checker In-Reply-To: <64878EF567131D4596246171F75FD4A99681A8@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A99681A8@m-epo-1.epo.cdc.gov> Message-ID: <4309F5A0.7020508@tweedly.net> Lynch, Jonathan wrote: >I'm sorry, no clue... > >But there must be something out there like that, I am sure a bit of >creative online searching will find something. > >Good luck :) > > > http://www.mozilla.org/products/thunderbird/dictionaries.html -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.13/78 - Release Date: 19/08/2005 From revdan at danshafer.com Mon Aug 22 12:07:14 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 22 Aug 2005 09:07:14 -0700 Subject: Couple CGI questions--timed events In-Reply-To: <20050822144248.8F76DBAA9@xprdmailfe14.nwk.excite.com> References: <20050822144248.8F76DBAA9@xprdmailfe14.nwk.excite.com> Message-ID: On Aug 22, 2005, at 7:42 AM, Thomas McCarthy wrote: > > Question 1: > Can my rev cgi engine do things (such as send out emails) at > predetermined intervals? > No. The CGI runs on request from a browser or other client. To do this it would have to stay running, which is not how CGIs are designed to work. > Question 2: > This is related to question 1. If my cgi script starts up the Rev > engine. When does the rev engine shut down? > Each time the CGI is called, the engine is invoked, does the CGI task, and terminates. > thanks > tom > > _______________________________________________ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From stephenREVOLUTION at barncard.com Mon Aug 22 12:08:01 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 22 Aug 2005 09:08:01 -0700 Subject: Spell Checker In-Reply-To: <4309F5A0.7020508@tweedly.net> References: <64878EF567131D4596246171F75FD4A99681A8@m-epo-1.epo.cdc.gov> <4309F5A0.7020508@tweedly.net> Message-ID: How would one use this dictionary? I downloaded one of the dictionaries and it was not plain text. Looked like binary. >Lynch, Jonathan wrote: > >>I'm sorry, no clue... >> >>But there must be something out there like that, I am sure a bit of >>creative online searching will find something. >> >>Good luck :) >> >> >http://www.mozilla.org/products/thunderbird/dictionaries.html > From europe at ehug.info Mon Aug 22 12:10:43 2005 From: europe at ehug.info (Mark Schonewille) Date: Mon, 22 Aug 2005 18:10:43 +0200 Subject: Unicode Message-ID: <4309F903.6060008@ehug.info> Hello, Using the uniEncode function, I am able to read and display most unicode formats in MacOS X. However, there is one format I can't get to work. This is a file that is supposed to be UTF-16BE (with Thai encoding). If I display this in a field, I get a kind of Chinese text. I have other files, which are supposed to have a similar encoding, which do work. The file can be downloaded here: After reading in the file, setting the unicodeText property of a field and setting the textFont to "Lucida Grande,Thai", the text still looks like Chinese. Any suggestions as to how to display this file correctly? Thanks, Mark -- eHUG coordinator mailto:europe at ehug.info http://www.ehug.info http://home.wanadoo.nl/mark.sch http://www.economy-x-talk.com Please inform me about vacancies in the field of general economics at your institute. I am also looking for new freelance programming projects. From b.xavier at internet.lu Mon Aug 22 12:19:33 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 22 Aug 2005 18:19:33 +0200 Subject: Unicode In-Reply-To: <4309F903.6060008@ehug.info> Message-ID: <20050822160238.9CFCB825183@mail.runrev.com> have you downloaded the thai fonts which are not the same as chinese? The OS may be using the most-likely... > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Mark Schonewille > Sent: Monday, August 22, 2005 18:11 > To: How to use Revolution > Subject: Unicode > > Hello, > > Using the uniEncode function, I am able to read and display > most unicode formats in MacOS X. However, there is one format > I can't get to work. This is a file that is supposed to be > UTF-16BE (with Thai encoding). If I display this in a field, > I get a kind of Chinese text. I have other files, which are > supposed to have a similar encoding, which do work. > > The file can be downloaded here: > > > After reading in the file, setting the unicodeText property > of a field and setting the textFont to "Lucida Grande,Thai", > the text still looks like Chinese. Any suggestions as to how > to display this file correctly? > > Thanks, > > Mark > > -- > > eHUG coordinator > mailto:europe at ehug.info > http://www.ehug.info > http://home.wanadoo.nl/mark.sch > http://www.economy-x-talk.com > > Please inform me about vacancies in the field of general > economics at your institute. I am also looking for new > freelance programming projects. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ljk144 at gmail.com Mon Aug 22 12:18:13 2005 From: ljk144 at gmail.com (Levi Kendall) Date: Mon, 22 Aug 2005 12:18:13 -0400 Subject: Revolution Compatible Registration Tool Message-ID: Hi All, I was just wondering what everyone out there was using for releasing commercial demo applications with Revolution. What I'm thinking in terms of here is having a limited demo version that will show the user *some* of the functionality but which is "crippled" in some areas. The user will be able to access some kind of registration feature (this is what I'm looking for) that would then unlock the product. At this point I'm looking for any system to do this, perhaps it could be web integrated or be able to unlock with a serial code while offline, anything of the sort. Has anyone found a ready-made system to distribute like this with Revolution? And perhaps one that can be used on the same cross-platform support which Revolution itself offers. Any ideas? -Levi From soapdog at mac.com Mon Aug 22 12:26:42 2005 From: soapdog at mac.com (Andre Garzia) Date: Mon, 22 Aug 2005 04:26:42 -1200 Subject: Couple CGI questions--timed events In-Reply-To: References: <20050822144248.8F76DBAA9@xprdmailfe14.nwk.excite.com> Message-ID: <746266.1124728002973.JavaMail.soapdog@mac.com> On Monday, August 22, 2005, at 04:07AM, Dan Shafer wrote: > >On Aug 22, 2005, at 7:42 AM, Thomas McCarthy wrote: > >> >> Question 1: >> Can my rev cgi engine do things (such as send out emails) at >> predetermined intervals? >> >No. The CGI runs on request from a browser or other client. To do >this it would have to stay running, which is not how CGIs are >designed to work. for that task, cron is your friend! :-) > >> Question 2: >> This is related to question 1. If my cgi script starts up the Rev >> engine. When does the rev engine shut down? >> >Each time the CGI is called, the engine is invoked, does the CGI >task, and terminates. > I find that the time after the reply to the browser but before engine shutdown is a very nice place to do all kinds of mantainance tasks. The client is happy and I think we can steal some more CPU cycles doing things that will speed up our system by leaving it in a nice shape. For example, this is a nice time to process text files and generate quick indexes. cheers andre >> thanks >> tom >> >> _______________________________________________ >> Join Excite! - http://www.excite.com >> The most personalized portal on the Web! >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Dan Shafer, Revolution Consultant and Author >http://www.shafermedia.com >Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > From mwieder at ahsoftware.net Mon Aug 22 13:10:01 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 22 Aug 2005 10:10:01 -0700 Subject: ISAM In-Reply-To: <000101c5a6b1$d813ddd0$0201010a@proherps56yaxv> References: <000101c5a6b1$d813ddd0$0201010a@proherps56yaxv> Message-ID: <1761176161.20050822101001@ahsoftware.net> Scott- Sunday, August 21, 2005, 5:38:31 PM, you wrote: > Any idea where I can find them for Windows and Mac? > I've been looking evrywhere for them.... ODBC > drivers in OSX require a Microsoft product to be > installed (on Windows they are installed by default). > Any ideas appreciated Since you were talking about dBase and Paradox, I assumed you meant Windoze... In that case, the dBase file format is *very* well defined and documented. Why not just treat the dbf files as binary files, read them into memory, and start stuffing them into arrays and such? Do you actually need to keep them in dbf format for use by other programs? -- -Mark Wieder mwieder at ahsoftware.net From revolution at derbrill.de Mon Aug 22 13:22:06 2005 From: revolution at derbrill.de (Malte Brill) Date: Mon, 22 Aug 2005 19:22:06 +0200 Subject: Revolution Compatible Registration Tool In-Reply-To: <20050822113004.B253F8250FA@mail.runrev.com> Message-ID: <439203A3-1331-11DA-B7BE-0030659A795C@derbrill.de> Hi Levi, >At this point I'm looking for any system to do this, perhaps it could be web integrated I vaguely recall that there should have been a Kagi Module for Revolution. I could also be wrong. :-) Kee might be able to tell you more about it. Maybe this thread is interesting: http://lists.runrev.com/pipermail/use-revolution/2004-December/ 048308.html >be able to unlock with a serial code while offline, >anything of the sort. This could easiely be scripted. I have a demo stack available here. Scripts are commented. http://www.derbrill.de/revstack/passwort.rev.zip Once the user has unlocked your program you can write it into an external file (which your app checks for at startup) If the file is present and the data is correct you allow access to all features, otherwise you only allow access to the features you want the user to use. A general tip: Password protect your stack before you distribute it. Hope that helps, Malte ------------------------------------------------------------------------ ------------ ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum From operoutka at volny.cz Mon Aug 22 13:26:35 2005 From: operoutka at volny.cz (Old=?ISO-8859-2?B?+A==?=ich Peroutka) Date: Mon, 22 Aug 2005 19:26:35 +0200 Subject: List of Files and open file Message-ID: Hi all, can anybody help me. I am the beginner in Revolution yet and I have 2 question. The First question: I have wrote the programm is comparing contain of 2 folders each other. The first folder (source) contain is written to the first field, ?listField1? and the second folder contain (destination) is written to the second field ?listField2?. The Items (only files) of the first field ?listField1? there aren?t in the second field ?listField2? are written into the third field ?listField3?. This works ?OK? on local HardDrive (Mac OS 9.2.2, Windows 98 and Windows 2000) bat if I choose Folders (Source/Destination) on the net (Ethernet - Windows) it doesn?t work. Can anybody tell me why? The Second question: In this programm I make button ?Open? for selected file. On ?click? to this button, the selected file is opened in associated application. Previous to the ?Click? I don?t know this application and the programm determines this application without my assistance. It works ?OK? in Windows (98, 2000), and local HardDrive. Knows anybody how to write this commands for opening of selected file in its associated application in Mac OS 9.2.2? The program I?m writing on Mac OS 9.2.2 and I have RunRev 5 for Mac OS Classic. Thanks all for help O.P. From stephenREVOLUTION at barncard.com Mon Aug 22 13:36:39 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 22 Aug 2005 10:36:39 -0700 Subject: ISAM In-Reply-To: <1761176161.20050822101001@ahsoftware.net> References: <000101c5a6b1$d813ddd0$0201010a@proherps56yaxv> <1761176161.20050822101001@ahsoftware.net> Message-ID: Long long ago I looked at a dBase file and it looked like tab delimited text....have you checked in a text editor? > >Since you were talking about dBase and Paradox, I assumed you meant >Windoze... > >In that case, the dBase file format is *very* well defined and >documented. Why not just treat the dbf files as binary files, read >them into memory, and start stuffing them into arrays and such? Do you >actually need to keep them in dbf format for use by other programs? > >-- >-Mark Wieder From revdan at danshafer.com Mon Aug 22 13:51:18 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 22 Aug 2005 10:51:18 -0700 Subject: ISAM In-Reply-To: References: <000101c5a6b1$d813ddd0$0201010a@proherps56yaxv> <1761176161.20050822101001@ahsoftware.net> Message-ID: There are a lot of programs around for converting DBF files to other formats. A Google search is quite fruitful. On Aug 22, 2005, at 10:36 AM, Stephen Barncard wrote: > Long long ago I looked at a dBase file and it looked like tab > delimited text....have you checked in a text editor? > > >> >> Since you were talking about dBase and Paradox, I assumed you meant >> Windoze... >> >> In that case, the dBase file format is *very* well defined and >> documented. Why not just treat the dbf files as binary files, read >> them into memory, and start stuffing them into arrays and such? Do >> you >> actually need to keep them in dbf format for use by other programs? >> >> -- >> -Mark Wieder >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From mdswindell at charter.net Mon Aug 22 14:12:10 2005 From: mdswindell at charter.net (Mark Swindell) Date: Mon, 22 Aug 2005 11:12:10 -0700 Subject: Why does this generate an error? Message-ID: <77FA9121-2198-4D1C-89B2-BC487303BC2F@charter.net> The following script is in a field, originalText. It generates an error, yet at the same time it functions and puts the htmlText of the lines of field originalText into the messageBox. Why does it generate an error as it functions? Thanks Mark on mouseMove global gMyLine put the mouseline into gMyLine put "the htmlText of " before gMyLine put value(gMyline) end mouseMove executing at 11:04:19 AM Type value: error executing expression Object OriginalText Line put value(gMyline) Hint the htmlText of From bann at sunncomm.com Mon Aug 22 14:17:03 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Mon, 22 Aug 2005 11:17:03 -0700 Subject: running player makes other thing slower Message-ID: Hi everyone, Does anyone run into this problem like I have? In my rev application, I have a player (playing song and movie) running just fine but when I scroll up and down the field, the sound is messed up and slows down other things such as selecting a line in the field list, clicking on a button What should I do to fix this problem? Please help. Thank you From lists at mangomultimedia.com Mon Aug 22 14:46:39 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 22 Aug 2005 11:46:39 -0700 Subject: running player makes other thing slower In-Reply-To: References: Message-ID: <3B7E93D9-7954-49ED-9884-B365F8378210@mangomultimedia.com> On Aug 22, 2005, at 11:17 AM, Ban Nguyen wrote: > Hi everyone, > > Does anyone run into this problem like I have? > > In my rev application, I have a player (playing song and movie) > running > just fine but when I scroll up and down the field, the sound is messed > up and slows down other things such as selecting a line in the field > list, clicking on a button Hi Ban, If you could provide some more details about how your app is designed that would be great. I have apps that use player objects and scrolling fields and haven't noticed any problems related to the two. Information that could prove useful: 1) What platform? Mac, Win, Both? 2) Does this happen in development and deployment or just development? 3) What codecs do your movies use? 4) How many players are active at a time? 5) Is the player in a group that you are scrolling? 6) Does your player object overlap anything that is scrolling? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From jamshidi982003 at yahoo.com Mon Aug 22 14:53:32 2005 From: jamshidi982003 at yahoo.com (ali jamshidi) Date: Mon, 22 Aug 2005 11:53:32 -0700 (PDT) Subject: Please Unsubscribe me Message-ID: <20050822185333.80554.qmail@web50201.mail.yahoo.com> __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From bann at sunncomm.com Mon Aug 22 14:55:54 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Mon, 22 Aug 2005 11:55:54 -0700 Subject: running player makes other thing slower Message-ID: > Hi everyone, > > Does anyone run into this problem like I have? > > In my rev application, I have a player (playing song and movie) > running > just fine but when I scroll up and down the field, the sound is messed > up and slows down other things such as selecting a line in the field > list, clicking on a button ------------------------- Hi Ban, If you could provide some more details about how your app is designed that would be great. I have apps that use player objects and scrolling fields and haven't noticed any problems related to the two. Information that could prove useful: 1) What platform? Mac, Win, Both? 2) Does this happen in development and deployment or just development? 3) What codecs do your movies use? 4) How many players are active at a time? 5) Is the player in a group that you are scrolling? 6) Does your player object overlap anything that is scrolling? ------------------------- Hi Trevor, Information: 1) What platform? Mac, Win, Both? Both 2) Does this happen in development and deployment or just development? I happened in development and deployment 3) What codecs do your movies use? mp3 and mov 4) How many players are active at a time? One player 5) Is the player in a group that you are scrolling? The player is in different group (called AudioPlayer). I have other groups (called aboutUs, Partners,.....). When I click on the button to go to one of these groups, the sound is paused 1 second. The aboutUs content has a scrollbar. It is slow when the music is playing. 6) Does your player object overlap anything that is scrolling? No Thank you for your help From sims at ezpzapps.com Mon Aug 22 14:57:17 2005 From: sims at ezpzapps.com (sims) Date: Mon, 22 Aug 2005 20:57:17 +0200 Subject: Weird answer dialog behavior Message-ID: Using Rev 2.6 & OS X Tiger. Answer dialogs will not display all the text I have scripted for them, text does not wrap, and the dialog is not very wide (does not expand to accommodate text). Text seems to run off the dialog and into space. I searched the archives and found Eric Chatone's patch at: http://lists.runrev.com/pipermail/use-revolution/2005-June/060751.html I installed that patch, restarted Rev but still have the issue of not all text appearing in the answer dialog field. Is there some magical incantation I should try? ciao, sims From yvescoppe at skynet.be Mon Aug 22 15:16:43 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon, 22 Aug 2005 21:16:43 +0200 Subject: ANN: Some routines for Spotlight Message-ID: Hi Thierry, your code : put unidecode(uniencode(thefilename,"utf8"),"ansi") 1) is very 'slow" since there are somtimes many lines in thefilename 2) is not fully translating the answer. There are further errors with ?edilla, "?",.. any other suggestion ?? Greetings. Yves COPPE yvescoppe at skynet.be From lists at mangomultimedia.com Mon Aug 22 15:18:15 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 22 Aug 2005 12:18:15 -0700 Subject: running player makes other thing slower In-Reply-To: References: Message-ID: <30191DD3-BF74-4F9D-A4D8-5146F9D44B7B@mangomultimedia.com> On Aug 22, 2005, at 11:55 AM, Ban Nguyen wrote: > 3) What codecs do your movies use? > > mp3 and mov mov is a container format, not an actual codec. For the video you would have something like sorenson 3 or H.264 If your audio/video is encoded using a very high data rate then this could affect performance during playback depending on the system. You might try loading a still image in the player and see if the slowdown still occurs. If it doesn't then I would look at that data rate of your movies as a potential issue. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From revolution at derbrill.de Mon Aug 22 15:45:34 2005 From: revolution at derbrill.de (Malte Brill) Date: Mon, 22 Aug 2005 21:45:34 +0200 Subject: Why does this generate an error? In-Reply-To: <20050822170003.3E7FE8251FD@mail.runrev.com> Message-ID: <4E358DA7-1345-11DA-B7BE-0030659A795C@derbrill.de> Hi Mark, it throws an error, because gMyLine can be empty. try this: on mouseMove global gMyLine put the mouseline into gMyLine if gMyLine is not empty then put "the htmlText of " before gMyLine put value(gMyline) end if end mouseMove Hope this helps, Malte ----- ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum From mdswindell at charter.net Mon Aug 22 15:58:13 2005 From: mdswindell at charter.net (Mark Swindell) Date: Mon, 22 Aug 2005 12:58:13 -0700 Subject: Why does this generate an error? In-Reply-To: <4E358DA7-1345-11DA-B7BE-0030659A795C@derbrill.de> References: <4E358DA7-1345-11DA-B7BE-0030659A795C@derbrill.de> Message-ID: Indeed. Thank you. Mark On Aug 22, 2005, at 12:45 PM, Malte Brill wrote: > t throws an error, because gMyLine can be empty. try this: > > on mouseMove > global gMyLine > put the mouseline into gMyLine > if gMyLine is not empty then > put "the htmlText of " before gMyLine > put value(gMyline) > end if > end mouseMove > > Hope this helps, From gregory.lypny at videotron.ca Mon Aug 22 16:45:55 2005 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Mon, 22 Aug 2005 16:45:55 -0400 Subject: CGI Advice Message-ID: <6BD1020C-1789-4A54-875B-960ED273BA4A@videotron.ca> Hello everyone, I'm finally starting on my first Rev CGI project after a number of false starts and the usual delays. I have some basic CGIs successfully invoking scripts in a stack, and I have a question concerning the storage of data. Do you think it is better to store data, for example, student class lists, as a fields in the stack or as a text files? All of the lists that will be created will be editable by students or by me and none will be longer than, say, 50,000 lines. I'm also interested in your thoughts on how to avoid update anomalies, that is, where data is being updated by more than one student at the same time. I was thinking about a "busy" variable of some sort. Regards, Greg Gregory Lypny Associate Professor of Finance John Molson School of Business Concordia University Montreal, Canada From psahores at easynet.fr Mon Aug 22 17:23:19 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Mon, 22 Aug 2005 23:23:19 +0200 Subject: CGI Advice In-Reply-To: <6BD1020C-1789-4A54-875B-960ED273BA4A@videotron.ca> References: <6BD1020C-1789-4A54-875B-960ED273BA4A@videotron.ca> Message-ID: <0A0B714E-1A49-47AB-98F6-812EFEF96A06@easynet.fr> Hi Greg, Have an eye on this if that can help : Best, Le 22 ao?t 05 ? 22:45, Gregory Lypny a ?crit : > Hello everyone, > > I'm finally starting on my first Rev CGI project after a number > of false starts and the usual delays. > > I have some basic CGIs successfully invoking scripts in a > stack, and I have a question concerning the storage of data. Do > you think it is better to store data, for example, student class > lists, as a fields in the stack or as a text files? All of the > lists that will be created will be editable by students or by me > and none will be longer than, say, 50,000 lines. I'm also > interested in your thoughts on how to avoid update anomalies, that > is, where data is being updated by more than one student at the > same time. I was thinking about a "busy" variable of some sort. > > Regards, > > Greg > > > Gregory Lypny > > Associate Professor of Finance > John Molson School of Business > Concordia University > Montreal, Canada > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours skype : psahores psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From bann at sunncomm.com Mon Aug 22 17:37:09 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Mon, 22 Aug 2005 14:37:09 -0700 Subject: running player makes other thing slower Message-ID: On Aug 22, 2005, at 11:55 AM, Ban Nguyen wrote: > 3) What codecs do your movies use? > > mp3 and mov mov is a container format, not an actual codec. For the video you would have something like sorenson 3 or H.264 If your audio/video is encoded using a very high data rate then this could affect performance during playback depending on the system. You might try loading a still image in the player and see if the slowdown still occurs. If it doesn't then I would look at that data rate of your movies as a potential issue. -------------- I am using mp3 file with encoded with 96 data rate ----------- From alex at tweedly.net Mon Aug 22 18:04:41 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 22 Aug 2005 23:04:41 +0100 Subject: Spell Checker In-Reply-To: References: <64878EF567131D4596246171F75FD4A99681A8@m-epo-1.epo.cdc.gov> <4309F5A0.7020508@tweedly.net> Message-ID: <430A4BF9.4030903@tweedly.net> Stephen Barncard wrote: > How would one use this dictionary? I downloaded one of the > dictionaries and it was not plain text. Looked like binary. > It's an XPI format file - which is basically just a ZIP format with some special requirements for Mozilla. Unzip it, you gets two files xxxxxx.dic and xxxxxx.aff which are the "standard" myspell format. (you also get some other files you don't need and can ignore). (btw - this is the same format as used by OpenOffice - so you may already have the dictionaries you need installed, in /share/dict ) http://lingucomponent.openoffice.org/dictionary.html and the links from it will tell you how to interpret them (which I have to admit doesn't look trivial). (Sorry, I haven't yet written a Transcript library to do this - I found these when I needed a word list for a game, and later decided to let the user build their own list, so didn't ever do anything with them ....) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.13/78 - Release Date: 19/08/2005 From lists at mangomultimedia.com Mon Aug 22 18:33:21 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 22 Aug 2005 15:33:21 -0700 Subject: running player makes other thing slower In-Reply-To: References: Message-ID: On Aug 22, 2005, at 2:37 PM, Ban Nguyen wrote: > > I am using mp3 file with encoded with 96 data rate That shouldn't cause any playback problems. Did you try loading a still image into the player? Do you have any code that watches monitors the status of the player object while it is playing (updating a progress bar)? Perhaps that is firing too often and slowing things down? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From tominjapan at excite.com Mon Aug 22 18:57:34 2005 From: tominjapan at excite.com (Thomas McCarthy) Date: Mon, 22 Aug 2005 18:57:34 -0400 (EDT) Subject: Sending mail via libSMTP on cgi Message-ID: <20050822225734.7F155BA5B@xprdmailfe14.nwk.excite.com> 1. Will libSMTP work from a rev cgi? 2. Any reason to use it instead of my host's built-in mail cgi? Yes, Andre, 'cron' is my new friend. Actually more of an acquaintance. Where is this going? I thought it would be nice to send my students emails automatically--homework reminders, thoughts of the day, etc. many thanks tom _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From bann at sunncomm.com Mon Aug 22 19:01:07 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Mon, 22 Aug 2005 16:01:07 -0700 Subject: running player makes other thing slower Message-ID: On Aug 22, 2005, at 2:37 PM, Ban Nguyen wrote: > > I am using mp3 file with encoded with 96 data rate That shouldn't cause any playback problems. Did you try loading a still image into the player? Do you have any code that watches monitors the status of the player object while it is playing (updating a progress bar)? Perhaps that is firing too often and slowing things down? ------------- I have progress bar with this script: on MouseDown local i, j, l, x put the ClickLoc into l put item 1 of l into x subtract the left of scrollbar "myProgressBar" from x put x / the width of scrollbar "myProgressBar" into x put x * the duration of player "myPlayer" into x set the currentTime of player "myPlayer" to round(x) end MouseDown BTW, how can I load a still image into a player? Thank you From jacque at hyperactivesw.com Mon Aug 22 19:05:17 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 22 Aug 2005 18:05:17 -0500 Subject: Scripting conference - Menus stack updated Message-ID: <430A5A2D.9090309@hyperactivesw.com> The excellent scripting conference stack on Menus has been updated to include the chat transcript and is now online: Presented by Jeanne DeVoto, the transcript log contains additional information on menus which was not present in the original stack. The Menus stack and chat session was very highly acclaimed by those in attendance, and it is one you will want to add to your library. You will also want to mark your calendars for our next conference, to be given by guru Ken Ray on September 3. Stay tuned for details. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdan at danshafer.com Mon Aug 22 19:12:59 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 22 Aug 2005 16:12:59 -0700 Subject: Sending mail via libSMTP on cgi In-Reply-To: <20050822225734.7F155BA5B@xprdmailfe14.nwk.excite.com> References: <20050822225734.7F155BA5B@xprdmailfe14.nwk.excite.com> Message-ID: On Aug 22, 2005, at 3:57 PM, Thomas McCarthy wrote: > > 1. Will libSMTP work from a rev cgi? > Just a SWAG but it probably would. > 2. Any reason to use it instead of my host's built-in mail cgi? > Not that I can think of. > Yes, Andre, 'cron' is my new friend. Actually more of an acquaintance. > > Where is this going? I thought it would be nice to send my students > emails automatically--homework reminders, thoughts of the day, etc. > > many thanks > tom > > _______________________________________________ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revdan at danshafer.com Mon Aug 22 19:18:21 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 22 Aug 2005 16:18:21 -0700 Subject: Revolution Compatible Registration Tool In-Reply-To: <439203A3-1331-11DA-B7BE-0030659A795C@derbrill.de> References: <439203A3-1331-11DA-B7BE-0030659A795C@derbrill.de> Message-ID: <5F917E05-AF07-42CD-BADF-32479EADD108@danshafer.com> Kagi was indeed working on such a module when we held RevCon West a couple of months ago. As far as I can tell, they have not yet announced that product. Disabling some features of the product until some condition is met is straightforward provided, of course, you've modularized your code sufficiently. I don't suspect this kind of thing would be hard to roll your own. The "hard" part is coming up with an unlock code/mechanism that can't be trivially cracked. On Aug 22, 2005, at 10:22 AM, Malte Brill wrote: > Hi Levi, > > >At this point I'm looking for any system to do this, perhaps it > could be web integrated > > I vaguely recall that there should have been a Kagi Module for > Revolution. I could also be wrong. :-) Kee might be able to tell > you more about it. Maybe this thread is interesting: > > http://lists.runrev.com/pipermail/use-revolution/2004-December/ > 048308.html > > >be able to unlock with a serial code while offline, > >anything of the sort. > > This could easiely be scripted. I have a demo stack available here. > Scripts are commented. > > http://www.derbrill.de/revstack/passwort.rev.zip > > Once the user has unlocked your program you can write it into an > external file (which your app checks for at startup) If the file is > present and the data is correct you allow access to all features, > otherwise you only allow access to the features you want the user > to use. > > A general tip: > > Password protect your stack before you distribute it. > > Hope that helps, > > Malte > > > ---------------------------------------------------------------------- > -------------- > ArcadeEngine - prepare to WOW your audience within minutes > http://www.runrev.com/section/revselect/arcadeengine > http://www.derbrill.com/arcadeengine/forum > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From mp31199 at students.nebo.edu Mon Aug 22 19:38:42 2005 From: mp31199 at students.nebo.edu (Matthew) Date: Mon, 22 Aug 2005 17:38:42 -0600 Subject: Windows tray In-Reply-To: Message-ID: I have played with the STSTray program by Sons of thunder and liked it but I was wondering if there is any way of doing that in revolution and not through STSTray. If you do send me a message, send it to me because I have unsubscribed from the mailing list because it gives me too much email. Sincerely, Matt From scott at proherp.com Mon Aug 22 21:44:57 2005 From: scott at proherp.com (Scott Kane) Date: Tue, 23 Aug 2005 11:44:57 +1000 Subject: Revolution Compatible Registration Tool In-Reply-To: <5F917E05-AF07-42CD-BADF-32479EADD108@danshafer.com> Message-ID: <000101c5a784$480cd790$0201010a@proherps56yaxv> > I don't suspect this kind of thing would be hard to roll your own. > The "hard" part is coming up with an unlock code/mechanism > that can't > be trivially cracked. On Windows I use Armadillo - http://www.siliconrealms.com I've never been cracked. It blocks Soft Ice and similar debuggers and even if they unwrap the protective shield around the app' I use nanomites (a feature of Armadillo) to obfuscate critical parts of the code. Not only are these impossible to decipher Armadillo places over 2,500 fake entry points into the app' making cracking a nightmare. Crackers web pages I've visited to see how Armadillo stacked up advise wanna-be pirates to choose a program that is not protect by Armadillo instead. I haven't tried it with Rev and it is *only* a Windows 32 and 64 bit tool. It also shrinks the final executable. A traditional way of protecting an app' is leaving critical code blocks out of the trial version. There is less chance of a hacker getting the missing code blocks and making their own that there is for them enabling something that is disabled for the demo. For example - being able to add new records to a database by providing only the code for editing and not inserting. Scott Kane Moderator: comp.software.shareware.* From mwieder at ahsoftware.net Mon Aug 22 22:23:08 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 22 Aug 2005 19:23:08 -0700 Subject: developing win32 externals... In-Reply-To: <380-220058122152237258@M2W083.mail2web.com> References: <380-220058122152237258@M2W083.mail2web.com> Message-ID: <14734362761.20050822192308@ahsoftware.net> Chris- Have you tried the Devpak for MySQL? I haven't myself, but it's supposed to work... http://devpaks.org/details.php?devpak=79 -- -Mark mwieder at ahsoftware.net Monday, August 22, 2005, 8:22:37 AM, you wrote: > libraries were built with visual studio and you try to link them with > bloodshed you'll get linker errors. (in particular, I've had this problem > with some mysql and imagemagick libs) From b.xavier at internet.lu Mon Aug 22 22:51:37 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 23 Aug 2005 04:51:37 +0200 Subject: Drooling yet for TAOO? Message-ID: <20050823023438.7A73682534B@mail.runrev.com> Hi good people, This is just a taste of the GUI of TAOO... http://monsieurx.com/hyper/xos/screenshots/TAOOScreenShot.png Im almost done with the "visual" part of it... im in heaven, most of it works.... sorry, i couldn't resist sharing it! Now comes the "objects"... sql, records, cards, lines, etc... BTW, BvG, the top most window is the new Chat client for ChatRev by BVG... coming soon... This screenshot not far from what i usually have in front of me... The screen is NEVER big enough... more hint-screenshots at http://monsieurx.com/hyper/xos/screenshots/ i may not respond soon as i just got the demo of GT-legengs... revcheers Xavier From revdan at danshafer.com Mon Aug 22 23:25:21 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 22 Aug 2005 20:25:21 -0700 Subject: Revolution Compatible Registration Tool In-Reply-To: <000101c5a784$480cd790$0201010a@proherps56yaxv> References: <000101c5a784$480cd790$0201010a@proherps56yaxv> Message-ID: <5AAEA30F-7355-41D4-9673-915588FC55B0@danshafer.com> Great practical advice, Scott. Thanks for sharing. On Aug 22, 2005, at 6:44 PM, Scott Kane wrote: > > >> I don't suspect this kind of thing would be hard to roll your own. >> The "hard" part is coming up with an unlock code/mechanism >> that can't >> be trivially cracked. >> > > On Windows I use Armadillo - http://www.siliconrealms.com > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From oaknorton at gmail.com Mon Aug 22 23:39:51 2005 From: oaknorton at gmail.com (Oak Norton) Date: Mon, 22 Aug 2005 21:39:51 -0600 Subject: Revolution Compatible Registration Tool In-Reply-To: <000101c5a784$480cd790$0201010a@proherps56yaxv> References: <5F917E05-AF07-42CD-BADF-32479EADD108@danshafer.com> <000101c5a784$480cd790$0201010a@proherps56yaxv> Message-ID: Armadillo looks great but appears to be only Windows based. Is there another tool that will also work for Mac & Linux builds along with Windows? Thanks, Oak On 8/22/05, Scott Kane wrote: > > > > I don't suspect this kind of thing would be hard to roll your own. > > The "hard" part is coming up with an unlock code/mechanism > > that can't > > be trivially cracked. > > On Windows I use Armadillo - http://www.siliconrealms.com > From scott at proherp.com Mon Aug 22 23:40:41 2005 From: scott at proherp.com (Scott Kane) Date: Tue, 23 Aug 2005 13:40:41 +1000 Subject: Revolution Compatible Registration Tool In-Reply-To: <5AAEA30F-7355-41D4-9673-915588FC55B0@danshafer.com> Message-ID: <000501c5a794$75236720$0201010a@proherps56yaxv> > Great practical advice, Scott. Thanks for sharing. You are most welcome. Members, please feel free to ask anytime about this stuff. Without trying to blow my horn I've been in amongst this stuff for a couple of decades and moderate three Big 8 newsgroups on Usenet: comp.software.shareware.authors comp.software.shareware.users comp.software.shareware.announce. You'll find people there (particularly in the authors group) that can and will answer many of these kind of questions. Best Regards, Scott Kane From scott at proherp.com Mon Aug 22 23:50:57 2005 From: scott at proherp.com (Scott Kane) Date: Tue, 23 Aug 2005 13:50:57 +1000 Subject: Revolution Compatible Registration Tool In-Reply-To: Message-ID: <000601c5a795$e4572810$0201010a@proherps56yaxv> > Armadillo looks great but appears to be only Windows based. > Is there another > tool that will also work for Mac & Linux builds along with > Windows? Thanks, None that I know of for Mac and *nix. I'd look at other strategies. Nag screens with timer coundowns (no more than 5 seconds though) exit nag screens with order info, watermarked printing output, disabled cut, copy and paste. You need to think outside the squares a bit I think for this market.... Scott From scott at proherp.com Mon Aug 22 23:54:46 2005 From: scott at proherp.com (Scott Kane) Date: Tue, 23 Aug 2005 13:54:46 +1000 Subject: Revolution Compatible Registration Tool In-Reply-To: <000601c5a795$e4572810$0201010a@proherps56yaxv> Message-ID: <000701c5a796$6caae800$0201010a@proherps56yaxv> Having said that about Mac and *nix take a look at http://www.esellerate.net/ They are a registration service (collect money on behalf of software authors) and have a wrapper/order generator for software. They have an SDK for Mac, but I'm not aware of a *nix one... Scott From sims at ezpzapps.com Mon Aug 22 23:55:23 2005 From: sims at ezpzapps.com (sims) Date: Tue, 23 Aug 2005 05:55:23 +0200 Subject: what is a cgi.sh? Message-ID: sims wrote: >Using Rev 2.6 & OS X Tiger. >Answer dialogs will not display all the text I have scripted for >them, text does not wrap, and >the dialog is not very wide (does not expand to accommodate text). >Text seems to run off >the dialog and into space. > >I searched the archives and found Eric Chatone's patch at: >http://lists.runrev.com/pipermail/use-revolution/2005-June/060751.html > >I installed that patch, restarted Rev but still have the issue of not >all text appearing in the answer dialog field. After more searching at Bugzilla I came across a patch made by Rev which is "attachment.cgi.sh" that claims to fix my problem. What do I do with such a file? How do I run this? ciao, sims From b.xavier at internet.lu Tue Aug 23 00:23:40 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 23 Aug 2005 06:23:40 +0200 Subject: confirmation problem Message-ID: <20050823040632.C8F8A825296@mail.runrev.com> Just discovered that the lockmessages command is not respected by the palette command. I have a card preopenstack handler that gets triggered! Can anyone confirm this... recipee make a button that contains this cool little script it's my palette to stack mode switcher create button "Pal" set the autohilite of it to false on mouseUp lock screen lock messages get (the short name of this stack) put the topleft of this stack into x if the hilite of me then unhilite me toplevel it set the decorations of stack it to default set the topleft of this stack to x else hilite me palette it set the decorations of stack it to "" set the topleft of this stack to x end if end mouseup in your stack's card script put on preopenstack put the time pass preopenstack end preopenstack When you toplevel the stack, you wont see the time but if you "Palette" the stack, you will... This is a bug right? cheers Xavier http://monsieurx.com Home of the TAOO - The Art Of Objects From ambassador at fourthworld.com Tue Aug 23 00:36:10 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 22 Aug 2005 21:36:10 -0700 Subject: Revolution Compatible Registration Tool In-Reply-To: <000501c5a794$75236720$0201010a@proherps56yaxv> References: <000501c5a794$75236720$0201010a@proherps56yaxv> Message-ID: <430AA7BA.60007@fourthworld.com> Scott Kane wrote: >>Great practical advice, Scott. Thanks for sharing. > > You are most welcome. Members, please feel free to > ask anytime about this stuff. Without trying to blow > my horn I've been in amongst this stuff for a couple > of decades and moderate three Big 8 newsgroups on > Usenet: > comp.software.shareware.authors > comp.software.shareware.users > comp.software.shareware.announce. > > You'll find people there (particularly in the authors group) > that can and will answer many of these kind of questions. You're one of the moderators there? So cool! Folks, he's being modest: for small software development shops like most of us have, those newsgroups are the most valuable things in Usenet. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From b.xavier at internet.lu Tue Aug 23 00:54:33 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 23 Aug 2005 06:54:33 +0200 Subject: Revolution Compatible Registration Tool In-Reply-To: <000701c5a796$6caae800$0201010a@proherps56yaxv> Message-ID: <20050823043723.C07068252DA@mail.runrev.com> Last year, i was working on a specialized registration manager module. It is based on different types of registration schemes (1-x users), different key exchange schemes, proprietary algorithms, quantized-encryption, hardware-locking, etc... It can work in any stack with or without net registration. Unfortunately there wasn't much interest so I dropped the project's priority until i would require it for TAOO's release... Price is EU mid 3 digits for the registration kits (encrypted stack made for your program), 4 digits for the full SDK and code... Depends on what you need... There is also a registration database/management tool that comes with it and examples. If i have 3 committed customers, i'll put it's priority back to #1... 1-3 months required for the release depending on the options you need. cheers Xavier From kee at kagi.com Tue Aug 23 00:57:04 2005 From: kee at kagi.com (kee nethery) Date: Mon, 22 Aug 2005 21:57:04 -0700 Subject: Revolution Compatible Registration Tool In-Reply-To: <5F917E05-AF07-42CD-BADF-32479EADD108@danshafer.com> References: <439203A3-1331-11DA-B7BE-0030659A795C@derbrill.de> <5F917E05-AF07-42CD-BADF-32479EADD108@danshafer.com> Message-ID: <165EAC85-FDCF-4292-BD27-3F1684D1D9B0@kagi.com> Just waiting for Andre to finish it and release it. Kee On Aug 22, 2005, at 4:18 PM, Dan Shafer wrote: > Kagi was indeed working on such a module when we held RevCon West a > couple of months ago. As far as I can tell, they have not yet > announced that product. > > Disabling some features of the product until some condition is met > is straightforward provided, of course, you've modularized your > code sufficiently. > > I don't suspect this kind of thing would be hard to roll your own. > The "hard" part is coming up with an unlock code/mechanism that > can't be trivially cracked. > > On Aug 22, 2005, at 10:22 AM, Malte Brill wrote: > > >> Hi Levi, >> >> >At this point I'm looking for any system to do this, perhaps it >> could be web integrated >> >> I vaguely recall that there should have been a Kagi Module for >> Revolution. I could also be wrong. :-) Kee might be able to tell >> you more about it. Maybe this thread is interesting: >> >> http://lists.runrev.com/pipermail/use-revolution/2004-December/ >> 048308.html >> >> >be able to unlock with a serial code while offline, >> >anything of the sort. >> >> This could easiely be scripted. I have a demo stack available >> here. Scripts are commented. >> >> http://www.derbrill.de/revstack/passwort.rev.zip >> >> Once the user has unlocked your program you can write it into an >> external file (which your app checks for at startup) If the file >> is present and the data is correct you allow access to all >> features, otherwise you only allow access to the features you want >> the user to use. >> >> A general tip: >> >> Password protect your stack before you distribute it. >> >> Hope that helps, >> >> Malte >> >> >> --------------------------------------------------------------------- >> --------------- >> ArcadeEngine - prepare to WOW your audience within minutes >> http://www.runrev.com/section/revselect/arcadeengine >> http://www.derbrill.com/arcadeengine/forum >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at proherp.com Tue Aug 23 01:07:52 2005 From: scott at proherp.com (Scott Kane) Date: Tue, 23 Aug 2005 15:07:52 +1000 Subject: Revolution Compatible Registration Tool In-Reply-To: <430AA7BA.60007@fourthworld.com> Message-ID: <000001c5a7a0$a3838a80$0201010a@proherps56yaxv> > You're one of the moderators there? So cool! Yep. I was the first one. Kathy is now my co-mod. Works well as we are in two time zones. > Folks, he's being modest: for small software development shops like > most of us have, those newsgroups are the most valuable > things in Usenet. Actually - there's an internet trade association you might be interested in. I was one of the first members. It's the "Association of Independent Software Industry Professionals". or AISIP for short. It's a modest fee (under US$25 a year if I remember right) and features several *private* newsgroups where things like marketing, technical details and industry news. URL is: http://www.aisip.com While shareware members exist it is not aimed at shareware marketers, but at anybody distributing software online or offering services and resources to software developers. Fantastic atmosphere and very mature content (it's post moderated to make sure things stay nice and pleasant). There are more threads than I can count and it's more active than the public groups on Usenet. N.B. I'm just a happy subscriber - I make no money or gain any kudos from recommending it. If you look at the members page it reads like the who's who of the online software distribution industry. http://www.aisip.com/aisip-members.php Scott Kane From scott at proherp.com Tue Aug 23 01:09:52 2005 From: scott at proherp.com (Scott Kane) Date: Tue, 23 Aug 2005 15:09:52 +1000 Subject: Revolution Compatible Registration Tool In-Reply-To: <20050823043723.C07068252DA@mail.runrev.com> Message-ID: <000101c5a7a0$ed48bbe0$0201010a@proherps56yaxv> Sounds good, but a little pricey? What is your idea of 3 digits? Over US$100? Just curious, not being critical. Scott > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX > Sent: Tuesday, 23 August 2005 2:55 PM > To: 'How to use Revolution' > Subject: RE: Revolution Compatible Registration Tool > > > Last year, i was working on a specialized registration > manager module. > > It is based on different types of registration schemes (1-x > users), different key exchange schemes, proprietary > algorithms, quantized-encryption, hardware-locking, etc... > > It can work in any stack with or without net registration. > > Unfortunately there wasn't much interest so I dropped the > project's priority until i would require it for TAOO's release... > > Price is EU mid 3 digits for the registration kits (encrypted > stack made for your program), 4 digits for the full SDK and > code... Depends on what you need... There is also a > registration database/management tool that comes with it and examples. > > If i have 3 committed customers, i'll put it's priority back > to #1... 1-3 months required for the release depending on the > options you need. > > cheers > Xavier > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From scott at proherp.com Tue Aug 23 01:11:00 2005 From: scott at proherp.com (Scott Kane) Date: Tue, 23 Aug 2005 15:11:00 +1000 Subject: Revolution Compatible Registration Tool In-Reply-To: <165EAC85-FDCF-4292-BD27-3F1684D1D9B0@kagi.com> Message-ID: <000201c5a7a1$163989d0$0201010a@proherps56yaxv> > Just waiting for Andre to finish it and release it. Seeing that Kagi is Mac Mecca () I'd be very pleased to hear when it is finished! :-) Scott From kray at sonsothunder.com Tue Aug 23 03:09:00 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 23 Aug 2005 02:09:00 -0500 Subject: [ANN] XML Library 1.1.7 Available Message-ID: This is a quick announcement to let those who have used the STS XML Library that there's a minor update that takes care of a couple of regex bugs that will enable it to work properly in Rev 2.6. You can download your copy of 1.1.7 at: http://www.sonsothunder.com/products/metacard/xmllib.htm Thos of you who purchased the "Standard" version, you should be receiving upgrades in your email (let me know if you don't get it). Thanks, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From rishi at puredata.com.au Tue Aug 23 03:18:14 2005 From: rishi at puredata.com.au (Rishi Viner) Date: Tue, 23 Aug 2005 17:18:14 +1000 Subject: Revolution running on Ubuntu? In-Reply-To: <200508191451.j7JEp8fr001934@everymail-A16-C01.everymail.net> References: <200508191451.j7JEp8fr001934@everymail-A16-C01.everymail.net> Message-ID: <200508231718.14091.rishi@puredata.com.au> Hi Peter, I use Rev under Fedora and SuSE linux. Don't expect everything to run 'perfectly', but it will run very well. One 'gotcha' if you are running under KDE: make sure you close "klipper" (clipboard tool) as it will interfere with your cut/copy/paste ability in the script editor. There is a bug filed about this problem, but you just have to work around it for now. Hope this helps. Cheers, Rishi Viner. On Sat, 20 Aug 2005 12:51 am, rev at everymail.net wrote: > Had anyone sucess running Revolution under Ubuntu Linux or > Debian? > Best Regards > Peter -- Rishi Viner PUREDATA Australia www.puredata.com.au From ambassador at fourthworld.com Tue Aug 23 03:27:42 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 23 Aug 2005 00:27:42 -0700 Subject: Revolution Compatible Registration Tool In-Reply-To: <000001c5a7a0$a3838a80$0201010a@proherps56yaxv> References: <000001c5a7a0$a3838a80$0201010a@proherps56yaxv> Message-ID: <430ACFEE.8050302@fourthworld.com> Scott Kane wrote: > Actually - there's an internet trade association you > might be interested in. I was one of the first members. > It's the "Association of Independent Software Industry Professionals". > or AISIP for short. > > It's a modest fee (under US$25 a year if I remember right) and features > several *private* newsgroups where things like marketing, technical > details and industry news. URL is: http://www.aisip.com > While shareware members exist it is not aimed at shareware marketers, > but at anybody distributing software online or offering services > and resources to software developers. Fantastic atmosphere and > very mature content (it's post moderated to make sure things stay > nice and pleasant). There are more threads than I can count and > it's more active than the public groups on Usenet. N.B. I'm > just a happy subscriber - I make no money or gain any kudos from > recommending it. > > If you look at the members page it reads like the who's who of > the online software distribution industry. > http://www.aisip.com/aisip-members.php Any opinions about the pros and cons of AISIP vs. ASP? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From scott at proherp.com Tue Aug 23 03:41:11 2005 From: scott at proherp.com (Scott Kane) Date: Tue, 23 Aug 2005 17:41:11 +1000 Subject: Revolution Compatible Registration Tool In-Reply-To: <430ACFEE.8050302@fourthworld.com> Message-ID: <000001c5a7b6$0edc9230$0201010a@proherps56yaxv> > Any opinions about the pros and cons of AISIP vs. ASP? I was Vice President and also a member of the BOD at the ASP as well as being a member for many years. The ASP is good - but I find the politics annoying and found myself unsubscribing from the newsgroups to avoid that and the squabbling. The ASP is a non-profit. I disliked the committee to form a committee approach and let my membership expire this year. AISIP is privately owned so there are no politics, any squabbles (and I can't remember one since inception of the org') are dealt with immediately by Sue Pinchotta (the owner operator). Sue's a great lady and very fair. Both the ASP and AISIP have several newsgroups. I find the signal to noise ratio in AISIP to be of a higher quality. Both the ASP and AISIP offer member discounts on software, books etc. But best of all everybody is friendly and willing to help in AISIP, where as the ASP can be a bit of an "in club". I was in the "in club" and felt badly for those who were not. Both org's offer value in different ways. But I prefer AISIP. Scott From dburgun at dsl.pipex.com Tue Aug 23 09:16:01 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 23 Aug 2005 14:16:01 +0100 Subject: Getting All the non grouped controls in a card In-Reply-To: <200508231718.14091.rishi@puredata.com.au> References: <200508191451.j7JEp8fr001934@everymail-A16-C01.everymail.net> <200508231718.14091.rishi@puredata.com.au> Message-ID: Hi All, How can I get all the controls of a Card that are not in a Group? repeat with myIndex = 1 to number of controls in card 1 of stack "StackPath/StackName.rev" seems to return all controls whether they are in a Group or not. Any pointers greatly appreciated. All the Best Dave From eric.chatonet at sosmartsoftware.com Tue Aug 23 09:21:27 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 23 Aug 2005 15:21:27 +0200 Subject: Getting All the non grouped controls in a card In-Reply-To: References: <200508191451.j7JEp8fr001934@everymail-A16-C01.everymail.net> <200508231718.14091.rishi@puredata.com.au> Message-ID: <90EFD6ED-FDD7-4692-88D9-41145BD55025@sosmartsoftware.com> Hi Dave, repeat with myIndex = 1 to number of controls in card 1 of stack "StackPath/StackName.rev" if word 1 of the owner of control myIndex of card 1 of stack "StackPath/StackName.rev" = "group" then put the long ID of control myIndex of card 1 of stack "StackPath/ StackName.rev & cr after tGroupedControlsList end if end repeat Take care of carriage returns ;-) Hope this helps. Le 23 ao?t 05 ? 15:16, David Burgun a ?crit : > Hi All, > > How can I get all the controls of a Card that are not in a Group? > > repeat with myIndex = 1 to number of controls in card 1 of stack > "StackPath/StackName.rev" > > seems to return all controls whether they are in a Group or not. > > Any pointers greatly appreciated. > > All the Best > Dave Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From rrevolution at softhome.net Tue Aug 23 09:28:29 2005 From: rrevolution at softhome.net (rrevolution at softhome.net) Date: Tue, 23 Aug 2005 16:28:29 +0300 Subject: Revolution Compatible Registration Tool In-Reply-To: <000101c5a784$480cd790$0201010a@proherps56yaxv> References: <5F917E05-AF07-42CD-BADF-32479EADD108@danshafer.com> <000101c5a784$480cd790$0201010a@proherps56yaxv> Message-ID: <504550561.20050823162829@softhome.net> Tuesday, August 23, 2005 4:25:16 PM (GMT +02:00) Hi Scott and to all ppl here, Armadillo sux. Even the application was fully cracked. Also, there are some protectors/packers that offers more protection that Armadillo does. No offence, this is my ideea. Can I have an trial application packed with Armadillo from you ? And you agree to make reverse engineering on it? mail it to me to : bestcd at softhome.net Thanks. regards, Adrian C. __________________________________________ Tuesday, August 23, 2005, 4:44:57 AM Scott Kane wrote : >> I don't suspect this kind of thing would be hard to roll your own. >> The "hard" part is coming up with an unlock code/mechanism >> that can't >> be trivially cracked. > On Windows I use Armadillo - > http://www.siliconrealms.com > I've never been cracked. It blocks Soft Ice and similar > debuggers and even if they unwrap the protective shield > around the app' I use nanomites (a feature of Armadillo) > to obfuscate critical parts of the code. Not only are > these impossible to decipher Armadillo places over 2,500 > fake entry points into the app' making cracking a nightmare. > Crackers web pages I've visited to see how Armadillo stacked > up advise wanna-be pirates to choose a program that is not > protect by Armadillo instead. I haven't tried it with Rev > and it is *only* a Windows 32 and 64 bit tool. It also > shrinks the final executable. > A traditional way of protecting an app' is leaving critical code > blocks out of the trial version. There is less chance of > a hacker getting the missing code blocks and making their > own that there is for them enabling something that is disabled > for the demo. For example - being able to add new records > to a database by providing only the code for editing and > not inserting. > Scott Kane > Moderator: comp.software.shareware.* > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe > and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > __________ NOD32 1.1199 (20050822) Information __________ > This message was checked by NOD32 antivirus system. > http://www.eset.com __________________________________________ From david at openpartnership.net Tue Aug 23 09:57:01 2005 From: david at openpartnership.net (david bovill) Date: Tue, 23 Aug 2005 15:57:01 +0200 Subject: Repost: Simple question: html link in browser opening a Rev Stack? References: <2AF5CA66-7024-47AA-AE90-3602AED9A3E7@openpartnership.net> Message-ID: <3AF0617D-B92E-4440-872D-BC3C09E4064C@openpartnership.net> Sorry to post again any ideas? Begin forwarded message: > From: david bovill > Date: 21 August 2005 15:20:48 GMT+02:00 > To: How to use Revolution > Subject: Simple question: html link in browser opening a Rev Stack? > Reply-To: How to use Revolution > > > Been a while since I've done this - can someone help? > > From memory there are 1 or 2 things that must be set up for this to > work properly: > > 1. Mime types set up on local machine so that the browser > recognises stack as something to be opened by Rev > 2. Possibly mime types set on http server - is this only for > saving file type during download? > > From memory I remember a stack that automatically set the default > browser to do this? Does this stack still exist? What are the cross- > platform / cross browser issues here - mainly interested in OSX and > Linux for next week. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From tominjapan at excite.com Tue Aug 23 10:25:44 2005 From: tominjapan at excite.com (Thomas McCarthy) Date: Tue, 23 Aug 2005 10:25:44 -0400 (EDT) Subject: Sending mail via libSMTP on cgi Message-ID: <20050823142544.7DADAB742@xprdmailfe19.nwk.excite.com> There is egg on my cgi face. 1. form mail is only used for recieving submissions--not for sending out emails to various address. 2. I tried plan B (use rev) I uploaded Andre's Raw SMTP stack (after adapting it for testing) Failed. Then I remembered my host won't allow sockets to be opened. 3. Plan C: Ask the RevList. I've already given up on the idea of running a rev chat program from my host server (socket problem, again). I may have to give up this idea as well. tom _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From soapdog at mac.com Tue Aug 23 10:35:37 2005 From: soapdog at mac.com (Andre Garzia) Date: Tue, 23 Aug 2005 11:35:37 -0300 Subject: Revolution Compatible Registration Tool In-Reply-To: <000201c5a7a1$163989d0$0201010a@proherps56yaxv> References: <000201c5a7a1$163989d0$0201010a@proherps56yaxv> Message-ID: On Aug 23, 2005, at 2:11 AM, Scott Kane wrote: >> Just waiting for Andre to finish it and release it. >> > > Seeing that Kagi is Mac Mecca () I'd be very pleased > to hear when it is finished! :-) > > Scott > The module is almost done. I am testing it on Tiger. cheers andre > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ps1 at softseven.org Tue Aug 23 10:34:01 2005 From: ps1 at softseven.org (Paul Salyers) Date: Tue, 23 Aug 2005 09:34:01 -0500 Subject: Access DB & RunRev Message-ID: <6.1.1.1.2.20050823093237.0263df20@softseven.org> Is it possible to extract records from Access db using Rev.? Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org (918) 465-7426 -- Cell (918) 967-1013 -- Home From scott at proherp.com Tue Aug 23 10:39:19 2005 From: scott at proherp.com (Scott Kane) Date: Wed, 24 Aug 2005 00:39:19 +1000 Subject: Revolution Compatible Registration Tool In-Reply-To: <504550561.20050823162829@softhome.net> Message-ID: <000001c5a7f0$78857910$0201010a@proherps56yaxv> > Armadillo sux. Even the application was fully > cracked. > Also, there are some protectors/packers that > offers more protection that Armadillo does. > No offence, this is my ideea. Nothing is ever un-crackable. Armadillo comes pretty close. ASProtect is cracked in minutes. I did it myself (I also own ASProtect). I've not managed to crack Arm. Especially with the nanomites - and I know where they are! > Can I have an trial application packed with > Armadillo from you ? And you agree to make reverse > engineering on it? As long as you do it privately and only notify/show me then yes. Try http://www.proherp.com Download the software Free Herp. It's freeware, but it has certain restrictions and they are protected by Arm. You can contact me direct using scott at proherp.com Scott From scott at proherp.com Tue Aug 23 10:39:59 2005 From: scott at proherp.com (Scott Kane) Date: Wed, 24 Aug 2005 00:39:59 +1000 Subject: Revolution Compatible Registration Tool In-Reply-To: Message-ID: <000101c5a7f0$8fe84240$0201010a@proherps56yaxv> > The module is almost done. I am testing it on Tiger. Thanks Andre! Looking forward to it. :-) Scott From scott at proherp.com Tue Aug 23 10:54:11 2005 From: scott at proherp.com (Scott Kane) Date: Wed, 24 Aug 2005 00:54:11 +1000 Subject: Access DB & RunRev In-Reply-To: <6.1.1.1.2.20050823093237.0263df20@softseven.org> Message-ID: <000201c5a7f2$8b994890$0201010a@proherps56yaxv> > Is it possible to extract records from Access db using Rev.? Isn't Rev ODBC compatible? If so then yes - providing you have the ODBC driver (installed with Access or auto installed in Windows XP). Scott From soapdog at mac.com Tue Aug 23 10:58:00 2005 From: soapdog at mac.com (Andre Garzia) Date: Tue, 23 Aug 2005 11:58:00 -0300 Subject: The KRM (Re: Revolution Compatible Registration Tool) In-Reply-To: <000101c5a7f0$8fe84240$0201010a@proherps56yaxv> References: <000101c5a7f0$8fe84240$0201010a@proherps56yaxv> Message-ID: On Aug 23, 2005, at 11:39 AM, Scott Kane wrote: >> The module is almost done. I am testing it on Tiger. >> > > Thanks Andre! Looking forward to it. :-) > > Scott > Scott, The Revolution KRM (Kagi Registration Module) is a Revolution Stack that plays the role of middle man talking to secure Kagi Server and your app. It is very easy to use and very secure. Nothing is ever stored on customprops or stuff like that. The connection is secure and kagi protocol is very wise about errors. The module is more than 80% done (as I showed on RevConWest) the only things missing are: * I am stress testing error functions. * I fiddling with unicode values to see if the library can handle it well. Of course there are armadillo, eSellerate and even PayPal IPN solution. You can use any of those solutions to collect money and some to work out the registrarion of your app and stuff like that but Rev KRM is the only cross platform solution... it's built in Rev for Rev... cheers andre > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dburgun at dsl.pipex.com Tue Aug 23 11:00:47 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 23 Aug 2005 16:00:47 +0100 Subject: Basic Object Address Question In-Reply-To: <20050823142544.7DADAB742@xprdmailfe19.nwk.excite.com> References: <20050823142544.7DADAB742@xprdmailfe19.nwk.excite.com> Message-ID: Hi, I am a bit confused, should the following code work? put the long name of card 1 into myCardName put the name of control 1 of card myCardName into myControlName I get an error when I try to do this and changed the code to: put the name of control 1 of card myCard of stack myStack into my ControlName Which is ok, but what I really want to be able to do is this: put long name of group myGroup into myGroupName -- String of something like "group x of group y of group z of card c of stack s" put the name of group myGroupName into myGroupName. Any Ideas? Thanks a lot Dave From soapdog at mac.com Tue Aug 23 11:06:37 2005 From: soapdog at mac.com (Andre Garzia) Date: Tue, 23 Aug 2005 12:06:37 -0300 Subject: Basic Object Address Question In-Reply-To: References: <20050823142544.7DADAB742@xprdmailfe19.nwk.excite.com> Message-ID: <665DA766-1F7B-449F-AD16-618C6742E6E2@mac.com> Dave, it's just a mistake, see that when you put the long name of a control into a var, that variable also contains the type of control, it's a complete reference. for example, on a newly created stack, the long name of card 1 returns: card id 1002 of stack "Untitled 1" So if you put the long name of a control into a variable, when you're using it, you don't need the control kind, so your example should be: put the long name of card 1 into myCardName put the name of control 1 of myCardName .... See? Cheers andre On Aug 23, 2005, at 12:00 PM, David Burgun wrote: > Hi, > > > I am a bit confused, should the following code work? > > put the long name of card 1 into myCardName > put the name of control 1 of card myCardName into myControlName > > I get an error when I try to do this and changed the code to: > > put the name of control 1 of card myCard of stack myStack into my > ControlName > > Which is ok, but what I really want to be able to do is this: > > put long name of group myGroup into myGroupName -- String of > something like "group x of group y of group z of card c of stack s" > put the name of group myGroupName into myGroupName. > > > Any Ideas? > > Thanks a lot > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Tue Aug 23 11:08:51 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 23 Aug 2005 17:08:51 +0200 Subject: Basic Object Address Question In-Reply-To: References: <20050823142544.7DADAB742@xprdmailfe19.nwk.excite.com> Message-ID: <64E68917-A5E8-4855-874D-13B6C5484705@sosmartsoftware.com> Dave, Try: put long name of group myGroup into myGroupName -- myGroupName is now a variable that includes all information about the control -- so you do not need to write: put the name of group myGroupName, but only: put the short name of myGroupName Le 23 ao?t 05 ? 17:00, David Burgun a ?crit : > Hi, > > > I am a bit confused, should the following code work? > > put the long name of card 1 into myCardName > put the name of control 1 of card myCardName into myControlName > > I get an error when I try to do this and changed the code to: > > put the name of control 1 of card myCard of stack myStack into my > ControlName > > Which is ok, but what I really want to be able to do is this: > > put long name of group myGroup into myGroupName -- String of > something like "group x of group y of group z of card c of stack s" > put the name of group myGroupName into myGroupName. > > > Any Ideas? > > Thanks a lot > Dave Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From scott at proherp.com Tue Aug 23 11:14:51 2005 From: scott at proherp.com (Scott Kane) Date: Wed, 24 Aug 2005 01:14:51 +1000 Subject: The KRM (Re: Revolution Compatible Registration Tool) In-Reply-To: Message-ID: <000001c5a7f5$71eb4f80$0201010a@proherps56yaxv> Hi Andre, > The Revolution KRM (Kagi Registration Module) is a Revolution Stack > that plays the role of middle man talking to secure Kagi Server and > your app. It is very easy to use and very secure. Nothing is ever > stored on customprops or stuff like that. The connection is secure > and kagi protocol is very wise about errors. > > The module is more than 80% done (as I showed on RevConWest) > the only > things missing are: > > * I am stress testing error functions. > * I fiddling with unicode values to see if the library can handle it > well. > > Of course there are armadillo, eSellerate and even PayPal IPN > solution. You can use any of those solutions to collect money and > some to work out the registrarion of your app and stuff like > that but > Rev KRM is the only cross platform solution... it's built in Rev for > Rev... Sounds perfect. Just what the doctor ordered! :-) Scott From revdan at danshafer.com Tue Aug 23 11:46:20 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 23 Aug 2005 08:46:20 -0700 Subject: The KRM (Re: Revolution Compatible Registration Tool) In-Reply-To: References: <000101c5a7f0$8fe84240$0201010a@proherps56yaxv> Message-ID: <2B2E1C32-94AC-4892-BA60-8F75D915B063@danshafer.com> My concern about Kagi -- and I've been a member for a long time -- is that their rates are quite high when compared, e.g., to PayPal. I'm using PayPal and a PayPal support service called SoftSeller to handle the soft-goods fulfillment. They charge 25 cents per download regardless of how many files are in the download. But none of this addresses the original concern of having partial software services available pending an unlock code. I think that requires individual scripting in the stack and some sort of registration process that doesn't actually deliver a product but rather a code that the user can use to unlock the software for full access. (Of course, there's no reason that you couldn't deliver a full version of the software as the second step, overwriting the original, crippled version, in which case something like softseller.com could work nicely.) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From scott at proherp.com Tue Aug 23 11:55:16 2005 From: scott at proherp.com (Scott Kane) Date: Wed, 24 Aug 2005 01:55:16 +1000 Subject: The KRM (Re: Revolution Compatible Registration Tool) In-Reply-To: <2B2E1C32-94AC-4892-BA60-8F75D915B063@danshafer.com> Message-ID: <000001c5a7fb$1484e210$0201010a@proherps56yaxv> > My concern about Kagi -- and I've been a member for a long > time -- is > that their rates are quite high when compared, e.g., to PayPal. I'm with Regsoft right now and have been for some years. But DigitalRiver have been making some noises that RegSoft is a "ageing platform", which does not sound good. > I'm using PayPal and a PayPal support service called SoftSeller to > handle the soft-goods fulfillment. They charge 25 cents per download > regardless of how many files are in the download. I'm not rapt with PayPals rule changing. But they are cheap. > But none of this addresses the original concern of having partial > software services available pending an unlock code. I think that > requires individual scripting in the stack and some sort of > registration process that doesn't actually deliver a product but > rather a code that the user can use to unlock the software for full > access. (Of course, there's no reason that you couldn't deliver a > full version of the software as the second step, overwriting the > original, crippled version, in which case something like > softseller.com could work nicely.) This is an issue that is discussed over and over on various newsgroups. In some ways I think it depends on the product, the type of customer and the size of the app. A 20 meg app isn't an attractive option for re-download. But a developer tool is. Of course - I don't write 20 meg app's. Scott From kray at sonsothunder.com Tue Aug 23 11:55:49 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 23 Aug 2005 10:55:49 -0500 Subject: Sending mail via libSMTP on cgi In-Reply-To: <20050823142544.7DADAB742@xprdmailfe19.nwk.excite.com> Message-ID: On 8/23/05 9:25 AM, "Thomas McCarthy" wrote: > There is egg on my cgi face. > 1. form mail is only used for recieving submissions--not for sending out > emails to various address. > > 2. I tried plan B (use rev) I uploaded Andre's Raw SMTP stack (after adapting > it for testing) Failed. Then I remembered my host won't allow sockets to be > opened. > > 3. Plan C: Ask the RevList. > > I've already given up on the idea of running a rev chat program from my host > server (socket problem, again). I may have to give up this idea as well. Is your host server running Linux? If so, there should be a 'sendmail' program either in the 'bin' or 'usr/bin' folders that you can use a Rev CGI with. Here's an example of a CGI I use (based on Richard Gaskin's standard CGI lib) that sends bug report emails to me from RevZilla (see the "mailMe" handler for the good stuff). Obviously it can be adapted for general use. (Watch for line wraps!) ----------- #!mc local sInArray, sCommand, sKeys, sOutData --| RevZilla Bug Reporting CGI --| Version: 1.1 --| --| --| Used for forwarding bug reports submitted on RevZilla on startup StartCGI -- put "Summary: " & sInArray["summary"] & cr & cr & "Description: " & sInArray["desc"] & cr & cr & "From: " & sInArray["email"] into tMessage mailMe tMessage put "ok" into sOutData -- EndCGI end startup on mailMe pMessage put "/usr/sbin/sendmail -t" into mprocess put "Bug report dated: " & (the short date) & cr & "----------" & cr & cr & urldecode(pMessage) into pMessage open process mprocess for write write "From:" && "metacardcgi at sonsothunder.com" & cr to process mprocess write "To:" && "kray at sonsofthunder.com" & cr to process mprocess write "Subject:" && "RevZilla Bug Report" & cr & cr to process mprocess write pMessage & cr to process mprocess close process mprocess wait until the openprocesses is empty end mailMe --==============================================================-- -- 4w std cgi lib -- on StartCGI put GetPostDataArray() into sInArray put the keys of sInArray into sKeys put sInArray["cmd"] into sCommand end StartCGI on EndCGI SendDataBackToClient sOutData end EndCGI function GetPostData global gTestlocal, gCgiIn if gTestlocal is true then return gCgiIn else if $REQUEST_METHOD is "POST" then put $CONTENT_LENGTH into tLen repeat read from stdin until empty put it after tInput if tLen = length(tInput) then exit repeat end if end repeat return tInput else put "Error calling CGI: Data must be sent as POST." end if end if end GetPostData function GetPostDataArray put GetPostData() into tData split tData by "&" and "=" return tData end GetPostDataArray on SendDataBackToClient global gTestlocal, gCgiOut if gTestlocal is true then put sOutData into gCgiOut else put "Content-Type: text/html" & crlf &\ "Content-Length:"&& length(sOutData) & crlf & crlf put sOutData end if end SendDataBackToClient Enjoy! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Tue Aug 23 11:58:06 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 23 Aug 2005 10:58:06 -0500 Subject: Getting All the non grouped controls in a card In-Reply-To: <90EFD6ED-FDD7-4692-88D9-41145BD55025@sosmartsoftware.com> Message-ID: On 8/23/05 8:21 AM, "Eric Chatonet" wrote: > Hi Dave, > > repeat with myIndex = 1 to number of controls in card 1 of stack > "StackPath/StackName.rev" > if word 1 of the owner of control myIndex of card 1 of stack > "StackPath/StackName.rev" = "group" then > put the long ID of control myIndex of card 1 of stack "StackPath/ > StackName.rev & cr after tGroupedControlsList > end if > end repeat Actually, Eric, he was asking for those controls *not* in a group, but your code works with one minor adjustment (and a name change): repeat with myIndex = 1 to number of controls in card 1 of stack "StackPath/StackName.rev" if word 1 of the owner of control myIndex of card 1 of stack "StackPath/StackName.rev" <> "group" then put the long ID of control myIndex of card 1 of stack "StackPath/ StackName.rev & cr after tUnGroupedControlsList end if end repeat :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From eric.chatonet at sosmartsoftware.com Tue Aug 23 12:04:53 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 23 Aug 2005 18:04:53 +0200 Subject: Getting All the non grouped controls in a card In-Reply-To: References: Message-ID: <88CA6A46-0342-453D-9CC9-DEFD0F6F3572@sosmartsoftware.com> Hi Ken and Dave, I just come back from holydays :-) Absent-mindedness... Bad English... My apologies to Dave! My thanks to Ken ;-) Le 23 ao?t 05 ? 17:58, Ken Ray a ?crit : > On 8/23/05 8:21 AM, "Eric Chatonet" > > wrote: > > >> Hi Dave, >> >> repeat with myIndex = 1 to number of controls in card 1 of stack >> "StackPath/StackName.rev" >> if word 1 of the owner of control myIndex of card 1 of stack >> "StackPath/StackName.rev" = "group" then >> put the long ID of control myIndex of card 1 of stack >> "StackPath/ >> StackName.rev & cr after tGroupedControlsList >> end if >> end repeat >> > > Actually, Eric, he was asking for those controls *not* in a group, > but your > code works with one minor adjustment (and a name change): > > repeat with myIndex = 1 to number of controls in card 1 of stack > "StackPath/StackName.rev" > if word 1 of the owner of control myIndex of card 1 of stack > "StackPath/StackName.rev" <> "group" then > put the long ID of control myIndex of card 1 of stack "StackPath/ > StackName.rev & cr after tUnGroupedControlsList > end if > end repeat > > :-) > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com From b.xavier at internet.lu Tue Aug 23 12:19:01 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 23 Aug 2005 18:19:01 +0200 Subject: The KRM (Re: Revolution Compatible Registration Tool) In-Reply-To: <000001c5a7fb$1484e210$0201010a@proherps56yaxv> Message-ID: <20050823160145.02A518252E1@mail.runrev.com> Scott, This all depends on the application and its popularity... i dont care to download 20MBs updates or 300 demos if they are "good" or critically needed or if they give me a 10% boost... i also got unlimided downloads and adsl going so... downloads dont have a price... they just compete for diskspace... Elasticity of demand economix... cheers Xav > This is an issue that is discussed over and over on various > newsgroups. In some ways I think it depends on the product, > the type of customer and the size of the app. A 20 meg app > isn't an attractive option for re-download. But a developer > tool is. Of course - I don't write 20 meg app's. > > Scott > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Tue Aug 23 12:29:05 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 23 Aug 2005 18:29:05 +0200 Subject: Basic Object Address Question - and wrapper answers sauce a la TAOO In-Reply-To: <64E68917-A5E8-4855-874D-13B6C5484705@sosmartsoftware.com> Message-ID: <20050823161153.AE4E9825342@mail.runrev.com> > On Behalf Of Eric Chatonet > Dave, > > Try: > > put long name of group myGroup into myGroupName > -- myGroupName is now a variable that includes all information about > the control > -- so you do not need to write: put the name of group myGroupName, > but only: > put the short name of myGroupName Eric, This is my favorite way to talk to objects... put the long name of control x into thisobject you can "do" everything "safely" now to your thisobject... set the rect of this object to arect except assuming thisobject is a field delete line 2 of thisobject or worse put empty into thisfield you are then working on the variable, emptying it's valuable content... so this requires the clever dynamic script trick i love so much: do "put empty into" && thisfield [see the "do" command in the revdocs ;)] Test it a bit... to avoid lengthy checking of what went wrong try first to get -- eg "get the time" do it If you breakpoint after the "get", you can easily see the command that is going to be fed to the compiler... eh, sorry, interpreter... Dynamic scripts are slower - but not that slow... - wrappers a la Taoo - delicious with a great IDE like Rev... This lends itself to wrappers anytime! How to build your own libraries? ... do something to this library context object... so in brief, we modularize and normalize (reduce) handlers to their minimum such that they are strictly . Here for a field class library we have a great example... with some exceptions that require dynamic scripting. And it's the way TAOO or many other libraries work too - using both the basic long name reference and the dynamic execution. I know some expensive tools that dont do this and they suffer badly from it! Remember the key is to use the long name. It avoids all confusions. on ClearFields objs repeat for each line thisobj in objs if exists(thisobj) then do "put empty into" && thisobj end repeat end ClearFields For more examples, try my geometry manager GIM.rev on MonsieurX.com (easy to 'find'). Since the long name contains the full path to any control, you can't miss working on the right field or tripping on a changed-name field!!! Remember also that the long ID of a control is less likely to change within a stack than a long name. That's assuming you dont replicate this one to other stacks where names dont change but IDs do! - IDs have their short comings too... And so with that concludes this little trick of TAOO wrapping and Xtalk object addressing in the single, plural form ;) More about this very soon (ed.) cheerios Xavier http://monsieurx.com/taoo > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Eric Chatonet > Sent: Tuesday, August 23, 2005 17:09 > To: How to use Revolution > Subject: Re: Basic Object Address Question > > Dave, > > Try: > > put long name of group myGroup into myGroupName > -- myGroupName is now a variable that includes all information about > the control > -- so you do not need to write: put the name of group myGroupName, > but only: > put the short name of myGroupName > > Le 23 ao?t 05 ? 17:00, David Burgun a ?crit : > > > Hi, > > > > > > I am a bit confused, should the following code work? > > > > put the long name of card 1 into myCardName > > put the name of control 1 of card myCardName into myControlName > > > > I get an error when I try to do this and changed the code to: > > > > put the name of control 1 of card myCard of stack myStack into my > > ControlName > > > > Which is ok, but what I really want to be able to do is this: > > > > put long name of group myGroup into myGroupName -- String of > > something like "group x of group y of group z of card c of stack s" > > put the name of group myGroupName into myGroupName. > > > > > > Any Ideas? > > > > Thanks a lot > > Dave > > > Best Regards from Paris, > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > > Free plugins and tutorials on my website > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Tue Aug 23 12:39:31 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 23 Aug 2005 18:39:31 +0200 Subject: Access DB & RunRev In-Reply-To: <6.1.1.1.2.20050823093237.0263df20@softseven.org> Message-ID: <20050823162214.6DA188252F1@mail.runrev.com> via vbs is probably your best bet... or the quick and dirty export tables to text files... xml may be the best way to keep your records and sub table's contents together... or you can use Chipp's AltSQLite plugin to go directly to offline sql... hope that guides you... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Paul Salyers > Sent: Tuesday, August 23, 2005 16:34 > To: use-revolution at lists.runrev.com > Subject: Access DB & RunRev > > Is it possible to extract records from Access db using Rev.? > > > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > Http://ps1.SoftSeven.org > (918) 465-7426 -- Cell > (918) 967-1013 -- Home > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Tue Aug 23 12:39:31 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 23 Aug 2005 18:39:31 +0200 Subject: Getting All the non grouped controls in a card In-Reply-To: Message-ID: <20050823162217.378458253B5@mail.runrev.com> > > Actually, Eric, he was asking for those controls *not* in a > group, but your code works with one minor adjustment (and a > name change): Ken is right... but in the "basic object address" form it's much easier to read... put the long name of cd 1 of stack "StackPath/StackName.rev" into thiscd put the number of controls in thiscd into controlcount repeat with x = 1 to controlcount get the long name of the owner of control x of thiscd if it is not thiscd then put it & cr after controllist -- or put it into cdcontrols[x] end if end repeat and there more variations im sure ;) just replace the long id|name for the id|name match ;) Oh yes, all these types of things are already in GIM since 2 months - available for the curious... cheers Xavier http://monsieurx.com/taoo - 90% of your scripting is done... isn't it time you started getting the application put together faster? From scott at proherp.com Tue Aug 23 12:39:56 2005 From: scott at proherp.com (Scott Kane) Date: Wed, 24 Aug 2005 02:39:56 +1000 Subject: The KRM (Re: Revolution Compatible Registration Tool) In-Reply-To: <20050823160145.02A518252E1@mail.runrev.com> Message-ID: <000301c5a801$523fe540$0201010a@proherps56yaxv> > This all depends on the application and its popularity... To some extent. You and I have ADSL - but a huge proportion of the world are still relying on good old dial up and will be for some years to come. > i dont care to download 20MBs updates or 300 demos if they > are "good" or critically needed or if they give me a 10% boost... Nor do I. But I have customers who *do*. > i also got unlimided downloads and adsl going so... > downloads dont have a price... they just compete for diskspace... You filling your HD's like I am huh? Hardest thing in my life is sorting out the stuff I don't need. I have a 32 gig drive just for backups of tools I use sometimes. > Elasticity of demand economix... True. But we still can't lose sight of the fact that the majority of the world isn't in our position. ADSL in Australia is *still* relatively expensive and most plans have a maximum number of megs (or gigs) you can pull down a month. I'm on an 8 gig plan. Some people have plans as low as 500 meg a month. It's getting cheaper - but slowly and our major Telco has a monopoly on the exchanges. Scott From scott at proherp.com Tue Aug 23 12:41:34 2005 From: scott at proherp.com (Scott Kane) Date: Wed, 24 Aug 2005 02:41:34 +1000 Subject: Access DB & RunRev In-Reply-To: <20050823162214.6DA188252F1@mail.runrev.com> Message-ID: <000401c5a801$8bf1f210$0201010a@proherps56yaxv> > you can use Chipp's AltSQLite plugin to go directly to offline sql... I just started using AltSQLite today and I am blown away with how easy it is to use! It's a dream come true for me. Scott From subzero569 at gmail.com Tue Aug 23 12:53:32 2005 From: subzero569 at gmail.com (subzero569) Date: Tue, 23 Aug 2005 12:53:32 -0400 Subject: Creating a answer hyperlink Message-ID: <8f8651c1050823095367826f81@mail.gmail.com> I have a simple answer dialog displayed to a user. example: answer information "Today is Tuesday."&cr&"http://www.somesite.com" with ok titled information How can I turn the URL above into a hyperlink to launch the users browser? I am only concerned with Windows solution. I have searched the archives and can't seem to find the right answer. I tried goRevURL but didn't get it to work. TIA, Josh -- Inch by inch, life is a cinch. Yard by yard, life is very hard. From revdan at danshafer.com Tue Aug 23 14:15:04 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 23 Aug 2005 11:15:04 -0700 Subject: Creating a answer hyperlink In-Reply-To: <8f8651c1050823095367826f81@mail.gmail.com> References: <8f8651c1050823095367826f81@mail.gmail.com> Message-ID: I could be wrong (often am) but I think you'll have to use a regular substack to do this and not an answer dialog. As far as I can tell, an answer dialog responds only to clicks on buttons, not to any mouse actions in the text. You *could* of course program a button click to take the user to the site with revGoURL but since you have no control over the appearance of the buttons or of the labels of the buttons in an answer dialog, I'm not sure that accomplishes what you want. The good news is that doing this in a substack is easy and, in some ways, preferable to using the built-in ask/answer dialogs anyway. On Aug 23, 2005, at 9:53 AM, subzero569 wrote: > I have a simple answer dialog displayed to a user. > > example: answer information "Today is > Tuesday."&cr&"http://www.somesite.com" with ok titled information > > How can I turn the URL above into a hyperlink to launch the users > browser? I am only concerned with Windows solution. > > I have searched the archives and can't seem to find the right answer. > I tried goRevURL but didn't get it to work. > > TIA, > > Josh > -- > Inch by inch, life is a cinch. > Yard by yard, life is very hard. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From dburgun at dsl.pipex.com Tue Aug 23 14:31:47 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 23 Aug 2005 19:31:47 +0100 Subject: Basic Object Address Question In-Reply-To: <64E68917-A5E8-4855-874D-13B6C5484705@sosmartsoftware.com> References: <20050823142544.7DADAB742@xprdmailfe19.nwk.excite.com> <64E68917-A5E8-4855-874D-13B6C5484705@sosmartsoftware.com> Message-ID: Great! Thanks a lot!!! Dave >, > >Try: > >put long name of group myGroup into myGroupName >-- myGroupName is now a variable that includes all information about >the control >-- so you do not need to write: put the name of group myGroupName, but only: >put the short name of myGroupName > >Le 23 ao?t 05 ? 17:00, David Burgun a ?crit : > >>Hi, >> >> >>I am a bit confused, should the following code work? >> >>put the long name of card 1 into myCardName >>put the name of control 1 of card myCardName into myControlName >> >>I get an error when I try to do this and changed the code to: >> >>put the name of control 1 of card myCard of stack myStack into my ControlName >> >>Which is ok, but what I really want to be able to do is this: >> >>put long name of group myGroup into myGroupName -- String of >>something like "group x of group y of group z of card c of stack s" >>put the name of group myGroupName into myGroupName. >> >> >>Any Ideas? >> >>Thanks a lot >>Dave > > >Best Regards from Paris, > >Eric Chatonet. >---------------------------------------------------------------- >So Smart Software > >For institutions, companies and associations >Built-to-order applications: management, multimedia, internet, etc. >Windows, Mac OS and Linux... With the French touch > >Free plugins and tutorials on my website >---------------------------------------------------------------- >Web site http://www.sosmartsoftware.com/ >Email eric.chatonet at sosmartsoftware.com/ >Phone 33 (0)1 43 31 77 62 >Mobile 33 (0)6 20 74 50 86 >---------------------------------------------------------------- > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Tue Aug 23 14:47:47 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 23 Aug 2005 11:47:47 -0700 Subject: Creating a answer hyperlink In-Reply-To: References: <8f8651c1050823095367826f81@mail.gmail.com> Message-ID: what about htmltext? Thanks to Eric's htmltext builder in his tutorials, I created the following script: put "

DUDE

" & quote & " & cr & " & quote & "

YOU LEFT THE WATER RUNNING

" & quote & " & cr & " & quote & "

http://barncard.com

" into tPrompt answer error tPrompt with "Cancel" or "OK" titled "Test" as sheet This puts up a neat dialog with a clickable link - but according to the message watcher no messages are sent when clicked - even though the link does hilite. Guess it has to be built. But it would be neat to send a message from the htmltext. The limitation is the dialog mode itself by definition. sqb Dan said: >I could be wrong (often am) but I think you'll have to use a regular >substack to do this and not an answer dialog. As far as I can tell, >an answer dialog responds only to clicks on buttons, not to any >mouse actions in the text. > >You *could* of course program a button click to take the user to the >site with revGoURL but since you have no control over the appearance >of the buttons or of the labels of the buttons in an answer dialog, >I'm not sure that accomplishes what you want. > >The good news is that doing this in a substack is easy and, in some >ways, preferable to using the built-in ask/answer dialogs anyway. > From revlist at cableone.net Tue Aug 23 15:06:42 2005 From: revlist at cableone.net (Chris Sheffield) Date: Tue, 23 Aug 2005 13:06:42 -0600 Subject: test Message-ID: <0D7BC791-A1D7-4ED1-A721-0AC0F9AD9D57@cableone.net> Test. My messages are bouncing. :-) ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From revlist at cableone.net Tue Aug 23 15:08:20 2005 From: revlist at cableone.net (Chris Sheffield) Date: Tue, 23 Aug 2005 13:08:20 -0600 Subject: Creating a answer hyperlink In-Reply-To: References: <8f8651c1050823095367826f81@mail.gmail.com> Message-ID: <4F01A93C-43E1-4A27-BA8E-48500CCC0BD0@cableone.net> On Aug 23, 2005, at 12:47 PM, Stephen Barncard wrote: > This puts up a neat dialog with a clickable link - but according to > the message watcher no messages are sent when clicked - even though > the link does hilite. > Guess it has to be built. But it would be neat to send a message > from the htmltext. The limitation is the dialog mode itself by > definition. Stephen, Not quite true. Well, maybe the message watcher doesn't see it, but it does work if you put a linkClicked handler in the same script where you call the answer dialog. I've got a program that uses this method and it works perfectly. The linkClicked handler then calls revGoURL like normal. ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From dburgun at dsl.pipex.com Tue Aug 23 15:15:47 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 23 Aug 2005 20:15:47 +0100 Subject: Problem with Scrolling List Field In-Reply-To: References: <8f8651c1050823095367826f81@mail.gmail.com> Message-ID: Hi All, I have a Field that is setup as a scrolling list. I can add to the list no problem. However I want to be able to let the user select a single item in the list and then press a "delete" button to delete it. This is the code I have, on the Field: on mouseUp local myClickLine put the clickLike into myClickLine if myClickLine is not empty then select myClickLine else select empty end if end mouseUp Then on the delete button: on mouseUp local mySelectedLine put the selectedLine into mySelectedLine if mySelectedLine is not empty then put theSelectedLine --Dump to message box delete theSelectedLine select empty else beep end if end mouseUp But when I run this, the first time I selected a line it *sometimes* works but then it doesn't work from then on, e.g. it doesn't delete the line, but the message box contains line and field number as expected. If I manually type "delete line 1 of field 1" in the message box, the line gets deleted as expected. What am I doing wrong??? Thanks a lot Dave From kray at sonsothunder.com Tue Aug 23 15:28:45 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 23 Aug 2005 14:28:45 -0500 Subject: Creating a answer hyperlink In-Reply-To: <4F01A93C-43E1-4A27-BA8E-48500CCC0BD0@cableone.net> Message-ID: On 8/23/05 2:08 PM, "Chris Sheffield" wrote: > On Aug 23, 2005, at 12:47 PM, Stephen Barncard wrote: > >> This puts up a neat dialog with a clickable link - but according to >> the message watcher no messages are sent when clicked - even though >> the link does hilite. >> Guess it has to be built. But it would be neat to send a message >> from the htmltext. The limitation is the dialog mode itself by >> definition. > > > Stephen, > > Not quite true. Well, maybe the message watcher doesn't see it, but > it does work if you put a linkClicked handler in the same script > where you call the answer dialog. I've got a program that uses this > method and it works perfectly. The linkClicked handler then calls > revGoURL like normal. Can you clarify this a bit more, Chris? I tried this in a button: on mouseUp answer "

This is a link

" end mouseUp on linkClicked pLink put pLink end linkClicked and it didn't work... I clicked the link, but the answer dialog remained up and nothing showed up in the message box. Any hints? :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From eric.chatonet at sosmartsoftware.com Tue Aug 23 15:29:24 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 23 Aug 2005 21:29:24 +0200 Subject: Creating a answer hyperlink In-Reply-To: <4F01A93C-43E1-4A27-BA8E-48500CCC0BD0@cableone.net> References: <8f8651c1050823095367826f81@mail.gmail.com> <4F01A93C-43E1-4A27-BA8E-48500CCC0BD0@cableone.net> Message-ID: <611D97BD-04F2-4CD2-9E37-948D62ADEDFE@sosmartsoftware.com> Hi Chris, Could you explain how do you get this result? A priori, if you use the standard dialog, the linkClicked message will be sent to the answer dialog stack (card 1) and never to the calling stack. May be this works in a standalone if the standard dialog has become a "substack" and if your call is located in the script of your main stack (I did not verify). I asked Runrev a long time ago to handle links in answer dialogs (at least revGoUrl and revMail ) but I was not heard... Le 23 ao?t 05 ? 21:08, Chris Sheffield a ?crit : > > On Aug 23, 2005, at 12:47 PM, Stephen Barncard wrote: > > >> This puts up a neat dialog with a clickable link - but according >> to the message watcher no messages are sent when clicked - even >> though the link does hilite. >> Guess it has to be built. But it would be neat to send a message >> from the htmltext. The limitation is the dialog mode itself by >> definition. >> > > > Stephen, > > Not quite true. Well, maybe the message watcher doesn't see it, > but it does work if you put a linkClicked handler in the same > script where you call the answer dialog. I've got a program that > uses this method and it works perfectly. The linkClicked handler > then calls revGoURL like normal. Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From kray at sonsothunder.com Tue Aug 23 15:30:31 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 23 Aug 2005 14:30:31 -0500 Subject: Problem with Scrolling List Field In-Reply-To: Message-ID: On 8/23/05 2:15 PM, "David Burgun" wrote: > But when I run this, the first time I selected a line it *sometimes* > works but then it doesn't work from then on, e.g. it doesn't delete > the line, but the message box contains line and field number as > expected. If I manually type "delete line 1 of field 1" in the > message box, the line gets deleted as expected. > > What am I doing wrong??? Well, you could try: do "delete" && the selectedLine The possibility might be one of focus - if the button has its traversalOn property set to true, turn it off - it may be grabbing the focus from the field. That's my 2 cents, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From eric.chatonet at sosmartsoftware.com Tue Aug 23 15:37:24 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 23 Aug 2005 21:37:24 +0200 Subject: Creating a answer hyperlink In-Reply-To: <611D97BD-04F2-4CD2-9E37-948D62ADEDFE@sosmartsoftware.com> References: <8f8651c1050823095367826f81@mail.gmail.com> <4F01A93C-43E1-4A27-BA8E-48500CCC0BD0@cableone.net> <611D97BD-04F2-4CD2-9E37-948D62ADEDFE@sosmartsoftware.com> Message-ID: Le 23 ao?t 05 ? 21:29, Eric Chatonet a ?crit : > I asked Runrev a long time ago to handle links in answer dialogs > (at least revGoUrl and revMail address>) but I was not heard... And I add: it would be easy. If I have a couple of minutes, I shall write a patch tomorrow... Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From revlist at cableone.net Tue Aug 23 16:12:05 2005 From: revlist at cableone.net (Chris Sheffield) Date: Tue, 23 Aug 2005 14:12:05 -0600 Subject: Creating a answer hyperlink In-Reply-To: References: Message-ID: Okay, for a minute there I thought I was going crazy. I have this substack I'm using where this works just fine, but I tried exactly what you just tried and it didn't work. The difference: my substack is a library that I "put in use". And sure enough, when I did a "start using" on the little temp stack I was testing with, it worked. Kind of a strange thing. I guess I never realized that before because I had been using the substack like that long before I ever put this answer dialog in. And when it worked just fine, I just thought that's how it worked and didn't think about it further. Anyway, that appears to be the workaround for now. Until Eric releases his patch, that is. :-) Not sure if it's much of a workaround or not. Is it worth the extra stack in use just to have links in an answer dialog? For me it works well because that script contains other handlers that are called throughout my program. Chris On Aug 23, 2005, at 1:28 PM, Ken Ray wrote: > On 8/23/05 2:08 PM, "Chris Sheffield" wrote: > > >> On Aug 23, 2005, at 12:47 PM, Stephen Barncard wrote: >> >> >>> This puts up a neat dialog with a clickable link - but according to >>> the message watcher no messages are sent when clicked - even though >>> the link does hilite. >>> Guess it has to be built. But it would be neat to send a message >>> from the htmltext. The limitation is the dialog mode itself by >>> definition. >>> >> >> >> Stephen, >> >> Not quite true. Well, maybe the message watcher doesn't see it, but >> it does work if you put a linkClicked handler in the same script >> where you call the answer dialog. I've got a program that uses this >> method and it works perfectly. The linkClicked handler then calls >> revGoURL like normal. >> > > Can you clarify this a bit more, Chris? I tried this in a button: > > on mouseUp > answer "

This is a link

" > end mouseUp > > on linkClicked pLink > put pLink > end linkClicked > > and it didn't work... I clicked the link, but the answer dialog > remained up > and nothing showed up in the message box. > > Any hints? > > :-) > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From jhurley at infostations.com Tue Aug 23 16:21:34 2005 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 23 Aug 2005 13:21:34 -0700 Subject: OT: Computer Science in today's market In-Reply-To: <20050823170004.48AFE8253DF@mail.runrev.com> References: <20050823170004.48AFE8253DF@mail.runrev.com> Message-ID: Thought some of you might be interested in this article from the NYT on Computer Science as a major in today's world of technology and the problems with off-shoring of programming jobs. TECHNOLOGY | August 23, 2005 ATechie, Absolutely, and More By STEVE LOHR For computer science students, expanding expertise beyond programming is crucial to future job security as technology jobs move to India and China. Jim From eric.chatonet at sosmartsoftware.com Tue Aug 23 16:37:23 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 23 Aug 2005 22:37:23 +0200 Subject: [ANN] Answer Dialog Links Patch Message-ID: Well, I had a couple of minutes :-) So I wrote a little patch for the built-in Rev Answer Dialog allowing to display prompts providing functional links: Please, note that the patched Answer dialog will only recognize the following link types: A website address: http://www.sosmartsoftware.com/ A mailTo: eric.chatonet at sosmartsoftware.com Just paste in the message box: go url "http://www.sosmartsoftware.com/downloads/ AnswerDialogLinksPatch.rev" Or go to Rev Online (user: So Smart Software - stack "Answer Dialog Links Patch") And enjoy! PS. If you desire to learn how to built answer dialogs in html providing styled prompts with links and other features, just download Tutorials Picker from the So Smart Software website or Rev Online. This plugin lets you access to many tutorials, one of which, called "Managing Answer Dialogs", provides an automated html prompt builder to get you started. Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From ambassador at fourthworld.com Tue Aug 23 16:43:41 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 23 Aug 2005 13:43:41 -0700 Subject: OT: Computer Science in today's market In-Reply-To: References: <20050823170004.48AFE8253DF@mail.runrev.com> Message-ID: <430B8A7D.30602@fourthworld.com> Jim Hurley wrote: > Thought some of you might be interested in this article from the NYT on > Computer Science as a major in today's world of technology and the > problems with off-shoring of programming jobs. > > TECHNOLOGY | August 23, 2005 > ATechie, > Absolutely, and More > By STEVE LOHR > For computer science students, expanding expertise beyond programming is > crucial to future job security as technology jobs move to India and China. A reassuring read. Makes me glad I never jumped on the bandwagon with commodity languages like Java and VB. Anything that can be commoditized will be sent overseas today, and done by robots tommorrow. I don't know about the rest of you folks, but I spend more time doing requirements analysis and design than coding. Those jobs can be outsourced only at the publisher's peril: design work requires an intimate understanding of not just the regional culture of the target audience, but also the organizational culture. You have to directly observe users in action, interview people at all levels of the organization your software will support, and learn when to listen to what they tell you and when to read between the lines to hear not what they're able to articulate but what they really mean. Software design is more about workflow than algorithms, more about people than machines. A tool like Rev is already doing most of the work that other companies outsource: the bit-counting tedium of lower-level languages. Us Rev devs ge get to focus on the people side of the business, which for me is more enjoyable (when I was working in C I kept asking, "Why am I typing this -- can't the machine do this for me?"), and not likely to move offshore anytime soon (except perhaps with short-sighted companies who prefer to jeopardize their viability by blurring the distinctions between short-term savings and long-term ROI, and I try to avoid working with companies that aren't ROI-driven anyway). -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From eric.chatonet at sosmartsoftware.com Tue Aug 23 16:57:30 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 23 Aug 2005 22:57:30 +0200 Subject: [OT]: Computer Science in today's market In-Reply-To: <430B8A7D.30602@fourthworld.com> References: <20050823170004.48AFE8253DF@mail.runrev.com> <430B8A7D.30602@fourthworld.com> Message-ID: Hi Richard and all, Le 23 ao?t 05 ? 22:43, Richard Gaskin a ?crit : > Software design is more about workflow than algorithms, more about > people than machines. I do agree a thousand times. More, I think that a good idea, right ergonomics and design are 80% of any software value. The rest (coding) has to be clean and well thought (architecture is important) but it's backup only. Men, I'm not a programmer, I'm an obstetrician ;-) Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jbondy at sover.net Tue Aug 23 17:18:38 2005 From: jbondy at sover.net (Jon) Date: Tue, 23 Aug 2005 17:18:38 -0400 Subject: colors in scrolling text field Message-ID: <430B92AE.10000@sover.net> I am creating a scrolling log of program activities, and want to color code the output so that normal events are black or green, but problems are shown in red. I played with setting colors in a regular field, and the colors seem to stick to the field positions, rather than moving with the characters. Am I correct about this? I tried setting the foregroundcolor in a text chunk that was stored in a local variable, but that failed. The idea was to set the colors up in the string before it went out to the scrolling field, in the hopes that the colors would magically be set in the string and follow the characters out to the scrolling field. This does not seem to work either. Am I trying to do something that is not possible in Rev, or am I just not clear on how to accomplish this? I know that HTML support is somehow built into parts of Rev: would using work? I tried it, and it did not work trivially. :) Jon From mwieder at ahsoftware.net Tue Aug 23 17:26:40 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 23 Aug 2005 14:26:40 -0700 Subject: Bloodshed Message-ID: <8318831297.20050823142640@ahsoftware.net> All- I spent some time yesterday downloading and experimenting with the Bloodshed Dev C++ compiler to create Windows external libraries and came up with this: Yes, it can be done. There are a couple of undocumented options you need to set in order to do this. The Bloodshed help file seems fairly useless (where have I heard this before?) but perusing the online gcc documentation with Google gave better, if painstaking, results for the command-line options. There may be #pragmas for some of these things but I haven't found them. Include your source file and XCmdGlue.c. Under Project | Project Options select the "Parameters" tab. Then in the Linker window you will want to have just these two options: -fno-leading-underscore -def myDLL.def The contents of myDLL.def should be: LIBRARY external EXPORTS getXtable Hope this helps someone. -- -Mark Wieder mwieder at ahsoftware.net From wlists at fireworksmm.com Tue Aug 23 17:25:13 2005 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Tue, 23 Aug 2005 17:25:13 -0400 Subject: Password generator In-Reply-To: References: Message-ID: <2B816059-EB68-463F-B2C3-5BDEB6D16001@fireworksmm.com> Does anyone here know where I can find an .htaccess-compatible password generator? I am setting up a website generator program that will require this functionality, but the only thing I can find is php-based systems. Thanks in advance From userev at canelasoftware.com Tue Aug 23 17:27:53 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 23 Aug 2005 14:27:53 -0700 Subject: OT: Computer Science in today's market In-Reply-To: References: <20050823170004.48AFE8253DF@mail.runrev.com> Message-ID: On Aug 23, 2005, at 1:21 PM, Jim Hurley wrote: > Thought some of you might be interested in this article from the > NYT on Computer Science as a major in today's world of technology > and the problems with off-shoring of programming jobs. > > TECHNOLOGY | August 23, 2005 > ex=1125460800&en=6b61cc74c14ba4af&ei=5070&emc=eta1>ATechie, > Absolutely, and More > By STEVE LOHR > For computer science students, expanding expertise beyond > programming is crucial to future job security as technology jobs > move to India and China. > Jim, Great article to bring to everyone's attention. I completely believe that to be a successful developer, one must have a well rounded background in areas outside of programming. The ability to generate and analyze data about competitors, customers, and market conditions creates long term viability. I have passed this link on to others in the field. Mark Talluto -- CANELA Software http://www.canelasoftware.com From got at mindspring.com Tue Aug 23 17:31:30 2005 From: got at mindspring.com (Gordon Tillman) Date: Tue, 23 Aug 2005 16:31:30 -0500 Subject: Password generator In-Reply-To: <2B816059-EB68-463F-B2C3-5BDEB6D16001@fireworksmm.com> References: <2B816059-EB68-463F-B2C3-5BDEB6D16001@fireworksmm.com> Message-ID: <6053403F-94F1-4489-8A41-6DD4B27D4710@mindspring.com> Hi Wally, On Aug 23, 2005, at 16:25, Wally Rodriguez wrote: > Does anyone here know where I can find an .htaccess-compatible > password generator? > > I am setting up a website generator program that will require this > functionality, but the only thing I can find is php-based systems. Do you have access to the htpasswd command on your system? That is what I use to generate passwords manually and I'll bet that you can call it from RR if you need to. -gordon From eric.chatonet at sosmartsoftware.com Tue Aug 23 17:38:21 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 23 Aug 2005 23:38:21 +0200 Subject: colors in scrolling text field In-Reply-To: <430B92AE.10000@sover.net> References: <430B92AE.10000@sover.net> Message-ID: <29BC7256-C275-42E4-BD2A-37A12C2CA9DE@sosmartsoftware.com> Hi Jon, Le 23 ao?t 05 ? 23:18, Jon a ?crit : > I am creating a scrolling log of program activities, and want to > color code the output so that normal events are black or green, but > problems are shown in red. I played with setting colors in a > regular field, and the colors seem to stick to the field positions, > rather than moving with the characters. Am I correct about this? > > I tried setting the foregroundcolor in a text chunk that was stored > in a local variable, but that failed. The idea was to set the > colors up in the string before it went out to the scrolling field, > in the hopes that the colors would magically be set in the string > and follow the characters out to the scrolling field. This does > not seem to work either. > > Am I trying to do something that is not possible in Rev, or am I > just not clear on how to accomplish this? I know that HTML support > is somehow built into parts of Rev: would using > work? I tried it, and it did not work trivially. Using HTML is the right way to display coloured text and more generally styled text: (here a tab delimited list where each line has a different colour and the first one is in bolded style)

1/14/05 4:06:38 PM Start

1/14/05 5:56:47 PM Auto backup Done Mailing base_3

1/14/05 6:26:51 PM Auto backup Undone Unchanged file size

You might be interested in the Encoded Text Picker plugin which translates both to and from HTML and/or URLEncode, letting you to set styles, colors, etc. and watch the resulting html code and the "How to Create and Manage HTML lists" tutorial. Both are available from my website. Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jperryl at ecs.fullerton.edu Tue Aug 23 17:46:33 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 23 Aug 2005 14:46:33 -0700 (PDT) Subject: NECC roundup (was ATTN: Marty Billingsley) In-Reply-To: Message-ID: Marty, I live near San Diego... Perhaps we can collaborate? Judy On Sun, 21 Aug 2005, Marty Billingsley wrote: > Using RR as a multimedia tool isn't the focus of what I teach students. > Maybe for NECC 2006 I can put together a session on using RR to teach > programming, but don't know if the logistics of a San Diego trip is > feasible. :-) From wlists at fireworksmm.com Tue Aug 23 17:46:23 2005 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Tue, 23 Aug 2005 17:46:23 -0400 Subject: Password generator In-Reply-To: <6053403F-94F1-4489-8A41-6DD4B27D4710@mindspring.com> References: <2B816059-EB68-463F-B2C3-5BDEB6D16001@fireworksmm.com> <6053403F-94F1-4489-8A41-6DD4B27D4710@mindspring.com> Message-ID: <9DC776E0-3DB1-4869-927E-0E9BAB29095D@fireworksmm.com> I'll look into that as I'm new to this side of the equation. Thanks for your reply! On Aug 23, 2005, at 5:31 PM, Gordon Tillman wrote: > Hi Wally, > > On Aug 23, 2005, at 16:25, Wally Rodriguez wrote: > > >> Does anyone here know where I can find an .htaccess-compatible >> password generator? >> >> I am setting up a website generator program that will require this >> functionality, but the only thing I can find is php-based systems. >> > > Do you have access to the htpasswd command on your system? That is > what I use to generate passwords manually and I'll bet that you can > call it from RR if you need to. > > -gordon From mwieder at ahsoftware.net Tue Aug 23 17:55:12 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 23 Aug 2005 14:55:12 -0700 Subject: colors in scrolling text field In-Reply-To: <430B92AE.10000@sover.net> References: <430B92AE.10000@sover.net> Message-ID: <10520543359.20050823145512@ahsoftware.net> Jon- Tuesday, August 23, 2005, 2:18:38 PM, you wrote: > Am I trying to do something that is not possible in Rev, or am I just > not clear on how to accomplish this? I know that HTML support is > somehow built into parts of Rev: would using work? I > tried it, and it did not work trivially. Set the color *after* you put the text in the field. I do this for log output in the same manner as you're attempting and it works well for me in scrolling fields. put "normal text" & cr after field "xyz" put "problem text" & cr after field "xyz" set the foreColor of line -1 of field "xyz" to "red" -- -Mark Wieder mwieder at ahsoftware.net From jbondy at sover.net Tue Aug 23 17:58:00 2005 From: jbondy at sover.net (Jon) Date: Tue, 23 Aug 2005 17:58:00 -0400 Subject: colors in scrolling text field In-Reply-To: <29BC7256-C275-42E4-BD2A-37A12C2CA9DE@sosmartsoftware.com> References: <430B92AE.10000@sover.net> <29BC7256-C275-42E4-BD2A-37A12C2CA9DE@sosmartsoftware.com> Message-ID: <430B9BE8.3020305@sover.net> Eric: Your response is, as usual, excellent. Except that, as I said, I did try putting HTML into a scrolling field, and all I got was the typical HTML garbage on the screen; the HTML commands were not interpreted correctly. Do I have to put the HTML someplace special, or enable it somehow? Thanks! :) Jon Eric Chatonet wrote: > Hi Jon, > > Le 23 ao?t 05 ? 23:18, Jon a ?crit : > >> I am creating a scrolling log of program activities, and want to >> color code the output so that normal events are black or green, but >> problems are shown in red. I played with setting colors in a >> regular field, and the colors seem to stick to the field positions, >> rather than moving with the characters. Am I correct about this? >> >> I tried setting the foregroundcolor in a text chunk that was stored >> in a local variable, but that failed. The idea was to set the >> colors up in the string before it went out to the scrolling field, >> in the hopes that the colors would magically be set in the string >> and follow the characters out to the scrolling field. This does not >> seem to work either. >> >> Am I trying to do something that is not possible in Rev, or am I >> just not clear on how to accomplish this? I know that HTML support >> is somehow built into parts of Rev: would using >> work? I tried it, and it did not work trivially. > > > Using HTML is the right way to display coloured text and more > generally styled text: > (here a tab delimited list where each line has a different colour and > the first one is in bolded style) > >

1/14/05 4:06:38 PM Start font>

>

1/14/05 5:56:47 PM Auto > backup Done Mailing base_3

>

1/14/05 6:26:51 PM Auto > backup Undone Unchanged file size

> > You might be interested in the Encoded Text Picker plugin which > translates both to and from HTML and/or URLEncode, letting you to set > styles, colors, etc. and watch the resulting html code and the "How > to Create and Manage HTML lists" tutorial. > Both are available from my website. > > Best Regards from Paris, > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > > Free plugins and tutorials on my website > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jbondy at sover.net Tue Aug 23 17:59:19 2005 From: jbondy at sover.net (Jon) Date: Tue, 23 Aug 2005 17:59:19 -0400 Subject: colors in scrolling text field In-Reply-To: <10520543359.20050823145512@ahsoftware.net> References: <430B92AE.10000@sover.net> <10520543359.20050823145512@ahsoftware.net> Message-ID: <430B9C37.5070407@sover.net> Mark: Silly me: I did not think of "line -1". Still learning... Thanks! :) Jon Mark Wieder wrote: >Jon- > >Tuesday, August 23, 2005, 2:18:38 PM, you wrote: > > > >>Am I trying to do something that is not possible in Rev, or am I just >>not clear on how to accomplish this? I know that HTML support is >>somehow built into parts of Rev: would using work? I >>tried it, and it did not work trivially. >> >> > >Set the color *after* you put the text in the field. I do this for log >output in the same manner as you're attempting and it works well for >me in scrolling fields. > >put "normal text" & cr after field "xyz" >put "problem text" & cr after field "xyz" >set the foreColor of line -1 of field "xyz" to "red" > > > From jperryl at ecs.fullerton.edu Tue Aug 23 18:14:23 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 23 Aug 2005 15:14:23 -0700 (PDT) Subject: OT: Computer Science in today's market In-Reply-To: <430B8A7D.30602@fourthworld.com> Message-ID: You do? You're kidding, right? ;-) At least, that _would be_ the response if made by any of my CS major students :( Judy On Tue, 23 Aug 2005, Richard Gaskin wrote: > I don't know about the rest of you folks, but I spend more time doing > requirements analysis and design than coding. Those jobs can be > outsourced only at the publisher's peril: design work requires an > intimate understanding of not just the regional culture of the target > audience, but also the organizational culture. You have to directly > observe users in action, interview people at all levels of the > organization your software will support, and learn when to listen to > what they tell you and when to read between the lines to hear not what > they're able to articulate but what they really mean. From david at openpartnership.net Tue Aug 23 18:39:38 2005 From: david at openpartnership.net (david bovill) Date: Wed, 24 Aug 2005 00:39:38 +0200 Subject: Anyone know how to use the XMLRPC library? In-Reply-To: References: Message-ID: <66E6A72B-B906-4BF4-8E03-710622E03E1A@openpartnership.net> I am trying to update my blogger client using the Rev XMLRPC library. Can't figure out how to use it... This is for the movable type API... on mouseUp -- put "puck.at.subik.com" into someHost -- put "wordpress/xmlrpc.php" into somePath put "test.com/wordpress/" into someHost put "xmlrpc.php" into somePath -- put "xmlrpc.php?metaWeblog.getPost" into somePath put 80 into somePort put revXMLRPC_CreateRequest(someHost, somePort, somePath, "http") into theRequest put "test" into userName put "test" into pissWord put 8 into postId revXMLRPC_AddParam theRequest, "string", "metaWeblog.getPost" revXMLRPC_AddParam theRequest, "string", postId revXMLRPC_AddParam theRequest, "string", userName revXMLRPC_AddParam theRequest, "string", pissWord put revXMLRPC_Execute(theRequest) into theResponse put theResponse if revXMLRPC_Documents() is not empty then revXMLRPC_DeleteAllDocuments end mouseUp Returns: error 400 Bad Request Most else returns: 404 Not Found.... From kray at sonsothunder.com Tue Aug 23 18:50:27 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 23 Aug 2005 17:50:27 -0500 Subject: colors in scrolling text field In-Reply-To: <430B9BE8.3020305@sover.net> Message-ID: On 8/23/05 4:58 PM, "Jon" wrote: > Your response is, as usual, excellent. Except that, as I said, I did > try putting HTML into a scrolling field, and all I got was the typical > HTML garbage on the screen; the HTML commands were not interpreted > correctly. Do I have to put the HTML someplace special, or enable it > somehow? Jon, you don't put the HTML in the field, you "set the htmlText" of the field to the HTML, as in: put "This is bold" into tHTML set the htmlText of fld 1 to tHTML HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From david at openpartnership.net Tue Aug 23 18:53:54 2005 From: david at openpartnership.net (david bovill) Date: Wed, 24 Aug 2005 00:53:54 +0200 Subject: XMLRPC - can I go to sleep happy? In-Reply-To: References: Message-ID: Help? Nothing on the net. Just not clear what is the host, the path and what params to add.... From jbondy at sover.net Tue Aug 23 19:11:14 2005 From: jbondy at sover.net (Jon) Date: Tue, 23 Aug 2005 19:11:14 -0400 Subject: message watcher Message-ID: <430BAD12.4070107@sover.net> I read about the Message watcher in the documentation. What are the numbers in parentheses that follow the times? Jon From gandalf at doctorTimothyMiller.com Tue Aug 23 19:36:57 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Tue, 23 Aug 2005 16:36:57 -0700 Subject: amateur question Message-ID: Hi gang, I forget. What property do I turn on or off to avoid the pale gray shadow that appears over much or all of of the card when I "Print Card..." ? If I print with a script it seems like it goes away if I set the printcolors to false. But how bout when I'm just manually printing one card from the File menu? The the shadow doesn't seem to show on the screen, so I'm a bit perplexed. Thanks in advance, Tim From alex at tweedly.net Tue Aug 23 19:56:32 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 24 Aug 2005 00:56:32 +0100 Subject: message watcher In-Reply-To: <430BAD12.4070107@sover.net> References: <430BAD12.4070107@sover.net> Message-ID: <430BB7B0.6000805@tweedly.net> Jon wrote: > I read about the Message watcher in the documentation. What are the > numbers in parentheses that follow the times? > > Jon It's the number of milliseconds since the last message was recorded. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.14/79 - Release Date: 22/08/2005 From ambassador at fourthworld.com Tue Aug 23 20:13:53 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 23 Aug 2005 17:13:53 -0700 Subject: Revolution Compatible Registration Tool In-Reply-To: References: Message-ID: <430BBBC1.1030309@fourthworld.com> Levi Kendall wrote: > I was just wondering what everyone out there was using for releasing > commercial demo applications with Revolution. What I'm thinking in > terms of here is having a limited demo version that will show the user > *some* of the functionality but which is "crippled" in some areas. > The user will be able to access some kind of registration feature > (this is what I'm looking for) that would then unlock the product. At > this point I'm looking for any system to do this, perhaps it could be > web integrated or be able to unlock with a serial code while offline, > anything of the sort. > > Has anyone found a ready-made system to distribute like this with > Revolution? And perhaps one that can be used on the same > cross-platform support which Revolution itself offers. Any ideas? If you're willing to spend a little time on it, it's not hard to do what's needed, which is to provide security only sufficient to dissuade casual pirates. Serious pirates can cr at ck anything, and are not likely to ever be paying customers anyway, so you'll definitely find that beyond a certain level of effort there's a case of diminishing returns with software security. This page is a very helpful resource: Not everything he writes there will be applicable to Rev, and some of it goes farther than I care to, but some of the things listed there are indeed very useful. There are other resources too -- worth spending some time with Google to do a little reading before deciding on a scheme that's good for you. Things I've learned from online anti-cr at ck resources: - All software can be cr at cked. - Most commercial products have been cr at cked. - Those that haven't are usually just unpopular. - The average time between release of a program and release of its cr at ck is under ten days. - Game companies spend millions hiring the best minds in the business merely to try to extend the time-to-cr at ck to 180 days. - The biggest material loss from cr at acking for many small shops is not lost sales (since very few who use stolen seri at ls would ever pay anyway) but bandwidth: in the days following the post of a seri at l your server will get several thousand downloads from China, Russia, and Korea. - About every two years the Ministry of Culture in China makes a broad proclamation about how internationally embarassing it is to be the #1 nation for piracy, and will start cracking down on that "immediately". Every year they manage to shut down the exchange of porn and copies of Thomas Paine's "Common Sense" but have never accomplished a thing with regard to piracy. - A growing number of developers protect themselves by banning whole ranges of IPs assigned to those countries (it would be ideal if these nations would merely enforce international law, but in the meantime developers do what the can to contain costs). - In stark contrast to the effectiveness of the motion picture industry, the software industry is almost entirely inneffectual at protecting their businesses, apparently unable to negotiate the same sort of international law enforcement arrangements Hollywood does all the time. - Games aside, most of those who download a stolen product will never actually use it (there's a weird hoarding thing that goes on where simply having it taking up space on their hard drive somehow feeds something in their lives). - A great many stolen/cr at cked seri at ls are available in programs that are actually Trojan horses, spewing all manner of malware throughout the user's system. Using these is often greater punishment than anything you could hope to do yourself. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From lewisbruce at rogers.com Tue Aug 23 20:16:10 2005 From: lewisbruce at rogers.com (Bruce Lewis) Date: Tue, 23 Aug 2005 20:16:10 -0400 Subject: [Bulk] Problem with Scrolling List Field In-Reply-To: References: <8f8651c1050823095367826f81@mail.gmail.com> Message-ID: David, Note typo "ClickLiKe" in third line of script. Try: put word 2 of the ClickLine into tLineClicked put word 4 of the ClickLine into tFldClicked Then delete line tLineClicked of fld tFldClicked Regards, Bruce At 8:15 PM +0100 8/23/05, David Burgun wrote: >Hi All, > >I have a Field that is setup as a scrolling list. I can add to the >list no problem. However I want to be able to let the user select a >single item in the list and then press a "delete" button to delete it. > >This is the code I have, on the Field: > >on mouseUp >local myClickLine > >put the clickLike into myClickLine >if myClickLine is not empty then > select myClickLine >else > select empty >end if >end mouseUp > > >Then on the delete button: > >on mouseUp >local mySelectedLine > >put the selectedLine into mySelectedLine >if mySelectedLine is not empty then > put theSelectedLine --Dump to message box > delete theSelectedLine > select empty >else > beep >end if >end mouseUp > > >But when I run this, the first time I selected a line it *sometimes* >works but then it doesn't work from then on, e.g. it doesn't delete >the line, but the message box contains line and field number as >expected. If I manually type "delete line 1 of field 1" in the >message box, the line gets deleted as expected. > >What am I doing wrong??? > >Thanks a lot >Dave >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution -- Bruce Lewis Lewis & Collyer 160 John Street, Suite 401 Toronto, Ontario Canada M5V 2E5 (416) 598-4357 FAX (416) 598-1067 bruce at lewiscoll.com nancy at lewiscoll.com sandy at lewiscoll.com joan at lewiscoll.com eva at lewiscoll.com From mark at maseurope.net Tue Aug 23 19:58:23 2005 From: mark at maseurope.net (Mark Smith) Date: Wed, 24 Aug 2005 00:58:23 +0100 Subject: amateur question In-Reply-To: References: Message-ID: You simply need to set the background color to whatever you want - in this case white, I'd imagine. The grey background happens on printing when no background color is set. Mark On 24 Aug 2005, at 00:36, Timothy Miller wrote: > Hi gang, > > I forget. What property do I turn on or off to avoid the pale gray > shadow that appears over much or all of of the card when I "Print > Card..." ? > > If I print with a script it seems like it goes away if I set the > printcolors to false. But how bout when I'm just manually printing one > card from the File menu? The the shadow doesn't seem to show on the > screen, so I'm a bit perplexed. > > Thanks in advance, > > > Tim > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com From higginsta at mac.com Tue Aug 23 20:45:53 2005 From: higginsta at mac.com (Todd Higgins) Date: Tue, 23 Aug 2005 20:45:53 -0400 Subject: test In-Reply-To: <0D7BC791-A1D7-4ED1-A721-0AC0F9AD9D57@cableone.net> References: <0D7BC791-A1D7-4ED1-A721-0AC0F9AD9D57@cableone.net> Message-ID: Well, I can give you some of my as I have been getting doubles messages for the past 2 days. On Aug 23, 2005, at 3:06 PM, Chris Sheffield wrote: > Test. My messages are bouncing. :-) > > ------------------------------------------ > Chris Sheffield > Read Naturally > The Fluency Company > http://www.readnaturally.com > ------------------------------------------ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From howard.bornstein at gmail.com Tue Aug 23 20:58:03 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Tue, 23 Aug 2005 20:58:03 -0400 Subject: difficulties with StandAlone In-Reply-To: <200508221409.j7ME9iME025294@ms-smtp-03.rdc-nyc.rr.com> References: <200508221409.j7ME9iME025294@ms-smtp-03.rdc-nyc.rr.com> Message-ID: <3f07cc26050823175858cb7778@mail.gmail.com> On 8/22/05, Jon wrote: > Every time I try to create a StandAlone (SA), I have to select a > directory into which the SA will be created, starting at My Computer. I > don't mind selecting the directory the first time I do this for an > application, but is it necessary that I do this every time? And if I > have to do it every time, could it start from the most recently selected > location, rather than from My Computer? Drilling down into the > directory structure over and over again seems needlessly tedious to me. > > Am I missing something here? Does it work this way for everyone? > > :) > > Jon On the Mac (OSX) it remembers where I saved my last standalone and opens that directory again. Not sure why this doesn't work the same way on Windows. -- Regards, Howard Bornstein ----------------------- www.designeq.com From bill at bluewatermaritime.com Tue Aug 23 21:22:03 2005 From: bill at bluewatermaritime.com (Bill) Date: Tue, 23 Aug 2005 21:22:03 -0400 Subject: amateur question In-Reply-To: Message-ID: I bugzilla-ed this and the answer was that even though the grey background is only visible when printing and decidedly not WYSIWYG it is still a feature. I never understood why this invisible grey background could be a feature. On 8/23/05 7:58 PM, "Mark Smith" wrote: > You simply need to set the background color to whatever you want - in > this case white, I'd imagine. The grey background happens on printing > when no background color is set. > > Mark > > > On 24 Aug 2005, at 00:36, Timothy Miller wrote: > >> Hi gang, >> >> I forget. What property do I turn on or off to avoid the pale gray >> shadow that appears over much or all of of the card when I "Print >> Card..." ? >> >> If I print with a script it seems like it goes away if I set the >> printcolors to false. But how bout when I'm just manually printing one >> card from the File menu? The the shadow doesn't seem to show on the >> screen, so I'm a bit perplexed. >> >> Thanks in advance, >> >> >> Tim >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > ___________________________________________________________ > To help you stay safe and secure online, we've developed the all new Yahoo! > Security Centre. http://uk.security.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- 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 dadude297 at yahoo.com Tue Aug 23 21:51:35 2005 From: dadude297 at yahoo.com (Josue Giron) Date: Tue, 23 Aug 2005 18:51:35 -0700 (PDT) Subject: I need help!!! Message-ID: <20050824015135.24738.qmail@web32110.mail.mud.yahoo.com> first of all Im new to html but I like learning it.I sometimes stay on my website looking for ways to improve it.but i don't make the things that are in my site.I want to make the template,the pictures,everything so I can truly say that I did my very own site.but I need help,because I only started about 4 weeks ago on html.I know theres other languages out there but html is cool...its practically unlimited to any resource.please somebody give me somewhere to start at.thank you. ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From mwieder at ahsoftware.net Tue Aug 23 21:58:35 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 23 Aug 2005 18:58:35 -0700 Subject: difficulties with StandAlone In-Reply-To: <3f07cc26050823175858cb7778@mail.gmail.com> References: <200508221409.j7ME9iME025294@ms-smtp-03.rdc-nyc.rr.com> <3f07cc26050823175858cb7778@mail.gmail.com> Message-ID: <11235146628.20050823185835@ahsoftware.net> Howard- BZ #3080 has now been filed against this. This has annoyed me for a while, but since I don't build standalones that often it's just been a minor annoyance. Now it's finally reached a stage where it's getting to me. -- -Mark mwieder at ahsoftware.net Tuesday, August 23, 2005, 5:58:03 PM, you wrote: > On 8/22/05, Jon wrote: >> Every time I try to create a StandAlone (SA), I have to select a >> directory into which the SA will be created, starting at My Computer. I >> don't mind selecting the directory the first time I do this for an >> application, but is it necessary that I do this every time? And if I >> have to do it every time, could it start from the most recently selected >> location, rather than from My Computer? Drilling down into the >> directory structure over and over again seems needlessly tedious to me. >> >> Am I missing something here? Does it work this way for everyone? >> >> :) >> >> Jon > On the Mac (OSX) it remembers where I saved my last standalone and > opens that directory again. Not sure why this doesn't work the same > way on Windows. From chipp at chipp.com Tue Aug 23 22:16:35 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 23 Aug 2005 21:16:35 -0500 Subject: amateur question In-Reply-To: References: Message-ID: <430BD883.9000909@chipp.com> Bill wrote: > I bugzilla-ed this and the answer was that even though the grey background > is only visible when printing and decidedly not WYSIWYG it is still a > feature. I never understood why this invisible grey background could be a > feature. It's because you can use it to your advantage. Say you want to print text on a yellow backgroung. Then just set the backColor of the card you want to print to yellow, and then you're printing on a yellow background. If you want your background white, then set the backColor to white. -Chipp From pixelbird at interisland.net Tue Aug 23 23:55:07 2005 From: pixelbird at interisland.net (Ken Norris) Date: Tue, 23 Aug 2005 20:55:07 -0700 Subject: MIDI externals Message-ID: <0de0259dd11c26fad59871845e5529b8@interisland.net> Howdy, Is there an external for Windows (I think they're called DLL's?) that will select instruments and play MIDI notes instantly? Not necessarily a song sequence, but a note or chord. It's for an onscreen keyboard, i.e., must play the note instantaneously on mouseDown. Actually, I'm looking for it to play like a piano, when the user drags over the 'keys', but that's more a scripting issue. I have one working in SuperCard on the Mac, using QuickNotes. I wouldn't mind building a cross-platfrom version, but it has to perform as I indicated. TIA, Ken N. From jacque at hyperactivesw.com Tue Aug 23 23:59:47 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 23 Aug 2005 22:59:47 -0500 Subject: amateur question In-Reply-To: <430BD883.9000909@chipp.com> References: <430BD883.9000909@chipp.com> Message-ID: <430BF0B3.902@hyperactivesw.com> Chipp Walters wrote: > > > Bill wrote: > >> I bugzilla-ed this and the answer was that even though the grey >> background >> is only visible when printing and decidedly not WYSIWYG it is still a >> feature. I never understood why this invisible grey background could be a >> feature. > > > It's because you can use it to your advantage. Say you want to print > text on a yellow backgroung. Then just set the backColor of the card you > want to print to yellow, and then you're printing on a yellow > background. If you want your background white, then set the backColor to > white. Right, but one would think that the default printing backcolor would be the same as the one you see on screen. Seems kind of odd that it isn't. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Wed Aug 24 00:50:10 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 23 Aug 2005 21:50:10 -0700 Subject: Custom Answer File Dialog? Message-ID: Has anyone assembled a custom answer file dialog that they would be willing to share? I have to manage some non-standard file navigation and it would be helpful to be able to skip reinventing the wheel if possible. Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From jperryl at ecs.fullerton.edu Wed Aug 24 01:26:30 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 23 Aug 2005 22:26:30 -0700 (PDT) Subject: MIDI externals In-Reply-To: <0de0259dd11c26fad59871845e5529b8@interisland.net> Message-ID: Hi Ken, Shakobox for Windows won't work for you? (Sorry... that's all I can think of). Judy On Tue, 23 Aug 2005, Ken Norris wrote: > Howdy, > > Is there an external for Windows (I think they're called DLL's?) that > will select instruments and play MIDI notes instantly? Not necessarily > a song sequence, but a note or chord. > > It's for an onscreen keyboard, i.e., must play the note instantaneously > on mouseDown. Actually, I'm looking for it to play like a piano, when > the user drags over the 'keys', but that's more a scripting issue. I > have one working in SuperCard on the Mac, using QuickNotes. I wouldn't > mind building a cross-platfrom version, but it has to perform as I > indicated. From tominjapan at excite.com Wed Aug 24 01:43:30 2005 From: tominjapan at excite.com (Thomas McCarthy) Date: Wed, 24 Aug 2005 01:43:30 -0400 (EDT) Subject: Cell phones Message-ID: <20050824054330.954DCAFABB@xprdmailfe5.nwk.excite.com> 1: I imagine most students check their email via cell phones. Don't laugh, but I don't have one (and yes, I'm in Japan--even my toilet has one). Can cell phones accept / respond to html mail? (my doubt-meter is in the red zone) 2: What are the basic pixel dimentions of a cell display? Should I concern myself? 3: What kind of media can the newer phones handle. I've heard mpeg4. many thanks tom _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From erikhans08 at yahoo.com Wed Aug 24 01:58:53 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Tue, 23 Aug 2005 22:58:53 -0700 (PDT) Subject: MIDI externals In-Reply-To: <0de0259dd11c26fad59871845e5529b8@interisland.net> Message-ID: <20050824055853.94843.qmail@web33004.mail.mud.yahoo.com> --- Ken Norris wrote: > Howdy, > > Is there an external for Windows (I think > they're called DLL's?) that > will select instruments and play MIDI notes > instantly? Not necessarily > a song sequence, but a note or chord. i am working on something similar and could not get Shakobox for Windows to works as it does with Mac. am currently expanding from 1 channel to 16 with some extra factors and so have not tried this yet. send in time, here we come. here are Jacquie & Jon: > Jacquie: > I had some problems with that myself > when I was testing the Windows > version. I couldn't make it work > until I used the technique where I > wrote a temporary text file to disk. I think this is the way you should do it. After you launch PlayCommandAgent.exe with shell(), write your command out to a file called c:\windows\playcmd.evt . Once you close the file it should pick up the command. To do 16 channels, open/write/close the file 16 times. Shakobox author "Jonathyn Bet'nct" 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 xbury.cs at clearstream.com Wed Aug 24 02:32:26 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 24 Aug 2005 08:32:26 +0200 Subject: MIDI externals In-Reply-To: <20050824055853.94843.qmail@web33004.mail.mud.yahoo.com> Message-ID: If this can help, I think you could work this out via MIDI-OX. It's a virtual MIDI manager that can be controled via VBS/WSH... There's a section of the page below dedicated to scripting it... Im sure this will save you hours of externals writing... http://www.midiox.com/ here's what it does... "MIDI-OX is a Windows 95/NT program (also Win98/Me/2000/XP). It is a 32 bit program which will not operate under earlier versions of Windows. MIDI-OX is a multi-purpose tool: it is both a diagnostic tool and a System Exclusive librarian. It can perform filtering and mapping of MIDI data streams. It displays incoming MIDI streams, and passes the data to a MIDI output driver or the MIDI Mapper. You can generate MIDI data using the computer keyboard or the built-in control panel. You can even record and log MIDI data and then convert it to a Standard MIDI File for playback by a sequencer. Some additional information is available in the MIDI and Audio FAQ. " And it's free... for non-commercial use... cheers Xavier use-revolution-bounces at lists.runrev.com wrote on 24/08/2005 07:58:53: > > > --- Ken Norris wrote: > > > Howdy, > > > > Is there an external for Windows (I think > > they're called DLL's?) that > > will select instruments and play MIDI notes > > instantly? Not necessarily > > a song sequence, but a note or chord. > > i am working on something similar and could > not get Shakobox for Windows to works as > it does with Mac. am currently expanding > from 1 channel to 16 with some extra factors > and so have not tried this yet. send in time, > here we come. > > here are Jacquie & Jon: > > > Jacquie: > > I had some problems with that myself > > when I was testing the Windows > > version. I couldn't make it work > > until I used the technique where I > > wrote a temporary text file to disk. > > I think this is the way you should do it. After > you launch > PlayCommandAgent.exe with shell(), write your > command out to a file > called c:\windows\playcmd.evt . Once you close > the file it should > pick up the command. To do 16 channels, > open/write/close the file 16 times. > > Shakobox author > "Jonathyn Bet'nct" > > 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 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From xbury.cs at clearstream.com Wed Aug 24 04:22:50 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 24 Aug 2005 10:22:50 +0200 Subject: Custom Answer File Dialog? In-Reply-To: Message-ID: Hi Scott, Check out the MetaCard built-in file-answer dialog... It should be step in the right direction. I've evolved it into my FileBrowser in TAOO (see the previously posted screenshots) and i have yet to add the "ask" and "answer" capabilities to it... You can take it pretty far... cheers Xavier Bury use-revolution-bounces at lists.runrev.com wrote on 24/08/2005 06:50:10: > Has anyone assembled a custom answer file dialog that they would be willing > to share? I have to manage some non-standard file navigation and it would > be helpful to be able to skip reinventing the wheel if possible. > > 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 > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From scott at proherp.com Wed Aug 24 05:18:00 2005 From: scott at proherp.com (Scott Kane) Date: Wed, 24 Aug 2005 19:18:00 +1000 Subject: Tree View Message-ID: <000401c5a88c$bebfdd20$ebbffea9@proherps56yaxv> Hi folks, In my Windows App's (built in another language) I use a Tree View for navigation - just like the tool in the left pane of Rev's Application Browser. I've been hunting around today for a similar widget for to use in Rev. Does anybody know of one that is available? Scott From eric.chatonet at sosmartsoftware.com Wed Aug 24 05:27:52 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 24 Aug 2005 11:27:52 +0200 Subject: Tree View In-Reply-To: <000401c5a88c$bebfdd20$ebbffea9@proherps56yaxv> References: <000401c5a88c$bebfdd20$ebbffea9@proherps56yaxv> Message-ID: Hi Scott, I asked the Resources Picker plugin to search for "tree view" in its web database: It returned the following related urls: www.altuit.com/webs/altuit2/RunRev/Downloads.htm http://support.runrev.com/resources/unsupported.php http://www.sweattechnologies.com/rev/ http://revolution.lexicall.org/stacks_education.php Hope this helps. This plugin is available for free from my website :-) Le 24 ao?t 05 ? 11:18, Scott Kane a ?crit : > Hi folks, > > In my Windows App's (built in another language) > I use a Tree View for navigation - just like the > tool in the left pane of Rev's Application Browser. > I've been hunting around today for a similar > widget for to use in Rev. Does anybody know of > one that is available? Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From dburgun at dsl.pipex.com Wed Aug 24 06:49:51 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 24 Aug 2005 11:49:51 +0100 Subject: Problem with Set Script in Compiled App In-Reply-To: References: Message-ID: >On Friday, January 2, 2004, at 03:13 PM, Stewart Lynch wrote: > >>Why would the "Set the script" command not work in a standalone >>application? > >(There have been some changes so I might have this a little off.) > >A standalone has limits in the number of lines that can be compiled. >Try designing the script so it is less than 10 lines. (Or about.) > >Dar Scott Why is this? Is there a way around it? It seems really weird that you can't add a script dynamically this is more that 10 lines line! Thanks a lot Dave From ambassador at fourthworld.com Wed Aug 24 06:56:57 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 03:56:57 -0700 Subject: Problem with Set Script in Compiled App In-Reply-To: References: Message-ID: <430C5279.6010003@fourthworld.com> David Burgun wrote: >> A standalone has limits in the number of lines that can be compiled. >> Try designing the script so it is less than 10 lines. (Or about.) > > Why is this? Is there a way around it? It seems really weird that you > can't add a script dynamically this is more that 10 lines line! Scripting requires a license. If you application needs to provide Transcript programming to your users you can negotiate a license with Kevin Miller at RunRev. But if all you want is to implement behaviors for objects, self-modifying code is usually the hard way to do it, expensive to debug and maintain. Most applications have a finite range of behaviors, and specifying those with properties can give you a robust implementation that encourages healthy code factoring. What are you looking to do? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From eric.chatonet at sosmartsoftware.com Wed Aug 24 07:09:08 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 24 Aug 2005 13:09:08 +0200 Subject: Problem with Set Script in Compiled App In-Reply-To: References: Message-ID: <5180F743-8350-4A46-80AE-EDDB8A9C4C6D@sosmartsoftware.com> Hi Dave, As Richard Gaskin explained it some weeks ago, this feature was introduced in MetaCard to avoid some clever persons to built a clone of Rev with Rev :-) But you can use some workarounds: if you don't have to build on the fly the script (you know its content when coding), just write a handler in the card/stack script and put a simple call to this handler into your new object script (less than 10 lines then it will work). Another way could be to put your code built on the fly into a field or a custom property (beware of cross-platforms font issues > MacToIso and IsoToMac) and execute it with the do command. But don't forget that you can't save a standalone but related files only... And... with a well thought architecture, these kinds of problems should not appear :-) So, can you tell us why do you need this feature? Best Regards from Paris, Eric Chatonet. Le 24 ao?t 05 ? 12:49, David Burgun a ?crit : >> On Friday, January 2, 2004, at 03:13 PM, Stewart Lynch wrote: >> >> >>> Why would the "Set the script" command not work in a standalone >>> application? >>> >> >> (There have been some changes so I might have this a little off.) >> >> A standalone has limits in the number of lines that can be >> compiled. Try designing the script so it is less than 10 lines. >> (Or about.) >> >> Dar Scott >> > > Why is this? Is there a way around it? It seems really weird that > you can't add a script dynamically this is more that 10 lines line! > > Thanks a lot > Dave ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From lists at mangomultimedia.com Wed Aug 24 07:29:38 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 24 Aug 2005 04:29:38 -0700 Subject: running player makes other thing slower In-Reply-To: References: Message-ID: On Aug 22, 2005, at 4:01 PM, Ban Nguyen wrote: > That shouldn't cause any playback problems. Did you try loading a > still image into the player? Do you have any code that watches > monitors the status of the player object while it is playing > (updating a progress bar)? Perhaps that is firing too often and > slowing things down? > ------------- > > I have progress bar with this script: > > > on MouseDown > local i, j, l, x > put the ClickLoc into l > put item 1 of l into x > subtract the left of scrollbar "myProgressBar" from x > put x / the width of scrollbar "myProgressBar" into x > put x * the duration of player "myPlayer" into x > set the currentTime of player "myPlayer" to round(x) > end MouseDown If this is only being called when you click the mouse button then I wouldn't think that it would cause a problem. Are you using the QuickTime controller to display controls to the user? It appears that you have your own progress bar from the code above and it seems odd that you have a progress bar that isn't being updated by some code somewhere. Is "myProgressBar" being used to show playback status? If so, how is it being updated? > BTW, how can I load a still image into a player? Just set the fileName of the player to the path of a still image. You can load any media type that QuickTime supports. By the way, is your player object using QuickTime or did you set dontUseQT to true? If you aren't using QT then there may be other issues at play that I am not aware of. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dburgun at dsl.pipex.com Wed Aug 24 07:55:33 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 24 Aug 2005 12:55:33 +0100 Subject: Problem with Set Script in Compiled App In-Reply-To: <430C5279.6010003@fourthworld.com> References: <430C5279.6010003@fourthworld.com> Message-ID: >David Burgun wrote: >>>A standalone has limits in the number of lines that can be >>>compiled. Try designing the script so it is less than 10 lines. >>>(Or about.) >> >>Why is this? Is there a way around it? It seems really weird that >>you can't add a script dynamically this is more that 10 lines line! > >Scripting requires a license. If you application needs to provide >Transcript programming to your users you can negotiate a license >with Kevin Miller at RunRev. > >But if all you want is to implement behaviors for objects, >self-modifying code is usually the hard way to do it, expensive to >debug and maintain. > >Most applications have a finite range of behaviors, and specifying >those with properties can give you a robust implementation that >encourages healthy code factoring. > >What are you looking to do? > I've written a Stack that outputs the scripts to seperate text files which is then checked into a source database. I would like to be able to import these scripts and re-attach them to the appropriate objects in RunRev. All tbe Best Dave From dburgun at dsl.pipex.com Wed Aug 24 08:05:30 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 24 Aug 2005 13:05:30 +0100 Subject: Dump List Field Question! Message-ID: Hi, I am stumped (again!), if I have a list field and I want to select a line based on the content of a variable, e.g. if the list is: aaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbb ccccccccccccccccccc ddddddddddddddddddd eeeeeeeeeeeeeeeeeee and myVar is = ccccccccccccccccccc I want to be able to select (highlight) line ccccccccccccccccccc (line 3). How can I do this? I just can't seem to find the correct commands! Thanks in advance Dave From scott at proherp.com Wed Aug 24 08:06:37 2005 From: scott at proherp.com (Scott Kane) Date: Wed, 24 Aug 2005 22:06:37 +1000 Subject: Tree View In-Reply-To: Message-ID: <000001c5a8a4$4d20df30$0201010a@proherps56yaxv> Thanks Eric!! A great help. :-) Scott > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Eric Chatonet > Sent: Wednesday, 24 August 2005 7:28 PM > To: How to use Revolution > Subject: Re: Tree View > > > Hi Scott, > > I asked the Resources Picker plugin to search for "tree view" in its > web database: > It returned the following related urls: > > www.altuit.com/webs/altuit2/RunRev/Downloads.htm > http://support.runrev.com/resources/unsupported.php > http://www.sweattechnologies.com/rev/ > http://revolution.lexicall.org/stacks_education.php > > Hope this helps. > > This plugin is available for free from my website :-) > > Le 24 ao?t 05 ? 11:18, Scott Kane a ?crit : > > > Hi folks, > > > > In my Windows App's (built in another language) > > I use a Tree View for navigation - just like the > > tool in the left pane of Rev's Application Browser. > > I've been hunting around today for a similar > > widget for to use in Rev. Does anybody know of > > one that is available? > > Best Regards from Paris, > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > > For institutions, companies and associations > Built-to-order applications: management, multimedia, > internet, etc. Windows, Mac OS and Linux... With the French touch > > Free plugins and tutorials on my website > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From eric.chatonet at sosmartsoftware.com Wed Aug 24 08:10:17 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 24 Aug 2005 14:10:17 +0200 Subject: Dump List Field Question! In-Reply-To: References: Message-ID: <44CADFAA-2247-4E01-88E7-5DD2100F3D6B@sosmartsoftware.com> Dave, set the hilitedLine of fld "MyField" to lineOffset(myVar,fld "MyField") Note that if there is no match found, lineOffset will return zero and all lines will be deselected. Le 24 ao?t 05 ? 14:05, David Burgun a ?crit : > aaaaaaaaaaaaaaaaaaa > bbbbbbbbbbbbbbbb > ccccccccccccccccccc > ddddddddddddddddddd > eeeeeeeeeeeeeeeeeee > > and myVar is = ccccccccccccccccccc > > I want to be able to select (highlight) line ccccccccccccccccccc > (line 3). > > How can I do this? I just can't seem to find the correct commands! Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Wed Aug 24 08:21:29 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 24 Aug 2005 14:21:29 +0200 Subject: Problem with Set Script in Compiled App In-Reply-To: References: <430C5279.6010003@fourthworld.com> Message-ID: Dave, I don't understand the purpose of such an architecture. As far I know, if you have saved scripts (not separate handlers and functions) as a whole in a database, there is no way to re-attach them to the appropriate objects in RunRev if there are more than 10 lines unless you get a special licence as Richard pointed it out. I still believe your problem is an architecture problem... If you want to be more precise, we might help you :-) Le 24 ao?t 05 ? 13:55, David Burgun a ?crit : > I've written a Stack that outputs the scripts to seperate text > files which is then checked into a source database. I would like to > be able to import these scripts and re-attach them to the > appropriate objects in RunRev. Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From FlexibleLearning at aol.com Wed Aug 24 10:08:28 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 24 Aug 2005 10:08:28 EDT Subject: I need help!!! Message-ID: Dear Josue, You have written to the wrong newsgroup. If you need to learn html, I suggest you ask your teacher, or buy a book, or both and start practising. When you have a specific problem, there are groups that can help you. A very useful site for html tutorials, help and assistance is at www.W 3schools.com. The site also includes many other associated languages. /H FLCo first of all Im new to html but I like learning it.I sometimes stay on my website looking for ways to improve it.but i don't make the things that are in my site.I want to make the template,the pictures,everything so I can truly say that I did my very own site.but I need help,because I only started about 4 weeks ago on html.I know theres other languages out there but html is cool...its practically unlimited to any resource.please somebody give me somewhere to start at.thank you. From Stgoldberg at aol.com Wed Aug 24 10:10:56 2005 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Wed, 24 Aug 2005 10:10:56 EDT Subject: Do multiple substacks slow down a program? Message-ID: <156.57b1a12f.303dd9f0@aol.com> So far I'm running close to 100% success with advice received from this forum and am very grateful for that. One more question: I'm planning a program that uses one or more substacks. The question is whether to place all the key data into one substack or to divide them into 2 or more substacks. One the one hand, dividing into separate stacks keeps everything neatly arranged. However, does it slow down the speed of a program if scripting commands go from one substack to another, as opposed to remaining confined to one substack? Thanks. Steve Goldberg From dburgun at dsl.pipex.com Wed Aug 24 10:16:26 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 24 Aug 2005 15:16:26 +0100 Subject: Problem with Set Script in Compiled App In-Reply-To: References: <430C5279.6010003@fourthworld.com> Message-ID: Hi, There are a number of reasons to extract the Scripts of RunRev Objects into seperate text files: 1. We have to check files into a Source Database (Source Control System) and Binary Files are not handlied that well. 2. We want to be able to compare and exchange scripts from previous versions and to track the deleteion and additions of objects to the stack. 3. For QA it is usefull to be able to take the latest GUI in terms of appearance and swop in older scripts, to pin point where the problems lie. 4. There are lots of expensive tools (which we have) for comparing and merging source code trees, exporting the scripts as files allows us use them. 5. We want be able to globally replace Text across a whole stack or project/application. 6 We want to write an "include" file pre-processor that grabs functions from a Common Include file. There are more reasons that this, but these are the main ones off the top of my head! All the Best Dave >Dave, > >I don't understand the purpose of such an architecture. >As far I know, if you have saved scripts (not separate handlers and >functions) as a whole in a database, there is no way to re-attach >them to the appropriate objects in RunRev if there are more than 10 >lines unless you get a special licence as Richard pointed it out. >I still believe your problem is an architecture problem... >If you want to be more precise, we might help you :-) > >Le 24 ao?t 05 ? 13:55, David Burgun a ?crit : > >>I've written a Stack that outputs the scripts to seperate text >>files which is then checked into a source database. I would like to >>be able to import these scripts and re-attach them to the >>appropriate objects in RunRev. > > >Best Regards from Paris, > >Eric Chatonet. >---------------------------------------------------------------- >So Smart Software > >For institutions, companies and associations >Built-to-order applications: management, multimedia, internet, etc. >Windows, Mac OS and Linux... With the French touch > >Free plugins and tutorials on my website >---------------------------------------------------------------- >Web site http://www.sosmartsoftware.com/ >Email eric.chatonet at sosmartsoftware.com/ >Phone 33 (0)1 43 31 77 62 >Mobile 33 (0)6 20 74 50 86 >---------------------------------------------------------------- > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Wed Aug 24 10:29:57 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 24 Aug 2005 16:29:57 +0200 Subject: Problem with Set Script in Compiled App In-Reply-To: References: <430C5279.6010003@fourthworld.com> Message-ID: <13937F85-12C3-4CAF-8304-623ABE1300E0@sosmartsoftware.com> Hi Dave, From the docs: When using a standalone application, an object's script property may not be set to a string containing more than ten statements. This limit is set by line 1 of the scriptLimits function. (This does not limit scripts that are already written: standalone applications can run scripts of any length. However, if the standalone attempts to change an object's script property, and the script contains more than the allowable number of statements, the attempt to set the script causes an error.) So your only chance is to get a special licence as it was previously said :-( Best Regards from Paris, Eric Chatonet. Le 24 ao?t 05 ? 16:16, David Burgun a ?crit : > Hi, > > There are a number of reasons to extract the Scripts of RunRev > Objects into seperate text files: > > 1. We have to check files into a Source Database (Source Control > System) and Binary Files are not handlied that well. > > 2. We want to be able to compare and exchange scripts from previous > versions and to track the deleteion and additions of objects to the > stack. > > 3. For QA it is usefull to be able to take the latest GUI in terms > of appearance and swop in older scripts, to pin point where the > problems lie. > > 4. There are lots of expensive tools (which we have) for comparing > and merging source code trees, exporting the scripts as files allows > us use them. > > 5. We want be able to globally replace Text across a whole stack or > project/application. > > 6 We want to write an "include" file pre-processor that grabs > functions from a Common Include file. > > There are more reasons that this, but these are the main ones off the > top of my head! > > All the Best > Dave > > >> Dave, >> >> I don't understand the purpose of such an architecture. >> As far I know, if you have saved scripts (not separate handlers and >> functions) as a whole in a database, there is no way to re-attach >> them to the appropriate objects in RunRev if there are more than 10 >> lines unless you get a special licence as Richard pointed it out. >> I still believe your problem is an architecture problem... >> If you want to be more precise, we might help you :-) >> >> Le 24 ao?t 05 ? 13:55, David Burgun a ?crit : >> >> >>> I've written a Stack that outputs the scripts to seperate text >>> files which is then checked into a source database. I would like to >>> be able to import these scripts and re-attach them to the >>> appropriate objects in RunRev. >>> >> >> >> Best Regards from Paris, >> >> Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From wlists at fireworksmm.com Wed Aug 24 10:45:13 2005 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Wed, 24 Aug 2005 10:45:13 -0400 Subject: Password generator In-Reply-To: <6053403F-94F1-4489-8A41-6DD4B27D4710@mindspring.com> References: <2B816059-EB68-463F-B2C3-5BDEB6D16001@fireworksmm.com> <6053403F-94F1-4489-8A41-6DD4B27D4710@mindspring.com> Message-ID: <738ACE3C-310D-47BE-83E5-AB7B1C6260E7@fireworksmm.com> Worked like a charm!! Thanks! On Aug 23, 2005, at 5:31 PM, Gordon Tillman wrote: > Hi Wally, > > On Aug 23, 2005, at 16:25, Wally Rodriguez wrote: > > >> Does anyone here know where I can find an .htaccess-compatible >> password generator? >> >> I am setting up a website generator program that will require this >> functionality, but the only thing I can find is php-based systems. >> > > Do you have access to the htpasswd command on your system? That is > what I use to generate passwords manually and I'll bet that you can > call it from RR if you need to. > > -gordon > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From dburgun at dsl.pipex.com Wed Aug 24 11:01:47 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 24 Aug 2005 16:01:47 +0100 Subject: Another Dumb Field Problem! Message-ID: Hi, How can I control where the Tab Key navigates to? I just want the tab key to move from one field to the next *within* a group, e.g. Group A Field 1 tab ----> Field 2 tab -----> Field 3 tab -----> Field 1 (if there are 3 fields) Group B Field 1 tab ----> Field 2 tab -----> Field 1 (if there are 2 fields) Thanks a lot Dave From alex at tweedly.net Wed Aug 24 11:18:04 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 24 Aug 2005 16:18:04 +0100 Subject: Problem with Set Script in Compiled App In-Reply-To: References: <430C5279.6010003@fourthworld.com> Message-ID: <430C8FAC.7080002@tweedly.net> David Burgun wrote: > Hi, > > There are a number of reasons to extract the Scripts of RunRev Objects > into seperate text files: > > 1. We have to check files into a Source Database (Source Control > System) and Binary Files are not handlied that well. > > 6 We want to write an "include" file pre-processor that grabs > functions from a Common Include file. > > There are more reasons that this, but these are the main ones off the > top of my head! Those sound to me like good reasons. But the question is whether the associating of scripts to objects *needs* to be done within a standalone executable ? At first glance, it seems feasible to achieve all (or very nearly all) of those objectives with a system like : - scripts are kept in the database - when it is time to release, a "build" script collects the scripts from the database and sets them into the script of the various objects - the standalone builder is then run to create the standalone. That would seem to get 5 out of the 6 issues covered cleanly, and could still be usable (with slight inconvenience) by QA to rebuild with earlier script versions. If that was a critical issue, you could (easily?) provide a mechanism to allow multiple versions of the scripts to be attached, with a run-time selection between them, for QA investigative usage. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: 23/08/2005 From bnz2 at cdc.gov Wed Aug 24 11:18:48 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 24 Aug 2005 11:18:48 -0400 Subject: Another Dumb Field Problem! Message-ID: <64878EF567131D4596246171F75FD4A9744628@m-epo-1.epo.cdc.gov> I just adapted this from a more complex version of a script that does what you want, so it is not really tested, but should work. Email me directly if it does not work, and I will fix it. Lettuce say that you name your fields as follows: Field 1 - "myField 1" Field 2 - "myField 2" Field 3 - "myField 3" Then put the following script in your group On tabkey Put the short name of the target into tField Put word 1 of tField into tFieldName Put word 2 of tFieldName into tFieldNumber If the shiftkey is down then If tFieldNumber > 1 then Subtract 1 from tFieldNumber Else Put the number of fields in me into tFieldNumber End if Else if the commandkey is down then If the selectedfield <> empty then Put Tab into the selection Exit tabkey End if Else If tFieldNumber < the number of fields in me then Add 1 to tFieldNumber Else Put 1 into tFieldNumber End if End if Put tFieldName && tFieldNumber into tNewField Select char 1 to -1 of field tNewField of me End tabkey -----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, August 24, 2005 11:02 AM To: How to use Revolution Subject: Another Dumb Field Problem! Hi, How can I control where the Tab Key navigates to? I just want the tab key to move from one field to the next *within* a group, e.g. Group A Field 1 tab ----> Field 2 tab -----> Field 3 tab -----> Field 1 (if there are 3 fields) Group B Field 1 tab ----> Field 2 tab -----> Field 1 (if there are 2 fields) Thanks a lot Dave _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Wed Aug 24 11:18:59 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 24 Aug 2005 17:18:59 +0200 Subject: Do multiple substacks slow down a program? In-Reply-To: <156.57b1a12f.303dd9f0@aol.com> References: <156.57b1a12f.303dd9f0@aol.com> Message-ID: <6BAE9929-F8D7-4E73-904D-1B4B825B358F@sosmartsoftware.com> Hi Steve, We are "anthropomorphic thinkers" and assume that a substack is "far" from another substack or a mainstack :-) But all data are in RAM and as far I know you are unable to notice a *practical* significant difference in most cases (depends of the amount of data). For instance, you have a custom property in stack A and the same custom property in a substack B from stack A. From stack A you retrieve the contents of the custom property in stack A (the same one) and in substack B. You will find that retrieving the custom property contents from stack A is about 10% faster than from its substack B. This seems "important" but in order to notice this difference you will have to run a loop 1000 times... So, if speed is *very important* and the data you want to process are heavy (that's the point able to make the difference), the answer is: place the data in the stack that uses these data. But in most cases, retrieving data from a substack to process them in the mainstack will not be noticeable. More, if the data used by a mainstack are scattered in many substacks, this will not change anything :-) So, if it is your case, give priority to your architecture. Note that if you retrieve the same data from another stack (not a substack), then the time will increase about 25%. Here is the handler I used to perform a test: constant kTimes = 1000 on mouseUp put the milliseconds into tStart repeat kTimes get the cBuiltInColors of this stack end repeat put the milliseconds - tStart into tThisStackTime ----- put the milliseconds into tStart repeat kTimes get the cBuiltInColors of stack "Sub" end repeat put "Substack:" && the milliseconds - tStart & cr \ & "This stack:" && tThisStackTime end mouseUp The cBuiltInColors custom property was 4 lines: blue brown darkorange red Result for 1000 loops (weighted by 100 runs): Substack: 20 milliseconds This stack: 18 milliseconds Best Regards from Paris, Eric Chatonet. Le 24 ao?t 05 ? 16:10, Stgoldberg at aol.com a ?crit : > So far I'm running close to 100% success with advice received > from this > forum and am very grateful for that. One more question: I'm > planning a program > that uses one or more substacks. The question is whether to place > all the key > data into one substack or to divide them into 2 or more > substacks. One the > one hand, dividing into separate stacks keeps everything neatly > arranged. > However, does it slow down the speed of a program if scripting > commands go from > one substack to another, as opposed to remaining confined to one > substack? > Thanks. > Steve Goldberg ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From pixelbird at interisland.net Wed Aug 24 11:19:21 2005 From: pixelbird at interisland.net (Ken Norris) Date: Wed, 24 Aug 2005 08:19:21 -0700 Subject: e: MIDI externals In-Reply-To: <20050824115131.71211825413@mail.runrev.com> References: <20050824115131.71211825413@mail.runrev.com> Message-ID: Hi Erik, > Date: Tue, 23 Aug 2005 22:58:53 -0700 (PDT) > From: Erik Hansen > Subject: Re: MIDI externals On Aug 24, 2005, at 4:51 AM, use-revolution-request at lists.runrev.com wrote: > --- Ken Norris wrote: > >> Howdy, >> >> Is there an external for Windows (I think >> they're called DLL's?) that >> will select instruments and play MIDI notes >> instantly? Not necessarily >> a song sequence, but a note or chord. > > i am working on something similar and could > not get Shakobox for Windows to works as > it does with Mac. I don't think Shakobox is a solution. It's designed to play a sequence, which is not what I need. It has to play a note or a chord instantly, it can't hesitate. Imagine an onscreen keyboard that plays exactly like a real piano, i.e., if you drag across the keys, it plays the note instantly as soon as you drag into a 'key', and also stops playing a note as soon as you drag out of a key. It can do up to 8 or 9 note polyphony. I'm using an external in SuperCard that accomplishes this (QuickNotes), but, of course, it won't work on a Windows box. All the best, Ken N. From jbondy at sover.net Wed Aug 24 11:20:11 2005 From: jbondy at sover.net (Jon) Date: Wed, 24 Aug 2005 11:20:11 -0400 Subject: question about IDE behavior Message-ID: <430C902B.8060202@sover.net> I often find myself editing a Script, Applying the script, and then immediately going to the main Rev menu to do a Files/Save. Unfortunately, Save is grayed out if I have a Script Editor open/active. I have to click on the main Stack in order to get the menu to allow me to do a Save. Any idea whether this behavior is necessary or not? I don't understand, technically, why one would not (or should not) be able to be do a Save while the Script Editor is active. If no one can explain why this behavior is necessary, I may BZ it. :) Jon From pixelbird at interisland.net Wed Aug 24 11:22:26 2005 From: pixelbird at interisland.net (Ken Norris) Date: Wed, 24 Aug 2005 08:22:26 -0700 Subject: MIDI externals In-Reply-To: <20050824115131.71211825413@mail.runrev.com> References: <20050824115131.71211825413@mail.runrev.com> Message-ID: <04878c26b276043731f9dde8815f857d@interisland.net> Hi Xavier, > Date: Wed, 24 Aug 2005 08:32:26 +0200 > From: xbury.cs at clearstream.com > Subject: Re: MIDI externals > http://www.midiox.com/ Thanks, I'll take a look. All the best, Ken N. From jbondy at sover.net Wed Aug 24 11:25:19 2005 From: jbondy at sover.net (Jon) Date: Wed, 24 Aug 2005 11:25:19 -0400 Subject: searching all scripts in an application Message-ID: <430C915F.5090704@sover.net> Is there any easy way to find all occurrences of the word "Send" in all scripts in a stack? :) Jon From jbondy at sover.net Wed Aug 24 11:29:19 2005 From: jbondy at sover.net (Jon) Date: Wed, 24 Aug 2005 11:29:19 -0400 Subject: revolution taking up 100% of cpu, again Message-ID: <430C924F.7060502@sover.net> I reported this IDE problem months ago, with a different application, but here I go again. I seem to have a talent for creating problem stacks like this. Last time it was a logic error in one of my handlers. I am writing an application to test a web site I've written. Once every TBD (typically 15) minutes, it "wakes up" and Posts some data to each of three versions of the same web site (supposed to be the same code, only on three different servers, one of which is local to my machine). It then inspects the returned HTML to see if the requested operation was successful. I wrote the program to "wake up" every 10 seconds and see whether it is time to go yet or not. Two strange things are happening. 1) while the application is supposed to be hitting each web site/server once every TBD minutes, it seems as if it may be hitting it 4-5 times, all within a fraction of a second. This undesired behavior (AKA bug?) has allowed me to find and fix a number of errors in the web site, but I would like to understand how and why it is occurring. My first thought is that multiple Sends are getting triggered when I only wanted one to be sent. I altered the Send statement to be included in the following procedure, to try to control this: on SendToMyself s local pm, str, theLine put the pendingMessages into pm repeat for each line theLine in pm put char 1 to 3 of item 3 of theLine into str if (str <> "rev") then cancel item 1 of theLine end if end repeat if (s = 0) then send "TestTheReports" to the target else send "TestTheReports" to the target in s seconds end if Can anyone see a problem with the way this is written? 2) if I run the stack for 20 hours or so, and then click on the Close icon, Rev first asks if I want to save the application, after which Rev starts to use 100% of the CPU. I have to go kill the IDE, even though, in theory, nothing is running any longer. This can also happen if I switch from Run mode to Edit mode in the IDE, at which point I lose EVERYTHING I've worked on (no Save is possible). I Save the application every chance I get because of this. If I had to guess, I would think that the IDE is losing it over residual Sends/messages (see above) I tried monitoring the Messages, but did not see the spray of messages that I had thought that I might: I only see that one message every 10 seconds. Any thoughts about this situation? I can provide the stack if you wish... :) Jon From bnz2 at cdc.gov Wed Aug 24 11:47:45 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 24 Aug 2005 11:47:45 -0400 Subject: Another Dumb Field Problem! Message-ID: <64878EF567131D4596246171F75FD4A99681B6@m-epo-1.epo.cdc.gov> Oops, made a simple obvious mistake, here is the revised version of that script: On tabkey Put the short name of the target into tField Put word 1 of tField into tFieldName Put word 2 of tField into tFieldNumber If the shiftkey is down then If tFieldNumber > 1 then Subtract 1 from tFieldNumber Else Put the number of fields in me into tFieldNumber End if Else if the commandkey is down then If the selectedfield <> empty then Put Tab into the selection Exit tabkey End if Else If tFieldNumber < the number of fields in me then Add 1 to tFieldNumber Else Put 1 into tFieldNumber End if End if Put tFieldName && tFieldNumber into tNewField Select char 1 to -1 of field tNewField of me End tabkey From dburgun at dsl.pipex.com Wed Aug 24 11:50:25 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 24 Aug 2005 16:50:25 +0100 Subject: Problem with Set Script in Compiled App In-Reply-To: <430C8FAC.7080002@tweedly.net> References: <430C5279.6010003@fourthworld.com> <430C8FAC.7080002@tweedly.net> Message-ID: Hi, The real problem is that you can't attach a script with more than 10 lines while running a standalone app, so RunRev would have to be installed on the QA machine, which is far from ideal. All the Best Dave >David Burgun wrote: > >>Hi, >> >>There are a number of reasons to extract the Scripts of RunRev >>Objects into seperate text files: >> >>1. We have to check files into a Source Database (Source Control >>System) and Binary Files are not handlied that well. >> >>6 We want to write an "include" file pre-processor that grabs >>functions from a Common Include file. >> >>There are more reasons that this, but these are the main ones off >>the top of my head! > >Those sound to me like good reasons. But the question is whether the >associating of scripts to objects *needs* to be done within a >standalone executable ? > >At first glance, it seems feasible to achieve all (or very nearly >all) of those objectives with a system like : > >- scripts are kept in the database >- when it is time to release, a "build" script collects the scripts >from the database and sets them into the script of the various >objects >- the standalone builder is then run to create the standalone. > >That would seem to get 5 out of the 6 issues covered cleanly, and >could still be usable (with slight inconvenience) by QA to rebuild >with earlier script versions. If that was a critical issue, you >could (easily?) provide a mechanism to allow multiple versions of >the scripts to be attached, with a run-time selection between them, >for QA investigative usage. > >-- >Alex Tweedly http://www.tweedly.net > > > >-- >No virus found in this outgoing message. >Checked by AVG Anti-Virus. >Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: 23/08/2005 > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From jhurley at infostations.com Wed Aug 24 11:50:23 2005 From: jhurley at infostations.com (Jim Hurley) Date: Wed, 24 Aug 2005 08:50:23 -0700 Subject: OT: Search content of your Rev files In-Reply-To: <20050824115131.81D9F825414@mail.runrev.com> References: <20050824115131.81D9F825414@mail.runrev.com> Message-ID: For those of you using OS X 3 and those using OS X 4 but have not been successful with Spotlight, there is an alternative called EasyFind, free and available at: http://www.macupdate.com/info.php/id/11076 To search for Rev file content it is necessary to include (under the light switch icon) either the file extension (.rev) if there is one, or the type code or Rev: 'RSTK' (Be sure to include the single quote at each end.) The later is safer. It will search all Rev files, extension or no. EasyFind is much slower than Spotlight but MUCH more reliable. Jim From eric.chatonet at sosmartsoftware.com Wed Aug 24 11:53:53 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 24 Aug 2005 17:53:53 +0200 Subject: searching all scripts in an application In-Reply-To: <430C915F.5090704@sover.net> References: <430C915F.5090704@sover.net> Message-ID: Hi Jon, Yes: Control F :-) Le 24 ao?t 05 ? 17:25, Jon a ?crit : > Is there any easy way to find all occurrences of the word "Send" in > all scripts in a stack? Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From ambassador at fourthworld.com Wed Aug 24 11:55:29 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 08:55:29 -0700 Subject: searching all scripts in an application In-Reply-To: <430C915F.5090704@sover.net> References: <430C915F.5090704@sover.net> Message-ID: <430C9871.2050604@fourthworld.com> Jon wrote: > Is there any easy way to find all occurrences of the word "Send" in all > scripts in a stack? My devolution toolkit includes a script search tool that searches either all scripts in a stack or all scripts in the current message path. It's free to use: -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From scott at tactilemedia.com Wed Aug 24 12:07:06 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 24 Aug 2005 09:07:06 -0700 Subject: Custom Answer File Dialog? In-Reply-To: Message-ID: Recently, xbury.cs at clearstream.com wrote: >> Has anyone assembled a custom answer file dialog that they would be >> willing to share? I have to manage some non-standard file navigation and it >> would be helpful to be able to skip reinventing the wheel if possible. > Check out the MetaCard built-in file-answer dialog... > > It should be step in the right direction. > > I've evolved it into my FileBrowser in TAOO (see the previously posted > screenshots) > and i have yet to add the "ask" and "answer" capabilities to it... > > You can take it pretty far... Thanks Xavier. This might work out pretty well. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From irog at mac.com Wed Aug 24 12:11:44 2005 From: irog at mac.com (Roger Guay) Date: Wed, 24 Aug 2005 09:11:44 -0700 Subject: Downloading stacks Message-ID: <3C7AA4C2-16E0-4A65-AE43-F369C2B4186C@mac.com> Hi, This is probably simple, but sometimes when I attempt to download a stack I get a page of text starting 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 An example of this is the Tree View stack from http:// revolution.lexicall.org/stacks_education.php Would someone please help with this? Thanks, Roger From soapdog at mac.com Wed Aug 24 12:14:01 2005 From: soapdog at mac.com (Andre Garzia) Date: Wed, 24 Aug 2005 13:14:01 -0300 Subject: Downloading stacks In-Reply-To: <3C7AA4C2-16E0-4A65-AE43-F369C2B4186C@mac.com> References: <3C7AA4C2-16E0-4A65-AE43-F369C2B4186C@mac.com> Message-ID: <14B5CFE6-9334-47DC-8AE1-8473A6CA19B2@mac.com> Hi There Roger, Instead of clicking the link, select "Save As..." from your contextual menu, browsers usually think that the stack is text, you must save it to file, most browsers offers a save link to file option. Cheers andre On Aug 24, 2005, at 1:11 PM, Roger Guay wrote: > Hi, > > This is probably simple, but sometimes when I attempt to download a > stack I get a page of text starting 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 > > An example of this is the Tree View stack from http:// > revolution.lexicall.org/stacks_education.php > > Would someone please help with this? > > Thanks, Roger_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Wed Aug 24 12:30:15 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 24 Aug 2005 09:30:15 -0700 Subject: Problem with Set Script in Compiled App In-Reply-To: References: <430C5279.6010003@fourthworld.com> Message-ID: <61243067.20050824093015@ahsoftware.net> David- Do this from a runrev plugin rather than from a standalone app. That's the way I do it and it works well. I use sockets for communication between the plugin and the source control app, but sending the entire script as a text item should work as well. As long as you don't create a standalone app and stay within the IDE you won't run into the 10-line limit. Once you get beyond this hurdle you'll probably want to enumerate the properties and custom properties as lists and send them out to the source control app as well. -- -Mark Wieder mwieder at ahsoftware.net From mark at maseurope.net Wed Aug 24 12:33:16 2005 From: mark at maseurope.net (Mark Smith) Date: Wed, 24 Aug 2005 17:33:16 +0100 Subject: revolution taking up 100% of cpu, again In-Reply-To: <430C924F.7060502@sover.net> References: <430C924F.7060502@sover.net> Message-ID: Why are you cancelling all pending messages that don't start with "rev"? Perhaps, if the timing is unlucky, you're interfering with a close stack message? Mark On 24 Aug 2005, at 16:29, Jon wrote: > I reported this IDE problem months ago, with a different application, > but here I go again. I seem to have a talent for creating problem > stacks like this. Last time it was a logic error in one of my > handlers. > > I am writing an application to test a web site I've written. Once > every TBD (typically 15) minutes, it "wakes up" and Posts some data to > each of three versions of the same web site (supposed to be the same > code, only on three different servers, one of which is local to my > machine). It then inspects the returned HTML to see if the requested > operation was successful. > > I wrote the program to "wake up" every 10 seconds and see whether it > is time to go yet or not. Two strange things are happening. > > 1) while the application is supposed to be hitting each web > site/server once every TBD minutes, it seems as if it may be hitting > it 4-5 times, all within a fraction of a second. This undesired > behavior (AKA bug?) has allowed me to find and fix a number of errors > in the web site, but I would like to understand how and why it is > occurring. My first thought is that multiple Sends are getting > triggered when I only wanted one to be sent. I altered the Send > statement to be included in the following procedure, to try to > control this: > > on SendToMyself s local pm, str, theLine > put the pendingMessages into pm > repeat for each line theLine in pm > put char 1 to 3 of item 3 of theLine into str > if (str <> "rev") then > cancel item 1 of theLine > end if > end repeat > if (s = 0) then > send "TestTheReports" to the target > else > send "TestTheReports" to the target in s seconds > end if > > Can anyone see a problem with the way this is written? > > > 2) if I run the stack for 20 hours or so, and then click on the Close > icon, Rev first asks if I want to save the application, after which > Rev starts to use 100% of the CPU. I have to go kill the IDE, even > though, in theory, nothing is running any longer. This can also > happen if I switch from Run mode to Edit mode in the IDE, at which > point I lose EVERYTHING I've worked on (no Save is possible). I Save > the application every chance I get because of this. If I had to > guess, I would think that the IDE is losing it over residual > Sends/messages (see above) > > I tried monitoring the Messages, but did not see the spray of messages > that I had thought that I might: I only see that one message every 10 > seconds. > > Any thoughts about this situation? I can provide the stack if you > wish... > > :) > > Jon > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com From ambassador at fourthworld.com Wed Aug 24 12:44:31 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 09:44:31 -0700 Subject: Problem with Set Script in Compiled App In-Reply-To: References: <430C5279.6010003@fourthworld.com> Message-ID: <430CA3EF.1050605@fourthworld.com> David Burgun wrote: > Hi, > > There are a number of reasons to extract the Scripts of RunRev Objects > into seperate text files: > > 1. We have to check files into a Source Database (Source Control > System) and Binary Files are not handlied that well. Binary elements are not uncommon in databases. It may be simpler to upgrade to a more robust DB. > 2. We want to be able to compare and exchange scripts from previous > versions and to track the deleteion and additions of objects to the stack. This can be done easily in development -- why is that development task better served in your workflow from a standalone? > 3. For QA it is usefull to be able to take the latest GUI in terms of > appearance and swop in older scripts, to pin point where the problems lie. Interesting idea, but if your code and your UI are that closely bound maybe it's time to consider factoring most of the code into libraries. > 4. There are lots of expensive tools (which we have) for comparing and > merging source code trees, exporting the scripts as files allows us use > them. If you're heavily invested in "expensive tools" for this, a $99 copy of DreamCard to handle re-assembly seems a small addition. > 5. We want be able to globally replace Text across a whole stack or > project/application. Why can't that be done at development time? > 6 We want to write an "include" file pre-processor that grabs functions > from a Common Include file. You may find greater overall efficiency doing includes as part of scripting, where you have the benefit of the script compile errors to point you to anything that needs attention. Overall it seems the historical investment in tools designed for traditional text-only languages is where you're having dificulty making the parts fit with Rev. Rev is definitely a different way of working, and while it's possible to jump through the hoops needed to coerce workflows designed for very different tools to also work with Rev, in many cases there are far more cost-effective ways to do the same job. Ken Ray, myself and others have written a wide range of custom tools for managing small groups of developers contributing to a common project. Chipp Walters has written one that's generalized for use with just about any Rev project, and it runs from any FTP server with no specialized server software: It may not do everything you need, but may spark ideas for Rev-oriented solutions to achieve the same practical benefits of what your system does with text-only dev tools. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From webmaster at dreamscapesoftware.com Wed Aug 24 12:46:15 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Wed, 24 Aug 2005 11:46:15 -0500 Subject: OT: Mail Bomb? Message-ID: <430CA457.1030705@dreamscapesoftware.com> Hi List, Anyone else happen to get mail bombed over the week? I the problem for me is finally sorted out, but in the course of 1 day I received almost 15 Thousand emails! The mail file was 50MBs. The mail file from the rest of the week was almost 500MBs. I'm hoping that no one else on the list experienced it, but I'm asking just in case. Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com/ From ambassador at fourthworld.com Wed Aug 24 12:51:11 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 09:51:11 -0700 Subject: OT: Mail Bomb? In-Reply-To: <430CA457.1030705@dreamscapesoftware.com> References: <430CA457.1030705@dreamscapesoftware.com> Message-ID: <430CA57F.5030203@fourthworld.com> Derek Bump wrote: > Anyone else happen to get mail bombed over the week? > > I the problem for me is finally sorted out, but in the course of 1 day I > received almost 15 Thousand emails! The mail file was 50MBs. The mail > file from the rest of the week was almost 500MBs. > > I'm hoping that no one else on the list experienced it, but I'm asking > just in case. I got several thousand copies of neo-Nazi propaganda via the Sobig.h virus two months ago. Nothing of that magnitude since (though it would be nice not to be getting a hundred offers for trademark-violating cheap replica watches every day -- when will it become legal to punch spammers in the stomach?). Check news.com to see if there's anything reported there. That's how I learned about Sobig.h's role in the attack I got.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From kray at sonsothunder.com Wed Aug 24 12:55:43 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 24 Aug 2005 11:55:43 -0500 Subject: Cell phones In-Reply-To: <20050824054330.954DCAFABB@xprdmailfe5.nwk.excite.com> Message-ID: On 8/24/05 12:43 AM, "Thomas McCarthy" wrote: > 1: I imagine most students check their email via cell phones. Don't laugh, but > I don't have one (and yes, I'm in Japan--even my toilet has one). Can cell > phones accept / respond to html mail? (my doubt-meter is in the red zone) > > 2: What are the basic pixel dimentions of a cell display? Should I concern > myself? > > 3: What kind of media can the newer phones handle. I've heard mpeg4. I think the problem is that you can just refer to "cell phones" as a group - there are many different kinds of phones, including those that are phone/PDA combos (like the MS Smartphones, or the Palm Treos), that have different features and capabilities. Whether or not a cell phone can accept HTML mail is based on the mail software used for a particular phone; similarly the pixel dimensions of the phone display varies, as does the ability to play media. I know that's not much help, but *in general*, simple cell phones cannot display HTML, can't play movies or MP3s (just ringtones), and the pixel display is something around 240x240 (mine is 240x320). HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Wed Aug 24 13:02:57 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 24 Aug 2005 12:02:57 -0500 Subject: Another Dumb Field Problem! In-Reply-To: Message-ID: On 8/24/05 10:01 AM, "David Burgun" wrote: > Hi, > > How can I control where the Tab Key navigates to? > > I just want the tab key to move from one field to the next *within* a > group, e.g. Tabbing is based on the layer order - from lowest to highest. WHen you've tabbed into a group (or the insertion point is in a field in the group), there is a "tabGroupBehavior" property that governs what to do. If it is FALSE, you can tab from field to field within the group. If it is TRUE, tabbing will go from the group to the next open field that is not in the current group (allowing you to tab from group to group if you like). So I'd check to make sure that tabGroupBehavior is FALSE, and that the fields inside your group are layered in the order you want to tab through them. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From dburgun at dsl.pipex.com Wed Aug 24 13:32:17 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 24 Aug 2005 18:32:17 +0100 Subject: Another Dumb Field Problem! In-Reply-To: <64878EF567131D4596246171F75FD4A99681B6@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A99681B6@m-epo-1.epo.cdc.gov> Message-ID: Hi, I couldn't get your Scripts to work, but I modified it as below and it works fine now. It replies on the fields being alone on a group (inside the parent group). It seems to work fine except I don't want the text inside the field to be selected as in: select char 1 to -1 of field myFieldNumber of me How can I get the cursor to move to the next field BUT not have the contents selected? Thanks a lot Dave ------------------------------------------------------------------------------- -- -- tabKey -- ------------------------------------------------------------------------------- on tabKey local myFieldNumber local myNewField local myNumberOfFields local myTargetFieldNumber put the number of the target into myTargetFieldNumber put the number of me into myFieldNumber put myTargetFieldNumber - myFieldNumber into myFieldNumber put the number of fields in me into myNumberOfFields if the shiftKey is down then if myFieldNumber > 1 then subtract 1 from myFieldNumber else put myNumberOfFields into myFieldNumber end if else if myFieldNumber < myNumberOfFields then add 1 to myFieldNumber else put 1 into myFieldNumber end if end if select char 1 to -1 of field myFieldNumber of me end tabKey >Oops, made a simple obvious mistake, here is the revised version of that >script: >On tabkey > Put the short name of the target into tField > Put word 1 of tField into tFieldName > Put word 2 of tField into tFieldNumber > If the shiftkey is down then > If tFieldNumber > 1 then > Subtract 1 from tFieldNumber > Else > Put the number of fields in me into tFieldNumber > End if > Else if the commandkey is down then > If the selectedfield <> empty then > Put Tab into the selection > Exit tabkey > End if > Else > If tFieldNumber < the number of fields in me then > Add 1 to tFieldNumber > Else > Put 1 into tFieldNumber > End if > End if > Put tFieldName && tFieldNumber into tNewField > Select char 1 to -1 of field tNewField of me >End tabkey > > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From irog at mac.com Wed Aug 24 13:46:23 2005 From: irog at mac.com (Roger Guay) Date: Wed, 24 Aug 2005 10:46:23 -0700 Subject: use-revolution Digest, Vol 23, Issue 87 In-Reply-To: <20050824170005.48E4282546A@mail.runrev.com> References: <20050824170005.48E4282546A@mail.runrev.com> Message-ID: <079FFF35-478E-4C67-9C21-77C2C5E9CE7A@mac.com> Thanks, Andre. This works just fine! Cheers, Roger On Aug 24, 2005, at 10:00 AM, use-revolution-request at lists.runrev.com wrote: > Instead of clicking the link, select "Save As..." from your > contextual menu, browsers usually think that the stack is text, you > must save it to file, most browsers offers a save link to file option. > > Cheers > andre > From dburgun at dsl.pipex.com Wed Aug 24 13:50:56 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 24 Aug 2005 18:50:56 +0100 Subject: Problem with Set Script in Compiled App In-Reply-To: <430CA3EF.1050605@fourthworld.com> References: <430C5279.6010003@fourthworld.com> <430CA3EF.1050605@fourthworld.com> Message-ID: Hi Ali, >David Burgun wrote: >>Hi, >> >>There are a number of reasons to extract the Scripts of RunRev >>Objects into seperate text files: >> >>1. We have to check files into a Source Database (Source Control >>System) and Binary Files are not handlied that well. > >Binary elements are not uncommon in databases. It may be simpler to >upgrade to a more robust DB. But not an option for me. Have been told that I need to check in text files, not binaries, and far from being simpler it would mean reoganizing Mega Byes of source code and distrupting an overwise working system! > >>2. We want to be able to compare and exchange scripts from >>previous versions and to track the deleteion and additions of >>objects to the stack. > >This can be done easily in development -- why is that development >task better served in your workflow from a standalone? Because it will be performed by a different department and they require a standalone app. > >>3. For QA it is usefull to be able to take the latest GUI in terms >>of appearance and swop in older scripts, to pin point where the >>problems lie. > >Interesting idea, but if your code and your UI are that closely >bound maybe it's time to consider factoring most of the code into >libraries. Would still have the same requirement if the code were in libraries. > >>4. There are lots of expensive tools (which we have) for comparing >>and merging source code trees, exporting the scripts as files >>allows us use them. > >If you're heavily invested in "expensive tools" for this, a $99 copy >of DreamCard to handle re-assembly seems a small addition. The requirement is for a Standalone Tool, the cost isn't an issue. >>5. We want be able to globally replace Text across a whole stack >>or project/application. > >Why can't that be done at development time? It can, but we also want to be able to do it from a Standalone. >Overall it seems the historical investment in tools designed for >traditional text-only languages is where you're having dificulty >making the parts fit with Rev. Not really, the tools are recent and valid for wide range of languages including RunRev, in fact with the exception of the 10 line limit in restoring scripts, the export operation works just fine with the tools and adds a whole lot of power that is missing from the RunRev system. > >Rev is definitely a different way of working, and while it's >possible to jump through the hoops needed to coerce workflows >designed for very different tools to also work with Rev, in many >cases there are far more cost-effective ways to do the same job. The only problem is the 10 line limit which we are hoping to addresss in the form of a license. >Ken Ray, myself and others have written a wide range of custom tools >for managing small groups of developers contributing to a common >project. > >Chipp Walters has written one that's generalized for use with just >about any Rev project, and it runs from any FTP server with no >specialized server software: > The point is that I have to use the company system not the other way round. RunRev is less that 2% of the total, they are not going to change the whole system to suit RunRev! All the Best Dave From dburgun at dsl.pipex.com Wed Aug 24 13:53:52 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 24 Aug 2005 18:53:52 +0100 Subject: searching all scripts in an application In-Reply-To: <430C915F.5090704@sover.net> References: <430C915F.5090704@sover.net> Message-ID: That's why I want to (and have) export my scripts as text files. You can then search and modify them as a group, do group replaces and then put them back aagin!!! All the Best Dave >Is there any easy way to find all occurrences of the word "Send" in >all scripts in a stack? > >:) > >Jon >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From bnz2 at cdc.gov Wed Aug 24 13:58:27 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 24 Aug 2005 13:58:27 -0400 Subject: Another Dumb Field Problem! Message-ID: <64878EF567131D4596246171F75FD4A9744629@m-epo-1.epo.cdc.gov> My pleasure, Use this wording: Select before field 1 That will place the cursor at the top of the field. The difference between our two scripts is that your method is using the field number, and my method is using the field name. For my method to work, the fields have to actually be named with the same first word, such as "myField 1" , "myField 2" , etc... Using field number is ok, as long as their layer properties correspond to their vertical location in the group. If you go into the group after you have created it, and add a new field that is located between two other fields, then be sure to reset their layer properties so that they correspond to their vertical location in the group. Otherwise, you will wind up jumping to the wrong field. By the way, my original script can be modified so that you can have other fields in the same group that are not part of the series. I tested this script, and it works perfectly. I will send the test stack to you offlist, so you can see how it is implemented: On tabkey Put the short name of the target into tField Put word 1 of tField into tFieldName Put word 2 of tField into tFieldNumber Put 0 into tFieldCount Repeat with X = 1 to the number of fields in me If word 1 of the short name of field X of me = tFieldName then add 1 to tFieldCount End repeat If the shiftkey is down then If tFieldNumber > 1 then Subtract 1 from tFieldNumber Else Put tFieldCount into tFieldNumber End if Else if the commandkey is down then If the selectedfield <> empty then Put Tab into the selection Exit tabkey End if Else If tFieldNumber < tFieldCount then Add 1 to tFieldNumber Else Put 1 into tFieldNumber End if End if Put tFieldName && tFieldNumber into tNewField Select before field tNewField of me End tabkey -----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, August 24, 2005 1:32 PM To: How to use Revolution Subject: RE: Another Dumb Field Problem! Hi, I couldn't get your Scripts to work, but I modified it as below and it works fine now. It replies on the fields being alone on a group (inside the parent group). It seems to work fine except I don't want the text inside the field to be selected as in: select char 1 to -1 of field myFieldNumber of me How can I get the cursor to move to the next field BUT not have the contents selected? Thanks a lot Dave ------------------------------------------------------------------------ ------- -- -- tabKey -- ------------------------------------------------------------------------ ------- on tabKey local myFieldNumber local myNewField local myNumberOfFields local myTargetFieldNumber put the number of the target into myTargetFieldNumber put the number of me into myFieldNumber put myTargetFieldNumber - myFieldNumber into myFieldNumber put the number of fields in me into myNumberOfFields if the shiftKey is down then if myFieldNumber > 1 then subtract 1 from myFieldNumber else put myNumberOfFields into myFieldNumber end if else if myFieldNumber < myNumberOfFields then add 1 to myFieldNumber else put 1 into myFieldNumber end if end if select char 1 to -1 of field myFieldNumber of me end tabKey >Oops, made a simple obvious mistake, here is the revised version of that >script: >On tabkey > Put the short name of the target into tField > Put word 1 of tField into tFieldName > Put word 2 of tField into tFieldNumber > If the shiftkey is down then > If tFieldNumber > 1 then > Subtract 1 from tFieldNumber > Else > Put the number of fields in me into tFieldNumber > End if > Else if the commandkey is down then > If the selectedfield <> empty then > Put Tab into the selection > Exit tabkey > End if > Else > If tFieldNumber < the number of fields in me then > Add 1 to tFieldNumber > Else > Put 1 into tFieldNumber > End if > End if > Put tFieldName && tFieldNumber into tNewField > Select char 1 to -1 of field tNewField of me >End tabkey > > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Wed Aug 24 14:03:31 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 11:03:31 -0700 Subject: searching all scripts in an application In-Reply-To: References: <430C915F.5090704@sover.net> Message-ID: <430CB673.9000104@fourthworld.com> David Burgun wrote: > That's why I want to (and have) export my scripts as text files. You can > then search and modify them as a group, do group replaces and then put > them back aagin!!! It's usually faster and simpler to do that in place. Eric, got a plugin for that? I know I've seen one or two around.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From yoursignup at yahoo.com Wed Aug 24 14:13:12 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Wed, 24 Aug 2005 08:13:12 -1000 Subject: OT: Computer Science in today's market In-Reply-To: <430B8A7D.30602@fourthworld.com> Message-ID: If what your doing involves a GUI and end users, I wouldn't worry too much. Even the programming itself is difficult to outsource. Several years ago I had a company that outsourced to India. You can't leave anything to the imagination in the spec. If you do it's guaranteed to come back wrong. And there are cultural differences to deal with that effect the software. For example, making requests to reorder the prompts on a working entry screen, so it matches the customer's workflow, elicit disbelief and outright laughter. The programmers can't understand why you would take something that works and change it solely for the convenience of the end user. After all, labor is cheap and if someone complains they just get fired and immediately replaced, right? Color, inconsistent layout, and look and feel become major issues of contention. On the other hand, if your a just a coder working as part of multi-discipline team on non-visible background or system processes, well, here they excel. Jim > -----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, August 23, 2005 10:44 AM > To: How to use Revolution > Subject: Re: OT: Computer Science in today's market > > > Jim Hurley wrote: > > Thought some of you might be interested in this article from > the NYT on > > Computer Science as a major in today's world of technology and the > > problems with off-shoring of programming jobs. > > > > TECHNOLOGY | August 23, 2005 > > > 460800&en=6b61cc74c14ba4af&ei=5070&emc=eta1>ATechie, > > Absolutely, and More > > By STEVE LOHR > > For computer science students, expanding expertise beyond > programming is > > crucial to future job security as technology jobs move to India > and China. > > A reassuring read. > > Makes me glad I never jumped on the bandwagon with commodity languages > like Java and VB. Anything that can be commoditized will be sent > overseas today, and done by robots tommorrow. > > I don't know about the rest of you folks, but I spend more time doing > requirements analysis and design than coding. Those jobs can be > outsourced only at the publisher's peril: design work requires an > intimate understanding of not just the regional culture of the target > audience, but also the organizational culture. You have to directly > observe users in action, interview people at all levels of the > organization your software will support, and learn when to listen to > what they tell you and when to read between the lines to hear not what > they're able to articulate but what they really mean. > > Software design is more about workflow than algorithms, more about > people than machines. > > A tool like Rev is already doing most of the work that other companies > outsource: the bit-counting tedium of lower-level languages. > > Us Rev devs ge get to focus on the people side of the business, which > for me is more enjoyable (when I was working in C I kept asking, "Why am > I typing this -- can't the machine do this for me?"), and not likely to > move offshore anytime soon (except perhaps with short-sighted companies > who prefer to jeopardize their viability by blurring the distinctions > between short-term savings and long-term ROI, and I try to avoid working > with companies that aren't ROI-driven anyway). > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From ambassador at fourthworld.com Wed Aug 24 14:13:56 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 11:13:56 -0700 Subject: Problem with Set Script in Compiled App In-Reply-To: References: <430C5279.6010003@fourthworld.com> <430CA3EF.1050605@fourthworld.com> Message-ID: <430CB8E4.8000400@fourthworld.com> David Burgun wrote: >>> 2. We want to be able to compare and exchange scripts from previous >>> versions and to track the deleteion and additions of objects to the >>> stack. >> >> This can be done easily in development -- why is that development task >> better served in your workflow from a standalone? > > Because it will be performed by a different department and they require > a standalone app. DreamCard is a standalone app. You can make a plugin that runs automatically when it's launch and it looks and behaves exactly as you like, but with no script limit -- for just $99 per seat. What specific benefits are they asking for with the requirement for a "standalone"? >> Overall it seems the historical investment in tools designed for >> traditional text-only languages is where you're having dificulty >> making the parts fit with Rev. > > > Not really, the tools are recent and valid for wide range of languages > including RunRev, in fact with the exception of the 10 line limit in > restoring scripts, the export operation works just fine with the tools > and adds a whole lot of power that is missing from the RunRev system. What does it do for you that can't be done directly in Rev? I'm not arguing the point; the question is sincere. In my experience I've not come across a workflow like yours, even managing teams with sizes ranging from 2 to 20 programmers with about as many others doing writing, graphics, video production, etc. Unless the specifics of your workflow are so vertical that they're only useful to the org you work in, my hunch is that if we can understand what specific benefits your system provides we can explore ways to support that more easily in Rev, for the benefit of other large-team projects. > The only problem is the 10 line limit which we are hoping to addresss in > the form of a license. If cost is not problem that's probably the simplest. But if you feel what you need to support your workflow can also benefit other teams, I'd definitely like to learn more about it. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Wed Aug 24 14:16:41 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 11:16:41 -0700 Subject: OT: Computer Science in today's market In-Reply-To: References: Message-ID: <430CB989.2000701@fourthworld.com> Jim Bufalini wrote: > Several years ago I had a company that outsourced to India. You can't leave > anything to the imagination in the spec. If you do it's guaranteed to come > back wrong. And there are cultural differences to deal with that effect the > software. > > For example, making requests to reorder the prompts on a working entry > screen, so it matches the customer's workflow, elicit disbelief and outright > laughter. The programmers can't understand why you would take something that > works and change it solely for the convenience of the end user. I hope all my clients' competitors outsource. :) That last line is one of the funniest things I've read in this industry in years. Should be a t-shirt.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From dburgun at dsl.pipex.com Wed Aug 24 14:24:20 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 24 Aug 2005 19:24:20 +0100 Subject: Another Dumb Field Problem! In-Reply-To: <64878EF567131D4596246171F75FD4A9744629@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9744629@m-epo-1.epo.cdc.gov> Message-ID: >My pleasure, > >Use this wording: > > Select before field 1 Thanks a lot for this, >That will place the cursor at the top of the field. The difference >between our two scripts is that your method is using the field number, >and my method is using the field name. For my method to work, the fields >have to actually be named with the same first word, such as "myField 1" >, "myField 2" , etc... > >Using field number is ok, as long as their layer properties correspond >to their vertical location in the group. If you go into the group after >you have created it, and add a new field that is located between two >other fields, then be sure to reset their layer properties so that they >correspond to their vertical location in the group. Otherwise, you will >wind up jumping to the wrong field. > >By the way, my original script can be modified so that you can have >other fields in the same group that are not part of the series. I tested >this script, and it works perfectly. I will send the test stack to you >offlist, so you can see how it is implemented: > >On tabkey > Put the short name of the target into tField > Put word 1 of tField into tFieldName > Put word 2 of tField into tFieldNumber > Put 0 into tFieldCount > Repeat with X = 1 to the number of fields in me > If word 1 of the short name of field X of me = tFieldName then add 1 >to tFieldCount > End repeat > > If the shiftkey is down then > If tFieldNumber > 1 then > Subtract 1 from tFieldNumber > Else > Put tFieldCount into tFieldNumber > End if > Else if the commandkey is down then > If the selectedfield <> empty then > Put Tab into the selection > Exit tabkey > End if > Else > If tFieldNumber < tFieldCount then > Add 1 to tFieldNumber > Else > Put 1 into tFieldNumber > End if > End if > Put tFieldName && tFieldNumber into tNewField > Select before field tNewField of me >End tabkey This is a much better way of doing it. I was trying to get something like this but couldn't quite get there! Thanks Again! All the Best Dave From charles.hartman at conncoll.edu Wed Aug 24 14:34:08 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Wed, 24 Aug 2005 14:34:08 -0400 Subject: searching all scripts in an application In-Reply-To: <430C9871.2050604@fourthworld.com> References: <430C915F.5090704@sover.net> <430C9871.2050604@fourthworld.com> Message-ID: <51CAAC13-72CD-4F22-9BCA-F92213E6386E@conncoll.edu> (off-list) Richard, This is terrific -- I just downloaded it & used it for ten minutes and I'm already hooked. Frankly, it seems much more useful (and far less crash-prone) than the Daniels & Mara suite. I did run into one bug: I'm working on a substack, with the Object Browser and the Properties palette available. Properties is showing the stack. When I pull down the menu at the top and select the current card instead, I get: "There was an error executing a script in stack 4WProps. No more information is available because the stack is password protected." Then Properties *does* seem (by its title) to switch to showing the card. Charles Hartman On Aug 24, 2005, at 11:55 AM, Richard Gaskin wrote: > Jon wrote: > >> Is there any easy way to find all occurrences of the word "Send" >> in all scripts in a stack? >> > > My devolution toolkit includes a script search tool that searches > either all scripts in a stack or all scripts in the current message > path. > > It's free to use: > > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION at barncard.com Wed Aug 24 14:35:51 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 24 Aug 2005 11:35:51 -0700 Subject: Problem with Set Script in Compiled App In-Reply-To: <13937F85-12C3-4CAF-8304-623ABE1300E0@sosmartsoftware.com> References: <430C5279.6010003@fourthworld.com> <13937F85-12C3-4CAF-8304-623ABE1300E0@sosmartsoftware.com> Message-ID: Dave, This looks like an in house development situation - perhaps you should consider several studio licenses of rev...there are no such script limits with the IDE running. So if this is a development tool...there should be no issues... And if you are making a 'builder', the other guys are right, you should contact runrev for special licensing. >Hi Dave, > >From the docs: >When using a standalone application, an object's script property may >not be set to a string containing more than ten statements. This >limit is set by line 1 of the scriptLimits function. (This does not >limit scripts that are already written: standalone applications can >run scripts of any length. However, if the standalone attempts to >change an object's script property, and the script contains more >than the allowable number of statements, the attempt to set the >script causes an error.) >So your only chance is to get a special licence as it was previously said :-( > >Best Regards from Paris, > From jbondy at sover.net Wed Aug 24 14:45:57 2005 From: jbondy at sover.net (Jon) Date: Wed, 24 Aug 2005 14:45:57 -0400 Subject: searching all scripts in an application In-Reply-To: References: <430C915F.5090704@sover.net> Message-ID: <430CC065.5070205@sover.net> Eric: Can you explain to me how I was supposed to know that? That is, where in the UI, or in the Documentation, might I have come across that feature? That is, how did you find out about it? :) Jon Eric Chatonet wrote: > Hi Jon, > > Yes: > Control F :-) > > Le 24 ao?t 05 ? 17:25, Jon a ?crit : > >> Is there any easy way to find all occurrences of the word "Send" in >> all scripts in a stack? > > > Best Regards from Paris, > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > > Free plugins and tutorials on my website > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From mark at maseurope.net Wed Aug 24 14:46:53 2005 From: mark at maseurope.net (Mark Smith) Date: Wed, 24 Aug 2005 19:46:53 +0100 Subject: Problem with Set Script in Compiled App In-Reply-To: <430CB8E4.8000400@fourthworld.com> References: <430C5279.6010003@fourthworld.com> <430CA3EF.1050605@fourthworld.com> <430CB8E4.8000400@fourthworld.com> Message-ID: This is of no help, but I'm curious and ignorant... What language/IDE are you using that enables you to export source code from an executable, and re-insert it (compiled?) to the same executable? I may have misunderstood the issue... Mark ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com From klaus at major-k.de Wed Aug 24 14:57:32 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 24 Aug 2005 20:57:32 +0200 Subject: searching all scripts in an application In-Reply-To: <430CC065.5070205@sover.net> References: <430C915F.5090704@sover.net> <430CC065.5070205@sover.net> Message-ID: Hi Jon, > Eric: > > Can you explain to me how I was supposed to know that? > That is, where in the UI, or in the Documentation, might I have > come across that feature? actually this was well hidden by the mean "IDE dept." of Rev in the last item of menu "Edit". HARD to find, that's for sure... > That is, how did you find out about it? Some of us actually have "installed" and pay some stool pidgeons in scotland ;-) > Jon Regards Klaus Major klaus at major-k.de http://www.major-k.de From jbondy at sover.net Wed Aug 24 15:04:48 2005 From: jbondy at sover.net (Jon) Date: Wed, 24 Aug 2005 15:04:48 -0400 Subject: revolution taking up 100% of cpu, again In-Reply-To: References: <430C924F.7060502@sover.net> Message-ID: <430CC4D0.8030303@sover.net> Mark: Good point: I changed it so that it only kills the appropriate message, if there are duplicates... on SendToMyself s local pm, str, theLine put the pendingMessages into pm repeat for each line theLine in pm if item 3 of theLine = "TestTheReports" THEN cancel item 1 of theLine end if end repeat if (s = 0) then send "TestTheReports" to the target else send "TestTheReports" to the target in s seconds end if end SendToMyself Jon Mark Smith wrote: > Why are you cancelling all pending messages that don't start with > "rev"? Perhaps, if the timing is unlucky, you're interfering with a > close stack message? > > Mark > > On 24 Aug 2005, at 16:29, Jon wrote: > >> I reported this IDE problem months ago, with a different application, >> but here I go again. I seem to have a talent for creating problem >> stacks like this. Last time it was a logic error in one of my handlers. >> >> I am writing an application to test a web site I've written. Once >> every TBD (typically 15) minutes, it "wakes up" and Posts some data >> to each of three versions of the same web site (supposed to be the >> same code, only on three different servers, one of which is local to >> my machine). It then inspects the returned HTML to see if the >> requested operation was successful. >> >> I wrote the program to "wake up" every 10 seconds and see whether it >> is time to go yet or not. Two strange things are happening. >> >> 1) while the application is supposed to be hitting each web >> site/server once every TBD minutes, it seems as if it may be hitting >> it 4-5 times, all within a fraction of a second. This undesired >> behavior (AKA bug?) has allowed me to find and fix a number of errors >> in the web site, but I would like to understand how and why it is >> occurring. My first thought is that multiple Sends are getting >> triggered when I only wanted one to be sent. I altered the Send >> statement to be included in the following procedure, to try to >> control this: >> >> on SendToMyself s local pm, str, theLine >> put the pendingMessages into pm >> repeat for each line theLine in pm >> put char 1 to 3 of item 3 of theLine into str >> if (str <> "rev") then >> cancel item 1 of theLine >> end if >> end repeat >> if (s = 0) then >> send "TestTheReports" to the target >> else >> send "TestTheReports" to the target in s seconds >> end if >> >> Can anyone see a problem with the way this is written? >> >> >> 2) if I run the stack for 20 hours or so, and then click on the Close >> icon, Rev first asks if I want to save the application, after which >> Rev starts to use 100% of the CPU. I have to go kill the IDE, even >> though, in theory, nothing is running any longer. This can also >> happen if I switch from Run mode to Edit mode in the IDE, at which >> point I lose EVERYTHING I've worked on (no Save is possible). I Save >> the application every chance I get because of this. If I had to >> guess, I would think that the IDE is losing it over residual >> Sends/messages (see above) >> >> I tried monitoring the Messages, but did not see the spray of >> messages that I had thought that I might: I only see that one message >> every 10 seconds. >> >> Any thoughts about this situation? I can provide the stack if you >> wish... >> >> :) >> >> Jon >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > ___________________________________________________________ To help > you stay safe and secure online, we've developed the all new Yahoo! > Security Centre. http://uk.security.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From eric.chatonet at sosmartsoftware.com Wed Aug 24 15:10:04 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 24 Aug 2005 21:10:04 +0200 Subject: searching all scripts in an application In-Reply-To: References: <430C915F.5090704@sover.net> <430CC065.5070205@sover.net> Message-ID: Hi Klaus, I paid a lot for mine. And you? I'm particularly pleased with a Major one, called revListSpirit. Le 24 ao?t 05 ? 20:57, Klaus Major a ?crit : > Some of us actually have "installed" and pay some stool pidgeons in > scotland ;-) Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From klaus at major-k.de Wed Aug 24 15:15:27 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 24 Aug 2005 21:15:27 +0200 Subject: searching all scripts in an application In-Reply-To: References: <430C915F.5090704@sover.net> <430CC065.5070205@sover.net> Message-ID: Hi Eric, > Hi Klaus, > > I paid a lot for mine. > And you? i was lucky and got hold of a used one, actually an old and wrecked down washington senator :-D > I'm particularly pleased with a Major Merci beaucoup, mon ami! > one, called revListSpirit. Ooops, ah, yes ;-) > Le 24 ao?t 05 ? 20:57, Klaus Major a ?crit : > >> Some of us actually have "installed" and pay some stool pidgeons >> in scotland ;-) >> > > Best Regards from Paris, > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > > Free plugins and tutorials on my website > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 Best Klaus Major klaus at major-k.de http://www.major-k.de From jbondy at sover.net Wed Aug 24 15:15:43 2005 From: jbondy at sover.net (Jon) Date: Wed, 24 Aug 2005 15:15:43 -0400 Subject: searching all scripts in an application In-Reply-To: References: <430C915F.5090704@sover.net> <430CC065.5070205@sover.net> Message-ID: <430CC75F.6090602@sover.net> Klaus: Thanks for your response. I guess I was looking in the Script Editor menus for text search facilities in scripts. It never would have occurred to me to look in the main Rev window for what I thought of as a Script Editor feature. Clearly, you think about these things differently than I do. :) Jon Klaus Major wrote: > Hi Jon, > >> Eric: >> >> Can you explain to me how I was supposed to know that? >> That is, where in the UI, or in the Documentation, might I have come >> across that feature? > > > actually this was well hidden by the mean "IDE dept." of Rev in the last > item of menu "Edit". > > HARD to find, that's for sure... > >> That is, how did you find out about it? > > > Some of us actually have "installed" and pay some stool pidgeons in > scotland ;-) > >> Jon > > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From mwieder at ahsoftware.net Wed Aug 24 15:19:24 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 24 Aug 2005 12:19:24 -0700 Subject: Problem with Set Script in Compiled App In-Reply-To: References: <430C5279.6010003@fourthworld.com> <430CA3EF.1050605@fourthworld.com> Message-ID: <2211391810.20050824121924@ahsoftware.net> David- Wednesday, August 24, 2005, 10:50:56 AM, you wrote: > But not an option for me. Have been told that I need to check in text > files, not binaries, and far from being simpler it would mean > reoganizing Mega Byes of source code and distrupting an overwise > working system! Yes, this is the way that almost all source code control systems work. They expect to do a diff on text files in order to create a delta document to flag changes from version to version. I have the same problem checking in regression tests that are in "formatted text" outline formats. -- -Mark Wieder mwieder at ahsoftware.net From klaus at major-k.de Wed Aug 24 15:32:23 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 24 Aug 2005 21:32:23 +0200 Subject: searching all scripts in an application In-Reply-To: <430CC75F.6090602@sover.net> References: <430C915F.5090704@sover.net> <430CC065.5070205@sover.net> <430CC75F.6090602@sover.net> Message-ID: Hi Jon > Klaus: > > Thanks for your response. I guess I was looking in the Script > Editor menus for text search facilities in scripts. It never would > have occurred to me to look in the main Rev window for what I > thought of as a Script Editor feature. Clearly, you think about > these things differently than I do. You bet! Actually, when i am exploring a software with a mean IDE (and POOR documentation like Rev ;-) i place my fingers over CMD-Z, prick my ears and eyes and select EVERY menu item just to see what happens. Obviously not a very popular method... > :) > > Jon Regards Klaus Major klaus at major-k.de http://www.major-k.de From alex at tweedly.net Wed Aug 24 15:34:56 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 24 Aug 2005 20:34:56 +0100 Subject: Problem with Set Script in Compiled App In-Reply-To: References: <430C5279.6010003@fourthworld.com> <430CA3EF.1050605@fourthworld.com> <430CB8E4.8000400@fourthworld.com> Message-ID: <430CCBE0.8080100@tweedly.net> Mark Smith wrote: > This is of no help, but I'm curious and ignorant... > > What language/IDE are you using that enables you to export source code > from an executable, and re-insert it (compiled?) to the same executable? > > I may have misunderstood the issue... Ummm - Lisp (definitely), Python (definitely), Perl (maybe), Ruby (I'm fairly sure), Lua (I think), ..... Or *I* may have misunderstood :-) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: 23/08/2005 From eric.chatonet at sosmartsoftware.com Wed Aug 24 15:39:47 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 24 Aug 2005 21:39:47 +0200 Subject: searching all scripts in an application In-Reply-To: <430CC75F.6090602@sover.net> References: <430C915F.5090704@sover.net> <430CC065.5070205@sover.net> <430CC75F.6090602@sover.net> Message-ID: Hi Jon, Le 24 ao?t 05 ? 21:15, Jon a ?crit : > Clearly, you think about these things differently than I do. That's related to another thread: "OT: Computer Science in today's market" ;-) 1. I like to explore all facets, documented or not, of any software. 2. I know that runRev guys are different from me (culture, experience, etc.) 3. I fit :-) 4. So I am happy to be able to help you. Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jbondy at sover.net Wed Aug 24 14:40:03 2005 From: jbondy at sover.net (Jon) Date: Wed, 24 Aug 2005 14:40:03 -0400 Subject: revolution taking up 100% of cpu, again In-Reply-To: References: <430C924F.7060502@sover.net> Message-ID: <430CBF03.9040607@sover.net> Mark: This routine is only called every 10 seconds, when it is time to schedule myself to wake up again. I guess what I need to do is understand what "my" message is named, and then only cancel it. Note that this 100% CPU situation only occurs periodically: I can go for hours without it happening, so I doubt that it is [immediately] caused by this code. Very confusing, to me. Jon Mark Smith wrote: > Why are you cancelling all pending messages that don't start with > "rev"? Perhaps, if the timing is unlucky, you're interfering with a > close stack message? > > Mark > > On 24 Aug 2005, at 16:29, Jon wrote: > >> I reported this IDE problem months ago, with a different application, >> but here I go again. I seem to have a talent for creating problem >> stacks like this. Last time it was a logic error in one of my handlers. >> >> I am writing an application to test a web site I've written. Once >> every TBD (typically 15) minutes, it "wakes up" and Posts some data >> to each of three versions of the same web site (supposed to be the >> same code, only on three different servers, one of which is local to >> my machine). It then inspects the returned HTML to see if the >> requested operation was successful. >> >> I wrote the program to "wake up" every 10 seconds and see whether it >> is time to go yet or not. Two strange things are happening. >> >> 1) while the application is supposed to be hitting each web >> site/server once every TBD minutes, it seems as if it may be hitting >> it 4-5 times, all within a fraction of a second. This undesired >> behavior (AKA bug?) has allowed me to find and fix a number of errors >> in the web site, but I would like to understand how and why it is >> occurring. My first thought is that multiple Sends are getting >> triggered when I only wanted one to be sent. I altered the Send >> statement to be included in the following procedure, to try to >> control this: >> >> on SendToMyself s local pm, str, theLine >> put the pendingMessages into pm >> repeat for each line theLine in pm >> put char 1 to 3 of item 3 of theLine into str >> if (str <> "rev") then >> cancel item 1 of theLine >> end if >> end repeat >> if (s = 0) then >> send "TestTheReports" to the target >> else >> send "TestTheReports" to the target in s seconds >> end if >> >> Can anyone see a problem with the way this is written? >> >> >> 2) if I run the stack for 20 hours or so, and then click on the Close >> icon, Rev first asks if I want to save the application, after which >> Rev starts to use 100% of the CPU. I have to go kill the IDE, even >> though, in theory, nothing is running any longer. This can also >> happen if I switch from Run mode to Edit mode in the IDE, at which >> point I lose EVERYTHING I've worked on (no Save is possible). I Save >> the application every chance I get because of this. If I had to >> guess, I would think that the IDE is losing it over residual >> Sends/messages (see above) >> >> I tried monitoring the Messages, but did not see the spray of >> messages that I had thought that I might: I only see that one message >> every 10 seconds. >> >> Any thoughts about this situation? I can provide the stack if you >> wish... >> >> :) >> >> Jon >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > ___________________________________________________________ To help > you stay safe and secure online, we've developed the all new Yahoo! > Security Centre. http://uk.security.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From ambassador at fourthworld.com Wed Aug 24 15:50:51 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 12:50:51 -0700 Subject: searching all scripts in an application In-Reply-To: References: <430C915F.5090704@sover.net> <430CC065.5070205@sover.net> Message-ID: <430CCF9B.8030108@fourthworld.com> Klaus Major wrote: >> Le 24 ao?t 05 ? 20:57, Klaus Major a ?crit : >>> Some of us actually have "installed" and pay some stool pidgeons in >>> scotland ;-) >> >> I paid a lot for mine. >> And you? > > i was lucky and got hold of a used one, actually an old > and wrecked down washington senator :-D I hear they're pretty affordable these days, almost as cheap as American corporate journalists.* -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com *After watching US network news my gal calls BBC "news for grown-ups". :) From ambassador at fourthworld.com Wed Aug 24 15:56:45 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 12:56:45 -0700 Subject: magic settings for rollovers? Message-ID: <430CD0FD.1050102@fourthworld.com> I have an app in which nearly all of the buttons use some wonderful graphics made by a contract artist, with up, down, disabled, and rollover states. I've set the IDs of the various icon properties appropriately, and everything's ALMOST working great, except: Rollover states seem to stick sometimes -- I can move the mouse over the control and the armedIcon shows, but moving the mouse off sometimes reverts to the icon (desired) and sometimes leaves the armedIcon showing (look broken). What are the property settings I should be using for reliable rollovers? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Wed Aug 24 15:59:56 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 12:59:56 -0700 Subject: searching all scripts in an application In-Reply-To: <51CAAC13-72CD-4F22-9BCA-F92213E6386E@conncoll.edu> References: <430C915F.5090704@sover.net> <430C9871.2050604@fourthworld.com> <51CAAC13-72CD-4F22-9BCA-F92213E6386E@conncoll.edu> Message-ID: <430CD1BC.3080705@fourthworld.com> Charles Hartman wrote: > (off-list) > Richard, > > > This is terrific -- I just downloaded it & used it for ten minutes and > I'm already hooked. Frankly, it seems much more useful (and far less > crash-prone) than the Daniels & Mara suite. Thanks for the kind words. That's one nice thing about being so hectically busy here lately: it keeps me from adding too much to my toolkit, which keeps things simple. :) > I did run into one bug: I'm working on a substack, with the Object > Browser and the Properties palette available. Properties is showing the > stack. When I pull down the menu at the top and select the current card > instead, I get: "There was an error executing a script in stack > 4WProps. No more information is available because the stack is password > protected." Then Properties *does* seem (by its title) to switch to > showing the card. That's the downside of being so busy: bugs in my tools don't get fixed as quickly as I'd like. I'm up against a hairy deadline right now, but I'll look into that at first opportunity and post an update. You can use the updater in the devolution setup window to check for new parts -- try in a few days and hopefully I'll have that posted. -- 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 charles.hartman at conncoll.edu Wed Aug 24 16:15:55 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Wed, 24 Aug 2005 16:15:55 -0400 Subject: searching all scripts in an application In-Reply-To: <430CD1BC.3080705@fourthworld.com> References: <430C915F.5090704@sover.net> <430C9871.2050604@fourthworld.com> <51CAAC13-72CD-4F22-9BCA-F92213E6386E@conncoll.edu> <430CD1BC.3080705@fourthworld.com> Message-ID: On Aug 24, 2005, at 3:59 PM, Richard Gaskin wrote: > > That's the downside of being so busy: bugs in my tools don't get > fixed as quickly as I'd like. > > I'm up against a hairy deadline right now, but I'll look into that > at first opportunity and post an update. You can use the updater > in the devolution setup window to check for new parts -- try in a > few days and hopefully I'll have that posted. I certainly didn't mean it was important; it isn't -- I'm just being OCD about it as usual. The package works very nicely. Charles From ambassador at fourthworld.com Wed Aug 24 16:23:56 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 13:23:56 -0700 Subject: searching all scripts in an application In-Reply-To: <51CAAC13-72CD-4F22-9BCA-F92213E6386E@conncoll.edu> References: <430C915F.5090704@sover.net> <430C9871.2050604@fourthworld.com> <51CAAC13-72CD-4F22-9BCA-F92213E6386E@conncoll.edu> Message-ID: <430CD75C.7090902@fourthworld.com> Charles Hartman wrote: > (off-list) > Richard, > > This is terrific -- I just downloaded it & used it for ten minutes and > I'm already hooked. Frankly, it seems much more useful (and far less > crash-prone) than the Daniels & Mara suite. This was apparently intended for private email, but as long as it was posted publicly I feel I should offer some feedback on Jerry Daniels' excellent Rev tools: In addition to being one of the nicest and most sincerely helpful people I've ever met (maybe second only to Ken Ray, and that's saying a lot as Ken has more integrity in one finger than most of us hope to build over a lifetime), Jerry Daniels is also one of the smartest and most experienced. If there's any reason why devolution may appear less buggy (which I doubt, if you play with it long enough ) it's only because: a) The Daniels and Mara tools are so much more feature-rich than devolution. I come from a MetaCard background, with an eye for the spartan, and devolution is merely a set of conveniences that myself and my clients use to work a little faster. The D&M tools are much more ambitious, and as the old saw goes, more code will mean more bugs, at least in a first release. b) devolution is much older than the D&M tools. Jerry's toolkit is a fairly recent release, so we can expect it to have a few more bugs than it will in v2.0. That's just how software goes in spite of the best of efforts. devolution has been in use for almost half a decade in about a dozen shops, and while I update its components every few weeks while I'm working, they've been pounded on a lot and have been through multiple iterations. I have no doubt the D&M tools will be among the most rock-solid wares in the Rev world in just another release or two -- they're pretty great right now. If you haven't played with the D&M tools you should check 'em out: There's some very inventive thinking there, and lots of good utility. I hope to see an article about Jerry's tools at revJournal soon... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From revlist at cableone.net Wed Aug 24 16:24:49 2005 From: revlist at cableone.net (Chris Sheffield) Date: Wed, 24 Aug 2005 14:24:49 -0600 Subject: magic settings for rollovers? In-Reply-To: <430CD0FD.1050102@fourthworld.com> References: <430CD0FD.1050102@fourthworld.com> Message-ID: Hi Richard, I think it's a bug, and it seems to be worse if your buttons are in groups. Is that the case by chance? I remember running into the issue a while back, and I think it's in Bugzilla, but to be honest I'm not entirely sure. We finally just gave up on having a rollover on our buttons because I couldn't find any way around it. Chris On Aug 24, 2005, at 1:56 PM, Richard Gaskin wrote: > I have an app in which nearly all of the buttons use some wonderful > graphics made by a contract artist, with up, down, disabled, and > rollover states. > > I've set the IDs of the various icon properties appropriately, and > everything's ALMOST working great, except: > > Rollover states seem to stick sometimes -- I can move the mouse > over the control and the armedIcon shows, but moving the mouse off > sometimes reverts to the icon (desired) and sometimes leaves the > armedIcon showing (look broken). > > What are the property settings I should be using for reliable > rollovers? > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From ambassador at fourthworld.com Wed Aug 24 16:31:09 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 13:31:09 -0700 Subject: searching all scripts in an application In-Reply-To: References: <430C915F.5090704@sover.net> <430C9871.2050604@fourthworld.com> <51CAAC13-72CD-4F22-9BCA-F92213E6386E@conncoll.edu> <430CD1BC.3080705@fourthworld.com> Message-ID: <430CD90D.9060202@fourthworld.com> Charles Hartman wrote: > > On Aug 24, 2005, at 3:59 PM, Richard Gaskin wrote: > >> >> That's the downside of being so busy: bugs in my tools don't get >> fixed as quickly as I'd like. >> >> I'm up against a hairy deadline right now, but I'll look into that at >> first opportunity and post an update. You can use the updater in the >> devolution setup window to check for new parts -- try in a few days >> and hopefully I'll have that posted. > > I certainly didn't mean it was important; it isn't -- I'm just being > OCD about it as usual. The package works very nicely. Thanks. OCD is useful. These issues may not bother you so much, but I have to work with these tools all day (and these have been some busy days) so I'm highly motivated to keep them running smoothly. I spend most of the day in the MetaCard IDE, and flip into Rev now and then to help clients walk through things; the only consistency in my world is devolution, as it's too much mental effort to remap habits from the UIs of the two IDEs. So when devo fails I tend to fix it on the spot, since without it I'm hosed. :) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Wed Aug 24 16:36:19 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 13:36:19 -0700 Subject: magic settings for rollovers? In-Reply-To: References: <430CD0FD.1050102@fourthworld.com> Message-ID: <430CDA43.8030006@fourthworld.com> Chris Sheffield wrote: > Hi Richard, > > I think it's a bug, and it seems to be worse if your buttons are in > groups. Is that the case by chance? I remember running into the issue > a while back, and I think it's in Bugzilla, but to be honest I'm not > entirely sure. We finally just gave up on having a rollover on our > buttons because I couldn't find any way around it. Hmmmm. Not the answer I wanted to hear, since I need these buttons to be in groups. Anyone else have a magic recipe for reliable rollovers? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From SimPLsol at aol.com Wed Aug 24 16:39:00 2005 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Wed, 24 Aug 2005 16:39:00 EDT Subject: magic settings for rollovers? Message-ID: <1d7.435aeb96.303e34e4@aol.com> Richard, How about mouseEnter and mouseLeave; assigning the button icon by ID reference? Obviously not as easy... but if it works... Paul Looney From klaus at major-k.de Wed Aug 24 16:40:50 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 24 Aug 2005 22:40:50 +0200 Subject: magic settings for rollovers? In-Reply-To: <1d7.435aeb96.303e34e4@aol.com> References: <1d7.435aeb96.303e34e4@aol.com> Message-ID: Hi Richard, > Richard, > How about mouseEnter and mouseLeave; assigning the button icon by ID > reference? Obviously not as easy... but if it works... exactly! I always use this (mouseenter etc...) even in groups and never had problems. > Paul Looney Regards Klaus Major klaus at major-k.de http://www.major-k.de From ambassador at fourthworld.com Wed Aug 24 16:41:27 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 13:41:27 -0700 Subject: magic settings for rollovers? In-Reply-To: <1d7.435aeb96.303e34e4@aol.com> References: <1d7.435aeb96.303e34e4@aol.com> Message-ID: <430CDB77.5040909@fourthworld.com> SimPLsol at aol.com wrote: > Richard, > How about mouseEnter and mouseLeave; assigning the button icon by ID > reference? Obviously not as easy... but if it works... Thanks. Tried that. Unfortunately if you move the mouse fast enough some objects may not get the mouseLeave. :( -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From bann at sunncomm.com Wed Aug 24 16:46:13 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Wed, 24 Aug 2005 13:46:13 -0700 Subject: altBrowser does not work on MAC Message-ID: I have altBrowser 1.043 and it works fine on PC but it does not work on MAC OSX. Anyone know what I should do to make it works? Thank you From jacque at hyperactivesw.com Wed Aug 24 16:46:53 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 24 Aug 2005 15:46:53 -0500 Subject: question about IDE behavior In-Reply-To: <430C902B.8060202@sover.net> References: <430C902B.8060202@sover.net> Message-ID: <430CDCBD.2050209@hyperactivesw.com> Jon wrote: > I often find myself editing a Script, Applying the script, and then > immediately going to the main Rev menu to do a Files/Save. > Unfortunately, Save is grayed out if I have a Script Editor > open/active. I have to click on the main Stack in order to get the menu > to allow me to do a Save. > > Any idea whether this behavior is necessary or not? I don't understand, > technically, why one would not (or should not) be able to be do a Save > while the Script Editor is active. > > If no one can explain why this behavior is necessary, I may BZ it. You can probably Bugzilla it, since the dimmed item sounds like a bug. However, in the mean time, you can just type Control-S in the script editor and it will bring the stack forward, save, and then toggle the script editor to the front again. Or at least it does that on a Mac. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pevensen at siboneylg.com Wed Aug 24 16:49:26 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Wed, 24 Aug 2005 15:49:26 -0500 Subject: magic settings for rollovers? In-Reply-To: <430CDA43.8030006@fourthworld.com> References: <430CD0FD.1050102@fourthworld.com> <430CDA43.8030006@fourthworld.com> Message-ID: <6.2.1.2.2.20050824154823.2a42de80@exchange.slg.com> I'm using MouseEnter MouseLeave and assigning a graphic to a graphic (and not using a button at all). This lets me have irregular-shaped buttons, and only have the button proper be active. I put the MouseEnter mouseLeave code in a group and then group all the graphical buttons. Seems reliable, but my app is just going to QA now, so we'll see. At 03:36 PM 8/24/2005, you wrote: >Chris Sheffield wrote: >>Hi Richard, >>I think it's a bug, and it seems to be worse if your buttons are in >>groups. Is that the case by chance? I remember running into the issue >>a while back, and I think it's in Bugzilla, but to be honest I'm not >>entirely sure. We finally just gave up on having a rollover on our >>buttons because I couldn't find any way around it. > >Hmmmm. Not the answer I wanted to hear, since I need these buttons to be >in groups. > >Anyone else have a magic recipe for reliable rollovers? > >-- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From SimPLsol at aol.com Wed Aug 24 16:50:12 2005 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Wed, 24 Aug 2005 16:50:12 EDT Subject: magic settings for rollovers? Message-ID: <110.507a00cd.303e3784@aol.com> Richard, Bummer! How about something really crazy: if mouseEnter works use that to set the rollover state and (the crazy part) mouseWithin to maintain the rollover state (on idle it reverts to the non- rollover). Paul Looney From ambassador at fourthworld.com Wed Aug 24 16:53:00 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 13:53:00 -0700 Subject: magic settings for rollovers? In-Reply-To: <110.507a00cd.303e3784@aol.com> References: <110.507a00cd.303e3784@aol.com> Message-ID: <430CDE2C.5060202@fourthworld.com> SimPLsol at aol.com wrote: > Richard, > Bummer! > > How about something really crazy: if mouseEnter works use that to set the > rollover state and (the crazy part) mouseWithin to maintain the rollover state > (on idle it reverts to the non- rollover). I think such a brute-force method may be needed: Trapping mouseEnter for the control sets the icon, and trapping mouseLeave for everything resets the icon for all controls. Trying to work with these messages on the local object has not been reliable, but thankfully Rev is fast enough that I can often do brute-force workarounds with minimal impact on performance (ah, but impact on my schedule and patience is another story...). -- 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 chipp at chipp.com Wed Aug 24 17:02:46 2005 From: chipp at chipp.com (Chipp Walters) Date: Wed, 24 Aug 2005 16:02:46 -0500 Subject: magic settings for rollovers? In-Reply-To: <430CD0FD.1050102@fourthworld.com> References: <430CD0FD.1050102@fourthworld.com> Message-ID: <430CE076.7030404@chipp.com> Richard, You can check out my little tutorial on custom buttons: go URL "http://www.altuit.com/webs/altuit2/RunRev/CustomButtonObjects.rev" There are known issues with buttons close to the edge of a window which don't 'refresh' properly. Perhaps that's your problem? -Chipp Richard Gaskin wrote: > I have an app in which nearly all of the buttons use some wonderful > graphics made by a contract artist, with up, down, disabled, and > rollover states... From eric.miclo at wanadoo.fr Wed Aug 24 17:20:20 2005 From: eric.miclo at wanadoo.fr (=?ISO-8859-1?Q?=C9ric_Miclo?=) Date: Wed, 24 Aug 2005 23:20:20 +0200 Subject: searching all scripts in an application In-Reply-To: <430CD75C.7090902@fourthworld.com> References: <430C915F.5090704@sover.net> <430C9871.2050604@fourthworld.com> <51CAAC13-72CD-4F22-9BCA-F92213E6386E@conncoll.edu> <430CD75C.7090902@fourthworld.com> Message-ID: <49519B9F-57BF-4B3C-9BCC-1C81D520D3C0@wanadoo.fr> Hello, I'd like to add some thoughts because in the past 2 months I've used a bit the Daniels & Mara suite. Not everyboby have the same feelings for a piece of software. I prefer individual tools that each concentrate on one task and do the job as expected. I don't feel well with tools that do a lot of things (I'm perhaps somewhat limited). That way I'm able to chose the collection of tools that suits me the best. This has nothing to do with the quality of the soft. As for crashing soft, as far I'm concerned, I've only encountered 1 "crasher" in Constellation (the D&M script editor). It doesn't crash Revolution but under certain circumstances Revolution can be somewhat stuck. And Jerry is somebody who listens to users (even to ones that point little details :-)) and make Constellation evolve on a daily basis. The only drawback of his soft is that you can't try it before to buy (that said I've bought the suite and I'm very happy with it). Best regards, ?rIC Le 24 ao?t 05 ? 22:23, Richard Gaskin a ?crit : > Charles Hartman wrote: > >> (off-list) >> Richard, >> This is terrific -- I just downloaded it & used it for ten >> minutes and I'm already hooked. Frankly, it seems much more >> useful (and far less crash-prone) than the Daniels & Mara suite. >> > > This was apparently intended for private email, but as long as it > was posted publicly I feel I should offer some feedback on Jerry > Daniels' excellent Rev tools: > > In addition to being one of the nicest and most sincerely helpful > people I've ever met (maybe second only to Ken Ray, and that's > saying a lot as Ken has more integrity in one finger than most of > us hope to build over a lifetime), Jerry Daniels is also one of the > smartest and most experienced. > > If there's any reason why devolution may appear less buggy (which I > doubt, if you play with it long enough ) it's only because: > > a) The Daniels and Mara tools are so much more feature-rich than > devolution. > I come from a MetaCard background, with an eye for the spartan, > and devolution is merely a set of conveniences that myself and > my clients use to work a little faster. The D&M tools are much > more ambitious, and as the old saw goes, more code will mean > more bugs, at least in a first release. > > b) devolution is much older than the D&M tools. > Jerry's toolkit is a fairly recent release, so we can expect it > to have a few more bugs than it will in v2.0. That's just how > software goes in spite of the best of efforts. devolution has > been in use for almost half a decade in about a dozen shops, > and while I update its components every few weeks while I'm > working, they've been pounded on a lot and have been through > multiple iterations. I have no doubt the D&M tools will be > among the most rock-solid wares in the Rev world in just another > release or two -- they're pretty great right now. > > If you haven't played with the D&M tools you should check 'em out: > > > There's some very inventive thinking there, and lots of good utility. > > I hope to see an article about Jerry's tools at revJournal soon... > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- My NeXT computer will Be a Mac too! -- From see3d at writeme.com Wed Aug 24 17:32:14 2005 From: see3d at writeme.com (Dennis Brown) Date: Wed, 24 Aug 2005 17:32:14 -0400 Subject: magic settings for rollovers? In-Reply-To: <430CDB77.5040909@fourthworld.com> References: <1d7.435aeb96.303e34e4@aol.com> <430CDB77.5040909@fourthworld.com> Message-ID: <8BC9751A-C888-4624-9548-41D49A6A71FE@writeme.com> Richard, If you want a fail-safe, perhaps you can have an idle task that just goes around and fixes any bad button images if the mouse is not within them. Dennis On Aug 24, 2005, at 4:41 PM, Richard Gaskin wrote: > SimPLsol at aol.com wrote: > >> Richard, >> How about mouseEnter and mouseLeave; assigning the button icon by >> ID reference? Obviously not as easy... but if it works... >> > > Thanks. Tried that. Unfortunately if you move the mouse fast > enough some objects may not get the mouseLeave. :( > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Wed Aug 24 17:36:11 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 14:36:11 -0700 Subject: magic settings for rollovers? In-Reply-To: <8BC9751A-C888-4624-9548-41D49A6A71FE@writeme.com> References: <1d7.435aeb96.303e34e4@aol.com> <430CDB77.5040909@fourthworld.com> <8BC9751A-C888-4624-9548-41D49A6A71FE@writeme.com> Message-ID: <430CE84B.30804@fourthworld.com> Dennis Brown wrote: > Richard, > > If you want a fail-safe, perhaps you can have an idle task that just > goes around and fixes any bad button images if the mouse is not within > them. Argh. I already have timers floating around to handle other messaging workarounds, kinda hate to add more.... Thanks, though. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From scott at tactilemedia.com Wed Aug 24 17:39:55 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 24 Aug 2005 14:39:55 -0700 Subject: magic settings for rollovers? In-Reply-To: <430CD0FD.1050102@fourthworld.com> Message-ID: Recently, Richard Gaskin wrote: > What are the property settings I should be using for reliable rollovers? Perhaps you forgot to set the acceptIncantations of your stack to true. I don't have a great workaround to offer, other than to look at the space nearest your buttons and see if that can be scripted with generalized "reset" script that is triggered on a mouseEnter (and mouseMove, mouseLeave for that matter). You might consider placing a general mouseMove|reset handler in your stack script that uses a trigger variable to run once and then disables itself until any icon-based button's icon is changed. Obviously you shouldn't have to work this hard -- just trying to look at options that could help move you forward. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From see3d at writeme.com Wed Aug 24 17:43:16 2005 From: see3d at writeme.com (Dennis Brown) Date: Wed, 24 Aug 2005 17:43:16 -0400 Subject: searching all scripts in an application In-Reply-To: <51CAAC13-72CD-4F22-9BCA-F92213E6386E@conncoll.edu> References: <430C915F.5090704@sover.net> <430C9871.2050604@fourthworld.com> <51CAAC13-72CD-4F22-9BCA-F92213E6386E@conncoll.edu> Message-ID: <6B4EFE0B-6D1B-4000-A65E-EE15DB83D660@writeme.com> All, I have used Constellation about 6 hours a day since the pre-release was made available for sale. If it crashed often, I would not use it at all. I have not noticed any increase in the frequency from what Rev normally crashes (yes, Rev does crash on occasion). The software is still in development, and is very stable for the fact that it is having new features added almost daily (and bug fixes too). I am glad I got on board early with Jerry, since he had taken some of my suggestions and incorporated them --much to my delight. Dennis On Aug 24, 2005, at 2:34 PM, Charles Hartman wrote: > (off-list) > Richard, > > > This is terrific -- I just downloaded it & used it for ten minutes > and I'm already hooked. Frankly, it seems much more useful (and far > less crash-prone) than the Daniels & Mara suite. From bnz2 at cdc.gov Wed Aug 24 17:46:48 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 24 Aug 2005 17:46:48 -0400 Subject: magic settings for rollovers? Message-ID: <64878EF567131D4596246171F75FD4A974462A@m-epo-1.epo.cdc.gov> How about if you have a transparent image (with the ink set to allow it to receive mousemove and mouseenter messages) at the lowest layer inside the group: Then set up your scripts like this: Whenever a button or graphic in the group receives a mouseenter/mouse move message, then it does these things: 1) Checks to see if a custom prop for the group, call it the CurrentArmedButton property, contains a number that is different from the ID of the current target 2) If it does contain such a number, which is the ID of a different button, then it sets the armed of that button to false 3) Sets the armed property of the current button to true 4) sets CurrentArmedButton of the group to the ID of the currently armed button. The mouseenter/mousemove handler for the transparent image at the lowest layer of the group would do these two things: 1) Check to see if there is a number in the CurrentArmedButton property of the group 2) If there is a number in it, then: a) set the armed property of that button to false b) set the CurrentArmedButton property of the group to empty -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Dennis Brown Sent: Wednesday, August 24, 2005 5:32 PM To: How to use Revolution Subject: Re: magic settings for rollovers? Richard, If you want a fail-safe, perhaps you can have an idle task that just goes around and fixes any bad button images if the mouse is not within them. Dennis On Aug 24, 2005, at 4:41 PM, Richard Gaskin wrote: > SimPLsol at aol.com wrote: > >> Richard, >> How about mouseEnter and mouseLeave; assigning the button icon by >> ID reference? Obviously not as easy... but if it works... >> > > Thanks. Tried that. Unfortunately if you move the mouse fast > enough some objects may not get the mouseLeave. :( > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From jbv.silences at Club-Internet.fr Wed Aug 24 18:07:28 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Thu, 25 Aug 2005 00:07:28 +0200 Subject: Triggering a PHP script from a Rev cgi script ? Message-ID: <430CEFA0.7C68AABB@Club-Internet.fr> Hi folks, Here's another dumb Rev cgi question (my favourites) : how can I trigger a PHP script from a Rev cgi script ? Both scripts will be on a Linux RH server and in the same domain. Ideally, the Rev cgi script should pause while the php script is running and then resume when the php script ends; and the Rev cgi should be able to pass parameters to the php script (although I guess this can be done via a temp txt file)... What is the best Transcript approach to do that : - get URL ? - "open process" + "wait until the openprocesses is empty" ? - other ? Thanks for your suggestions, JB From Cubist at aol.com Wed Aug 24 17:59:23 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Wed, 24 Aug 2005 17:59:23 EDT Subject: magic settings for rollovers? Message-ID: <197.459e97b3.303e47bb@aol.com> sez ambassador at fourthworld.com: >Chris Sheffield wrote: >> I think it's a bug, and it seems to be worse if your buttons are in >> groups. Is that the case by chance? I remember running into the issue >> a while back, and I think it's in Bugzilla, but to be honest I'm not >> entirely sure. We finally just gave up on having a rollover on our >> buttons because I couldn't find any way around it. >Hmmmm. Not the answer I wanted to hear, since I need these buttons to >be in groups. >Anyone else have a magic recipe for reliable rollovers? Maybe. It's a bit brute-force-ish, but if it does what you want... local ListOfControls, ListOfNeutralIcons, ListOfRolloverIcons on CheckIcons put the mouseLoc into ML put 0 into Kounter repeat for each item II in ListOfControls add 1 to Kounter put item Kounter of ListOfNeutralIcons into DisNeutral put item Kounter of ListOfRolloverIcons into DisRollover if ML is within the rect of control II then if the icon of control II <> (item Kounter of ListOfRollovers) then set the icon of control II to DisRollover else set the icon of control II to DisNeutral end if end if end repeat send "CheckIcons" to me in 100 milliseconds end CheckIcons Hope this helps... From kee at kagi.com Wed Aug 24 18:07:52 2005 From: kee at kagi.com (kee nethery) Date: Wed, 24 Aug 2005 15:07:52 -0700 Subject: The KRM (Re: Revolution Compatible Registration Tool) In-Reply-To: <2B2E1C32-94AC-4892-BA60-8F75D915B063@danshafer.com> References: <000101c5a7f0$8fe84240$0201010a@proherps56yaxv> <2B2E1C32-94AC-4892-BA60-8F75D915B063@danshafer.com> Message-ID: On Aug 23, 2005, at 8:46 AM, Dan Shafer wrote: > My concern about Kagi -- and I've been a member for a long time -- > is that their rates are quite high when compared, e.g., to PayPal. We just changed our KRM rates: Kee From scott at proherp.com Wed Aug 24 18:33:53 2005 From: scott at proherp.com (Scott Kane) Date: Thu, 25 Aug 2005 08:33:53 +1000 Subject: The KRM (Re: Revolution Compatible Registration Tool) In-Reply-To: Message-ID: <000401c5a8fb$ee39f300$0201010a@proherps56yaxv> Hi Kee, > We just changed our KRM rates: > > They are much more attractive. :-) Scott From revolution at derbrill.de Wed Aug 24 18:36:33 2005 From: revolution at derbrill.de (Malte Brill) Date: Thu, 25 Aug 2005 00:36:33 +0200 Subject: [ANN] New tutorial stack: pngvsgif And a shameless request (long) In-Reply-To: <20050824203044.7A9DA825498@mail.runrev.com> Message-ID: <85862146-14EF-11DA-A0AC-0030659A795C@derbrill.de> Hi all, I just uploaded a new tutorial stack. If you are in a hurry please scroll down to the bottom of this message to find the URL or check my userSpace in RevOnline (malte) The shameless request: You might have happened to hear from the flood in Switzerland. 2 very close friends of mine are directly affected. Rabea and Mischa moved to a new location 2 weeks before the flood came and have lost everything they own. They had 10 minutes to grab what they could carry and flee from force of nature. The water went 1.80 meters high inside their new rooms and now everything is covered with mud, which rendered all of their things unusable. They survived, even though Rabea needed to be rescued by boat from the first floor and she could see their personal belongings be washed away by the flood. Both of them are on their wits' end. You can find some pictures of the desaster here: http://www.yasmine.ch/UW-Loft/ As the insurance won?t pay due to a "force majeure clause" it is unsure how they should carry on the next few month. Normally I don?t ask for money when I release something for the community. But as the damages are so severe and those people really helped me a lot in the past I decided to donate everything that goes to my paypal-account until September 30, 2005 (including my Shareware sales) The PAYPAL-account email is: info at derbrill.de So, if any of you kind souls have a few cents to help I?d be really grateful. I?m still shocked that this happened to close friends of mine. When you see something like this in the news it is far away, you might think about it for a while and carry on with your lives. This time it is not that easy for me. I hope this doesn?t sound like begging. I just don?t have another clever idea how I could help them. I hope you don?t considder this mail to be to shameless and of course I hope you like the tutorial. All the best, Malte Before I forget it, here is the URL: http://www.derbrill.de/revstack/pngvsgif.rev.zip or in the messagebox: go stack URL "http://www.derbrill.de/revstack/pngvsgif.rev" From jbondy at sover.net Wed Aug 24 18:39:18 2005 From: jbondy at sover.net (Jon) Date: Wed, 24 Aug 2005 18:39:18 -0400 Subject: standalones and run-time errors Message-ID: <430CF716.7030609@sover.net> I have been developing an application and, from time to time, when it looks like it's working OK, converting it into a standalone. Recently, a run-time ("execution"?) error occurred in the standalone. I had no idea this was happening, but when I went back to the Rev development IDE, the error popped up, and I fixed it. I can find nothing in the documentation about how run-time errors are handled (or not) in standalones. Coming from Pascal as I do, I would far prefer knowing about errors than having them hidden. How is this supposed to work? Can one select whether errors are reported in a standalone, or not? :) Jon From ambassador at fourthworld.com Wed Aug 24 18:44:35 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 15:44:35 -0700 Subject: standalones and run-time errors In-Reply-To: <430CF716.7030609@sover.net> References: <430CF716.7030609@sover.net> Message-ID: <430CF853.5010801@fourthworld.com> Jon wrote: > I have been developing an application and, from time to time, when it > looks like it's working OK, converting it into a standalone. > > Recently, a run-time ("execution"?) error occurred in the standalone. I > had no idea this was happening, but when I went back to the Rev > development IDE, the error popped up, and I fixed it. > > I can find nothing in the documentation about how run-time errors are > handled (or not) in standalones. Coming from Pascal as I do, I would far > prefer knowing about errors than having them hidden. > > How is this supposed to work? Can one select whether errors are > reported in a standalone, or not? Most script errors generate an errorDialog message, which is trapped in the IDE to present the error dialog. You can include that dialog in your standalone in the last tab of the Application Builder Settings. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From charles.hartman at conncoll.edu Wed Aug 24 18:50:34 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Wed, 24 Aug 2005 18:50:34 -0400 Subject: searching all scripts in an application In-Reply-To: <430CD75C.7090902@fourthworld.com> References: <430C915F.5090704@sover.net> <430C9871.2050604@fourthworld.com> <51CAAC13-72CD-4F22-9BCA-F92213E6386E@conncoll.edu> <430CD75C.7090902@fourthworld.com> Message-ID: <1281F351-BC6B-49EA-916A-E337188AAD89@conncoll.edu> I've not only downloaded the D&M suite, I've paid the current (half- price!) fee for it, and I'm looking forward to the actual release. It's obviously an excellent and massive project. In this pre-release state, it has felt less stable to me than I like *for a working environment* (that is, for software I need to be able NOT to think about while I'm thinking about my own). But it's pre-release. Nobody's pre-release software is stable. (To say, Certainly not mine, would be a ludicrous understatement.) I was just appreciating how smoothly devolution slid into my workflow, if I have a workflow, which I often doubt. Charles On Aug 24, 2005, at 4:23 PM, Richard Gaskin wrote: > Charles Hartman wrote: > >> (off-list) >> Richard, >> This is terrific -- I just downloaded it & used it for ten >> minutes and I'm already hooked. Frankly, it seems much more >> useful (and far less crash-prone) than the Daniels & Mara suite. >> > > This was apparently intended for private email, but as long as it > was posted publicly I feel I should offer some feedback on Jerry > Daniels' excellent Rev tools: > > In addition to being one of the nicest and most sincerely helpful > people I've ever met (maybe second only to Ken Ray, and that's > saying a lot as Ken has more integrity in one finger than most of > us hope to build over a lifetime), Jerry Daniels is also one of the > smartest and most experienced. > > If there's any reason why devolution may appear less buggy (which I > doubt, if you play with it long enough ) it's only because: > > a) The Daniels and Mara tools are so much more feature-rich than > devolution. > I come from a MetaCard background, with an eye for the spartan, > and devolution is merely a set of conveniences that myself and > my clients use to work a little faster. The D&M tools are much > more ambitious, and as the old saw goes, more code will mean > more bugs, at least in a first release. > > b) devolution is much older than the D&M tools. > Jerry's toolkit is a fairly recent release, so we can expect it > to have a few more bugs than it will in v2.0. That's just how > software goes in spite of the best of efforts. devolution has > been in use for almost half a decade in about a dozen shops, > and while I update its components every few weeks while I'm > working, they've been pounded on a lot and have been through > multiple iterations. I have no doubt the D&M tools will be > among the most rock-solid wares in the Rev world in just another > release or two -- they're pretty great right now. > > If you haven't played with the D&M tools you should check 'em out: > > > There's some very inventive thinking there, and lots of good utility. > > I hope to see an article about Jerry's tools at revJournal soon... > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From gcsaba2 at freemail.hu Wed Aug 24 19:10:06 2005 From: gcsaba2 at freemail.hu (Gajo Csaba) Date: Thu, 25 Aug 2005 01:10:06 +0200 (CEST) Subject: How to write a VERY simple server? Message-ID: Hi, I started learning Revolution today, though I have been programming in other languages such as Java for many years before. What I'd like to do is create a simple chat program. I managed to write the client part and send a message to a Java server application, but I just cannot build a server. All the server has to do is listen to connections on port 5001, accept a connection, read from the socket until linefeed and then terminate the connection. After that it should put the text in some field for display. I did search through your list and saw a few examples, but they didn't work. There was also a link to a ZIP-ed chat program source which I downloaded, but the file was corrupted. So could someone please just type down the source of a simple server script? On the Runtime's site they say you can write a client/server with just a few lines, so I'm sure it's very simple, but I cannot figure it out. Thanks, Csaba _______________________________________________________________________ [freemail] extra 1GB-os postafi?kkal, ?nnek m?r van? http://freemail.hu From revdan at danshafer.com Wed Aug 24 19:10:29 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 24 Aug 2005 16:10:29 -0700 Subject: OT: Computer Science in today's market In-Reply-To: <430CB989.2000701@fourthworld.com> References: <430CB989.2000701@fourthworld.com> Message-ID: My guess is that this is old data. Funny, but old. I know several companies that outsource fairly complicated software projects that do involve relatively rich UIs and they report consistently good results from their outsourcing partners. In the early days of outsourcing, there was a lot of this kind of miscommunication but I suspect that in the "several years" that have elapsed since Jim's experience, the Indian programming world has made great strides. Read "The World is Flat" by Thomas L. Friedman for an up-to-date look at this whole area. On Aug 24, 2005, at 11:16 AM, Richard Gaskin wrote: > Jim Bufalini wrote: > >> Several years ago I had a company that outsourced to India. You >> can't leave >> anything to the imagination in the spec. If you do it's guaranteed >> to come >> back wrong. And there are cultural differences to deal with that >> effect the >> software. >> For example, making requests to reorder the prompts on a working >> entry >> screen, so it matches the customer's workflow, elicit disbelief >> and outright >> laughter. The programmers can't understand why you would take >> something that >> works and change it solely for the convenience of the end user. >> > > I hope all my clients' competitors outsource. :) > > That last line is one of the funniest things I've read in this > industry in years. Should be a t-shirt.... > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revdan at danshafer.com Wed Aug 24 19:10:58 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 24 Aug 2005 16:10:58 -0700 Subject: altBrowser does not work on MAC In-Reply-To: References: Message-ID: It works great on my Mac (OSX 10.4.2). On Aug 24, 2005, at 1:46 PM, Ban Nguyen wrote: > I have altBrowser 1.043 and it works fine on PC but it does not > work on > MAC OSX. Anyone know what I should do to make it works? > > > Thank you > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From tsj at unimelb.edu.au Wed Aug 24 19:14:03 2005 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 25 Aug 2005 09:14:03 +1000 Subject: altBrowser does not work on MAC In-Reply-To: <20050824203043.EEEE6825494@mail.runrev.com> References: <20050824203043.EEEE6825494@mail.runrev.com> Message-ID: <30bfa412263b71605e2a69d9358d2497@unimelb.edu.au> On 25 Aug 2005, at 6:30 AM, use-revolution-request at lists.runrev.com wrote: > From: Ban Nguyen > Date: 25 August 2005 6:46:13 AM GMT+10:00 > To: How to use Revolution > Subject: altBrowser does not work on MAC > Reply-To: How to use Revolution > > > I have altBrowser 1.043 and it works fine on PC but it does not work on > MAC OSX. Anyone know what I should do to make it works? Works fine for me but you need OS 10.3 or later. Is that the problem? 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 revdan at danshafer.com Wed Aug 24 19:14:30 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 24 Aug 2005 16:14:30 -0700 Subject: question about IDE behavior In-Reply-To: <430CDCBD.2050209@hyperactivesw.com> References: <430C902B.8060202@sover.net> <430CDCBD.2050209@hyperactivesw.com> Message-ID: Not sure I'd call this a bug, but it seems like a bad design decision. When you're in the Script Editor, you have a whole different set of menus than when you're in the main IDE. I just always took it for granted that that was "the way things are" and I've gotten used to using Command-S (except, of course, when that breaks for God knows what unfathomable reason) and going merrily on my way. Come to think of it, if the menu's command-key equivalent works and the item is dimmed out, that does feel like a bug so I agree, Jacque! Dan On Aug 24, 2005, at 1:46 PM, J. Landman Gay wrote: > Jon wrote: > > >> I often find myself editing a Script, Applying the script, and >> then immediately going to the main Rev menu to do a Files/Save. >> Unfortunately, Save is grayed out if I have a Script Editor open/ >> active. I have to click on the main Stack in order to get the >> menu to allow me to do a Save. >> Any idea whether this behavior is necessary or not? I don't >> understand, technically, why one would not (or should not) be able >> to be do a Save while the Script Editor is active. >> If no one can explain why this behavior is necessary, I may BZ it. >> >> > > You can probably Bugzilla it, since the dimmed item sounds like a > bug. However, in the mean time, you can just type Control-S in the > script editor and it will bring the stack forward, save, and then > toggle the script editor to the front again. Or at least it does > that on a Mac. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From mwieder at ahsoftware.net Wed Aug 24 19:27:21 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 24 Aug 2005 16:27:21 -0700 Subject: How to write a VERY simple server? In-Reply-To: References: Message-ID: <14926269643.20050824162721@ahsoftware.net> Gajo- Wednesday, August 24, 2005, 4:10:06 PM, you wrote: > So could someone please just type down the source of a simple server > script? On the Runtime's site they say you can write a client/server with > just a few lines, so I'm sure it's very simple, but I cannot figure it out. Try something like this... accept connections on port 5001 with message "PortOpened" -- PortOpened is called when someone connects on PortOpened theSender, sentMessage local theMessage -- get a command from the client put empty into theMessage repeat while "Quit" is not in theMessage read from socket theSender until cr put it into theMessage if theMessage is not empty then switch word 1 of theMessage -- do something with the message here end switch end if end repeat end PortOpened -- -Mark Wieder mwieder at ahsoftware.net From alex at tweedly.net Wed Aug 24 19:27:09 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 25 Aug 2005 00:27:09 +0100 Subject: How to write a VERY simple server? In-Reply-To: References: Message-ID: <430D024D.8040507@tweedly.net> Gajo Csaba wrote: >Hi, > >I started learning Revolution today, though I have been programming in >other languages such as Java for many years before. What I'd like to do >is create a simple chat program. I managed to write the client part and >send a message to a Java server application, but I just cannot build a >server. All the server has to do is listen to connections on port 5001, >accept a connection, read from the socket until linefeed and then >terminate the connection. After that it should put the text in some field >for display. > >I did search through your list and saw a few examples, but they didn't >work. There was also a link to a ZIP-ed chat program source which I >downloaded, but the file was corrupted. > > There are a number of examples out there - and they do work. So I'm slightly concerned that you found some which don't - it would be helpful if you could let us know which ones you tried without success. Hopefully that would lead to either answers to make them work for you, or changes to make them work for the next person who tries them. You can find my version in RevOnline, under username "alextweedly" - the TCP version is called TCPApp1 and TCPApp2. TCPApp1 is basically a server, TCPApp2 basically a client - though they have been extended to allow asynchronous communication initiated by either side once the connection is open. >So could someone please just type down the source of a simple server >script? On the Runtime's site they say you can write a client/server with >just a few lines, so I'm sure it's very simple, but I cannot figure it out. > > I'd encourage you to try the samples above, or to work with the ones you found earlier. But - simple code - the script for some object to do this could be as simple as on mouseUp accept connections on port 5001 with message "gotConn" end mouseUp on gotConn pSocket read from socket pSocket until CR put it into field "myData" close socket pSocket end gotConn -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: 23/08/2005 From charles.hartman at conncoll.edu Wed Aug 24 19:33:16 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Wed, 24 Aug 2005 19:33:16 -0400 Subject: question about IDE behavior In-Reply-To: References: <430C902B.8060202@sover.net> <430CDCBD.2050209@hyperactivesw.com> Message-ID: On Aug 24, 2005, at 7:14 PM, Dan Shafer wrote: > gotten used to using Command-S (except, of course, when that breaks > for God knows what unfathomable reason) Yes, I keep getting that too. Is it a votable bug? In the dim (I mean "concentrated") state I'm often in when designing & coding, I sometimes don't notice that the magic thumb-and-index gesture I'm religiously performing isn't actually *doing* anything. Charles From bann at sunncomm.com Wed Aug 24 19:33:51 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Wed, 24 Aug 2005 16:33:51 -0700 Subject: altBrowser does not work on MAC Message-ID: > From: Ban Nguyen > Date: 25 August 2005 6:46:13 AM GMT+10:00 > To: How to use Revolution > Subject: altBrowser does not work on MAC > Reply-To: How to use Revolution > > > I have altBrowser 1.043 and it works fine on PC but it does not work on > MAC OSX. Anyone know what I should do to make it works? Works fine for me but you need OS 10.3 or later. Is that the problem? Terry... ------------------------ I have OS 10.3 I import altBrowser.dll by going to properties inspector - external references then open the file altBrowser.dll now it imported in there but I cannot import altBrowser.bundle I also have this code in the stack on startUp set the externals of this stack to "altBrowser.dll" &cr& "altBrowser.bundle" end startup Thank you From revdan at danshafer.com Wed Aug 24 20:08:40 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 24 Aug 2005 17:08:40 -0700 Subject: question about IDE behavior In-Reply-To: References: <430C902B.8060202@sover.net> <430CDCBD.2050209@hyperactivesw.com> Message-ID: <474E5D7C-FA2E-48F6-920A-D74E971C6F96@danshafer.com> The trouble is, Charles, that I don't see this happen only in Rev. I think it's an OS X bug though I've never been able to pin it down. Dan On Aug 24, 2005, at 4:33 PM, Charles Hartman wrote: > > On Aug 24, 2005, at 7:14 PM, Dan Shafer wrote: > > >> gotten used to using Command-S (except, of course, when that >> breaks for God knows what unfathomable reason) >> > > > Yes, I keep getting that too. Is it a votable bug? In the dim (I > mean "concentrated") state I'm often in when designing & coding, I > sometimes don't notice that the magic thumb-and-index gesture I'm > religiously performing isn't actually *doing* anything. > > Charles > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Wed Aug 24 20:09:51 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 24 Aug 2005 17:09:51 -0700 Subject: altBrowser does not work on MAC In-Reply-To: References: Message-ID: <59D456D4-8B66-40C8-950D-D8B323B82EE3@danshafer.com> Well, you have to DO something with altBrowser. The sample that ships with the product has lots of good sample code in it. Just importing the DLL Into your app doesn't do anything except give your code access to the browser object. Dan On Aug 24, 2005, at 4:33 PM, Ban Nguyen wrote: >> From: Ban Nguyen >> Date: 25 August 2005 6:46:13 AM GMT+10:00 >> To: How to use Revolution >> Subject: altBrowser does not work on MAC >> Reply-To: How to use Revolution >> >> >> I have altBrowser 1.043 and it works fine on PC but it does not work >> > on > >> MAC OSX. Anyone know what I should do to make it works? >> > > Works fine for me but you need OS 10.3 or later. Is that the problem? > > Terry... > > ------------------------ > > I have OS 10.3 > > I import altBrowser.dll by going to properties inspector - external > references then open the file altBrowser.dll now it imported in there > but I cannot import altBrowser.bundle > > > I also have this code in the stack > > on startUp > set the externals of this stack to "altBrowser.dll" &cr& > "altBrowser.bundle" > end startup > > > > > > Thank you > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From gcsaba2 at freemail.hu Wed Aug 24 20:10:05 2005 From: gcsaba2 at freemail.hu (Gajo Csaba) Date: Thu, 25 Aug 2005 02:10:05 +0200 (CEST) Subject: How to write a VERY simple server? In-Reply-To: <14926269643.20050824162721@ahsoftware.net> Message-ID: Mark Wieder wrote: > > Try something like this... > Wow that was a quick reply. OK, it still doesn't work for some reason. My only clue now is that I've made a stupid mistake somewhere. This is the code when I click on the "Send message" from the client's side. on mouseUp put "localhost:5007" into sock open socket sock with message "hello" write "Apples are red" & linefeed to socket sock write "Quit" & linefeed to socket sock close socket sock end mouseUp So basically I send "Apples are red" to the server and it should write this into a text field. After that I write him "Quit" and the server should stop receiving. This is what happens when I click on the "Accept connections" button on the server's side. It's basically your code, just one line was changed. -- PortOpened is called when someone connects on PortOpened theSender, sentMessage local theMessage -- get a command from the client put empty into theMessage repeat while "Quit" is not in theMessage read from socket theSender until linefeed -- read until linefeed put it into theMessage if theMessage is not empty then switch word 1 of theMessage -- do something with the message here put theMessage into field "serverMemo" end switch end if end repeat end PortOpened -- this is the button's code on mouseUp accept connections on port 5007 with message "PortOpened" end mouseUp So what am I doing wrong? The client's code works as my Java server accepted it... ****************** Alex's code doesn't work either :( on gotConn pSocket read from socket pSocket until CR put it into field "serverMemo" close socket pSocket end gotConn ***************** Maybe I'm doing something very stupid here? Maybe I should separate the client and the server card? Right now both the client and server buttons are on the same card, but I save them as a Standalone application and start two instances, with one of them working as a server and another as a client. The client should work, as I already said. There's another indication that the server code doesn't do anything: I have a firewall software which always reports me if some application is trying to become a server. But when I click on the server's "Accept" button the firewall doesn't report anything! I tried turning the firewall off but this didn't change anything. ***************** Alex now I will go and search for your application. Let's hope that it works ;) ******************* The example that I've found and it didn't work is here: http://lists.runrev.com/pipermail/use-revolution/2004-March/033397. html I downloaded the .gz file but both WinZip and WinRar said the file's corrupted. This example didn't work either: http://lists.runrev.com/pipermail/use-revolution/2004-March/033388. html The code also has some minor errors, such as closing the "on" statement with another "on" instead of an "end". Thank you if you've read my e-mail all the way to the end :) Csaba _______________________________________________________________________ [freemail] extra 1GB-os postafi?kkal, ?nnek m?r van? http://freemail.hu From ambassador at fourthworld.com Wed Aug 24 20:23:15 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 17:23:15 -0700 Subject: OT: Computer Science in today's market In-Reply-To: References: <430CB989.2000701@fourthworld.com> Message-ID: <430D0F73.5020409@fourthworld.com> Dan Shafer wrote: > On Aug 24, 2005, at 11:16 AM, Richard Gaskin wrote: >> Jim Bufalini wrote: >>> Several years ago I had a company that outsourced to India. You >>> can't leave anything to the imagination in the spec. If you do >>> it's guaranteed to come back wrong. And there are cultural >>> differences to deal with that effect the software. >>> For example, making requests to reorder the prompts on a working >>> entry screen, so it matches the customer's workflow, elicit >>> disbelief and outright laughter. The programmers can't understand >>> why you would take something that works and change it solely for >>> the convenience of the end user. >> >> I hope all my clients' competitors outsource. :) > > My guess is that this is old data. Funny, but old. I know several > companies that outsource fairly complicated software projects that do > involve relatively rich UIs and they report consistently good results > from their outsourcing partners. > > In the early days of outsourcing, there was a lot of this kind of > miscommunication but I suspect that in the "several years" that have > elapsed since Jim's experience, the Indian programming world has made > great strides. Read "The World is Flat" by Thomas L. Friedman for an > up-to-date look at this whole area. The world _is_ flat: I hear comments like that from stateside developers too. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From monte at sweattechnologies.com Wed Aug 24 20:24:49 2005 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 25 Aug 2005 09:54:49 +0930 Subject: How to write a VERY simple server? References: Message-ID: <002901c5a90b$67b9ee60$0402a8c0@fred> Hi > >Maybe I should separate >the client and the server card? Right now both the client and server >buttons are on the same card, but I save them as a Standalone >application and start two instances, with one of them working as a >server and another as a client. Yep... you need two instances but unless you are on a Mac you can just run two Rev instances for testing rather than building standalones. Cheers Monte From scott at tactilemedia.com Wed Aug 24 20:31:19 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 24 Aug 2005 17:31:19 -0700 Subject: [OT] Quote for the Day Message-ID: Apologies for the off-topic post, but the conundrum of this IT quote seemed somehow appropriate: "If the network is down, then you're obviously incompetent so why are we paying you? Of course, if the network is up, then we obviously don't need you, so why are we paying you?" Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From chris at altuit.com Wed Aug 24 20:55:20 2005 From: chris at altuit.com (chris at altuit.com) Date: Wed, 24 Aug 2005 20:55:20 -0400 Subject: altBrowser does not work on MAC Message-ID: <380-22005842505520260@M2W092.mail2web.com> Ban, Goto http://www.altuit.com/webs/altuit2/altBrowserDeveloperSite/default.htm and login with the username and password you were sent when you bought altBrowser... goto the devkit section and download the latest version of the altBrowser component. The latest version is 1.5 and fixed documented problems in webkit with 10.3.9 and 10.4. The address for support of this nature from Altuit is support at altuit.com -- cb Original Message: ----------------- From: Ban Nguyen bann at sunncomm.com Date: Wed, 24 Aug 2005 16:33:51 -0700 To: use-revolution at lists.runrev.com Subject: RE: altBrowser does not work on MAC > From: Ban Nguyen > Date: 25 August 2005 6:46:13 AM GMT+10:00 > To: How to use Revolution > Subject: altBrowser does not work on MAC > Reply-To: How to use Revolution > > > I have altBrowser 1.043 and it works fine on PC but it does not work on > MAC OSX. Anyone know what I should do to make it works? Works fine for me but you need OS 10.3 or later. Is that the problem? Terry... ------------------------ I have OS 10.3 I import altBrowser.dll by going to properties inspector - external references then open the file altBrowser.dll now it imported in there but I cannot import altBrowser.bundle I also have this code in the stack on startUp set the externals of this stack to "altBrowser.dll" &cr& "altBrowser.bundle" end startup Thank you _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From yoursignup at yahoo.com Wed Aug 24 21:35:53 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Wed, 24 Aug 2005 15:35:53 -1000 Subject: OT: Computer Science in today's market In-Reply-To: Message-ID: Dan, The "several years" was late 1999 through 2001. If those were the early days, then so be it. Of course, using a word like outsourcing is like saying programming. There are many different kinds. Do these companies have their own facilities offshore like IBM and Microsoft with 3,000+ programmers each in India alone? Or, do they have a dedicated full-time programming staff offshore? Do they have a half dozen or so resident offshore programmers onsite on H-1 and B-1 visas? The company we worked with had 350 programmers who admittedly were not in love with our business model, which used them as a backend programming resource for smaller US developers who could then convert their personnel from programmers to consultants who would work with the actual clients, write the specs and do the installs. The motivation of many programmers in India is to put in 4 or 5 hard and lean years with a company there to earn the right to travel to other countries, where the pay is much higher and where they have a good chance of immigration. I'd be surprised if this has changed much in 5-years. Glowing articles aside, the realities of outsourcing are more involved technically and culturally than appear on the surface. This is not to say it doesn't work, but I highly doubt any client who outsources will get the kind of quality and satisfaction that they would otherwise get from the types of people who frequent this list. Jim > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Dan Shafer > Sent: Wednesday, August 24, 2005 1:10 PM > To: How to use Revolution > Subject: Re: OT: Computer Science in today's market > > > My guess is that this is old data. Funny, but old. I know several > companies that outsource fairly complicated software projects that do > involve relatively rich UIs and they report consistently good results > from their outsourcing partners. > > In the early days of outsourcing, there was a lot of this kind of > miscommunication but I suspect that in the "several years" that have > elapsed since Jim's experience, the Indian programming world has made > great strides. Read "The World is Flat" by Thomas L. Friedman for an > up-to-date look at this whole area. > > > On Aug 24, 2005, at 11:16 AM, Richard Gaskin wrote: > > > Jim Bufalini wrote: > > > >> Several years ago I had a company that outsourced to India. You > >> can't leave > >> anything to the imagination in the spec. If you do it's guaranteed > >> to come > >> back wrong. And there are cultural differences to deal with that > >> effect the > >> software. > >> For example, making requests to reorder the prompts on a working > >> entry > >> screen, so it matches the customer's workflow, elicit disbelief > >> and outright > >> laughter. The programmers can't understand why you would take > >> something that > >> works and change it solely for the convenience of the end user. > >> > > > > I hope all my clients' competitors outsource. :) > > > > That last line is one of the funniest things I've read in this > > industry in years. Should be a t-shirt.... > > > > -- > > Richard Gaskin > > Managing Editor, revJournal > > _______________________________________________________ > > Rev tips, tutorials and more: http://www.revJournal.com > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From sarahr at genesearch.com.au Wed Aug 24 22:00:30 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 25 Aug 2005 12:00:30 +1000 Subject: Program bar at bottom of Windows screen is blank In-Reply-To: <1a4.3d604bbd.303b14bb@aol.com> References: <1a4.3d604bbd.303b14bb@aol.com> Message-ID: <15EBF333-8465-446D-BBC7-C9C5F801292B@genesearch.com.au> > Hopefully someone can help with the following question. A created > a Rev > program using Mac and built a standalone for Windows. The program > resides in a > folder. On Windows, the name of the folder shows up in the > program bar at > the bottom of the screen, as it should. However, on opening the > (.exe) program > the name of the the .exe program is blank in the program bar. One > user has > mentioned that this could confuse people into thinking spyware or a > virus is > operating. The name of the program did not display in the Task > Manager either. What is the mode of your main stack? I remember reading that it will not appear in the Windows taskbar unless it is topLevel. Sarah From charles.hartman at conncoll.edu Wed Aug 24 22:07:45 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Wed, 24 Aug 2005 22:07:45 -0400 Subject: question about IDE behavior In-Reply-To: <474E5D7C-FA2E-48F6-920A-D74E971C6F96@danshafer.com> References: <430C902B.8060202@sover.net> <430CDCBD.2050209@hyperactivesw.com> <474E5D7C-FA2E-48F6-920A-D74E971C6F96@danshafer.com> Message-ID: On Aug 24, 2005, at 8:08 PM, Dan Shafer wrote: > The trouble is, Charles, that I don't see this happen only in Rev. > I think it's an OS X bug though I've never been able to pin it down. > Hm. I've seen it only in Rev. I wonder if there's some class or group of apps? Charles From mark at maseurope.net Wed Aug 24 22:35:38 2005 From: mark at maseurope.net (Mark Smith) Date: Thu, 25 Aug 2005 03:35:38 +0100 Subject: revolution taking up 100% of cpu, again In-Reply-To: <430CBF03.9040607@sover.net> References: <430C924F.7060502@sover.net> <430CBF03.9040607@sover.net> Message-ID: <0a36c0eca932bcb06476f4383825524e@maseurope.net> Your message is named whatever you named it - in this case "TestTheReports". I'm afraid I can't shed any light on the CPU usage issue - I just thought that cancelling all your programmes pending messages willy-nilly might have something to do with not being able to close or save...or might cause other problems down the track. Cheers, Mark On 24 Aug 2005, at 19:40, Jon wrote: > Mark: > > This routine is only called every 10 seconds, when it is time to > schedule myself to wake up again. I guess what I need to do is > understand what "my" message is named, and then only cancel it. > > Note that this 100% CPU situation only occurs periodically: I can go > for hours without it happening, so I doubt that it is [immediately] > caused by this code. > > Very confusing, to me. > > Jon > > > Mark Smith wrote: > >> Why are you cancelling all pending messages that don't start with >> "rev"? Perhaps, if the timing is unlucky, you're interfering with a >> close stack message? >> >> Mark >> >> On 24 Aug 2005, at 16:29, Jon wrote: >> >>> I reported this IDE problem months ago, with a different >>> application, but here I go again. I seem to have a talent for >>> creating problem stacks like this. Last time it was a logic error >>> in one of my handlers. >>> >>> I am writing an application to test a web site I've written. Once >>> every TBD (typically 15) minutes, it "wakes up" and Posts some data >>> to each of three versions of the same web site (supposed to be the >>> same code, only on three different servers, one of which is local to >>> my machine). It then inspects the returned HTML to see if the >>> requested operation was successful. >>> >>> I wrote the program to "wake up" every 10 seconds and see whether it >>> is time to go yet or not. Two strange things are happening. >>> >>> 1) while the application is supposed to be hitting each web >>> site/server once every TBD minutes, it seems as if it may be hitting >>> it 4-5 times, all within a fraction of a second. This undesired >>> behavior (AKA bug?) has allowed me to find and fix a number of >>> errors in the web site, but I would like to understand how and why >>> it is occurring. My first thought is that multiple Sends are >>> getting triggered when I only wanted one to be sent. I altered the >>> Send statement to be included in the following procedure, to try to >>> control this: >>> >>> on SendToMyself s local pm, str, theLine >>> put the pendingMessages into pm >>> repeat for each line theLine in pm >>> put char 1 to 3 of item 3 of theLine into str >>> if (str <> "rev") then >>> cancel item 1 of theLine >>> end if >>> end repeat >>> if (s = 0) then >>> send "TestTheReports" to the target >>> else >>> send "TestTheReports" to the target in s seconds >>> end if >>> >>> Can anyone see a problem with the way this is written? >>> >>> >>> 2) if I run the stack for 20 hours or so, and then click on the >>> Close icon, Rev first asks if I want to save the application, after >>> which Rev starts to use 100% of the CPU. I have to go kill the IDE, >>> even though, in theory, nothing is running any longer. This can >>> also happen if I switch from Run mode to Edit mode in the IDE, at >>> which point I lose EVERYTHING I've worked on (no Save is possible). >>> I Save the application every chance I get because of this. If I had >>> to guess, I would think that the IDE is losing it over residual >>> Sends/messages (see above) >>> >>> I tried monitoring the Messages, but did not see the spray of >>> messages that I had thought that I might: I only see that one >>> message every 10 seconds. >>> >>> Any thoughts about this situation? I can provide the stack if you >>> wish... >>> >>> :) >>> >>> Jon >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> >> ___________________________________________________________ To >> help you stay safe and secure online, we've developed the all new >> Yahoo! Security Centre. http://uk.security.yahoo.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com From ambassador at fourthworld.com Wed Aug 24 23:10:37 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 20:10:37 -0700 Subject: magic settings for rollovers? In-Reply-To: <430CE076.7030404@chipp.com> References: <430CD0FD.1050102@fourthworld.com> <430CE076.7030404@chipp.com> Message-ID: <430D36AD.3020502@fourthworld.com> Chipp Walters wrote: > There are known issues with buttons close to the edge of a window which > don't 'refresh' properly. Perhaps that's your problem? Could be related. These buttons aren't near the edge of window, but are near the edge of a shared group. Ah, if only the system message issues could be addressed before any other change to the engine.... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From chipp at chipp.com Wed Aug 24 23:16:22 2005 From: chipp at chipp.com (Chipp Walters) Date: Wed, 24 Aug 2005 22:16:22 -0500 Subject: magic settings for rollovers? In-Reply-To: <430D36AD.3020502@fourthworld.com> References: <430CD0FD.1050102@fourthworld.com> <430CE076.7030404@chipp.com> <430D36AD.3020502@fourthworld.com> Message-ID: <430D3806.2070205@chipp.com> perhaps a mousemove handler in your shared grp might help you? It certainly would help you track down the problem. best, Chipp From ambassador at fourthworld.com Wed Aug 24 23:27:13 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 20:27:13 -0700 Subject: magic settings for rollovers? In-Reply-To: <430D3806.2070205@chipp.com> References: <430CD0FD.1050102@fourthworld.com> <430CE076.7030404@chipp.com> <430D36AD.3020502@fourthworld.com> <430D3806.2070205@chipp.com> Message-ID: <430D3A91.7090103@fourthworld.com> Chipp Walters wrote: > perhaps a mousemove handler in your shared grp might help you? > It certainly would help you track down the problem. You mean correct for it? Identifying the problem was the easy part: rollovers aren't currently reliable for buttons near the edge of windows and groups. I've gotten it much better: I've added a mouseenter on the background image that spans the window that resets the icons by brute force. It's still not entirely foolproof, but it triggers 99% of the time and for now that's enough. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From revdan at danshafer.com Wed Aug 24 23:41:29 2005 From: revdan at danshafer.com (Dan Shafer) Date: Wed, 24 Aug 2005 20:41:29 -0700 Subject: OT: Computer Science in today's market In-Reply-To: References: Message-ID: <6F9DAB85-783F-4C44-AA8B-EA5CE8847D9B@danshafer.com> Yeah, I'd say four-year-old data is "the early days." My data says you're out of date but I'm sure my data has a bias to it as well. Dan On Aug 24, 2005, at 6:35 PM, Jim Bufalini wrote: > Dan, > > The "several years" was late 1999 through 2001. If those were the > early > days, then so be it. > > Of course, using a word like outsourcing is like saying > programming. There > are many different kinds. Do these companies have their own facilities > offshore like IBM and Microsoft with 3,000+ programmers each in > India alone? > Or, do they have a dedicated full-time programming staff offshore? > Do they > have a half dozen or so resident offshore programmers onsite on H-1 > and B-1 > visas? > > The company we worked with had 350 programmers who admittedly were > not in > love with our business model, which used them as a backend programming > resource for smaller US developers who could then convert their > personnel > from programmers to consultants who would work with the actual > clients, > write the specs and do the installs. > > The motivation of many programmers in India is to put in 4 or 5 > hard and > lean years with a company there to earn the right to travel to other > countries, where the pay is much higher and where they have a good > chance of > immigration. I'd be surprised if this has changed much in 5-years. > > Glowing articles aside, the realities of outsourcing are more involved > technically and culturally than appear on the surface. This is not > to say it > doesn't work, but I highly doubt any client who outsources will get > the kind > of quality and satisfaction that they would otherwise get from the > types of > people who frequent this list. > > Jim > > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Dan >> Shafer >> Sent: Wednesday, August 24, 2005 1:10 PM >> To: How to use Revolution >> Subject: Re: OT: Computer Science in today's market >> >> >> My guess is that this is old data. Funny, but old. I know several >> companies that outsource fairly complicated software projects that do >> involve relatively rich UIs and they report consistently good results >> from their outsourcing partners. >> >> In the early days of outsourcing, there was a lot of this kind of >> miscommunication but I suspect that in the "several years" that have >> elapsed since Jim's experience, the Indian programming world has made >> great strides. Read "The World is Flat" by Thomas L. Friedman for an >> up-to-date look at this whole area. >> >> >> On Aug 24, 2005, at 11:16 AM, Richard Gaskin wrote: >> >> >>> Jim Bufalini wrote: >>> >>> >>>> Several years ago I had a company that outsourced to India. You >>>> can't leave >>>> anything to the imagination in the spec. If you do it's guaranteed >>>> to come >>>> back wrong. And there are cultural differences to deal with that >>>> effect the >>>> software. >>>> For example, making requests to reorder the prompts on a working >>>> entry >>>> screen, so it matches the customer's workflow, elicit disbelief >>>> and outright >>>> laughter. The programmers can't understand why you would take >>>> something that >>>> works and change it solely for the convenience of the end user. >>>> >>>> >>> >>> I hope all my clients' competitors outsource. :) >>> >>> That last line is one of the funniest things I've read in this >>> industry in years. Should be a t-shirt.... >>> >>> -- >>> Richard Gaskin >>> Managing Editor, revJournal >>> _______________________________________________________ >>> Rev tips, tutorials and more: http://www.revJournal.com >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Dan Shafer, Revolution Consultant and Author >> http://www.shafermedia.com >> Get my book, "Revolution: Software at the Speed of Thought" >> From http://www.revolutionpros.com, Click "My Stuff" >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Thu Aug 25 00:06:14 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 21:06:14 -0700 Subject: magic settings for rollovers? In-Reply-To: <430D3A91.7090103@fourthworld.com> References: <430CD0FD.1050102@fourthworld.com> <430CE076.7030404@chipp.com> <430D36AD.3020502@fourthworld.com> <430D3806.2070205@chipp.com> <430D3A91.7090103@fourthworld.com> Message-ID: <430D43B6.10502@fourthworld.com> Digging deeper, I think I found the root of the problem: Rev doesn't provide native support for rollovers. The trick of using the armedIcon is seductive but ultimately disappointing, as it relied on the traversalOn and autoArm and those were really designed for other behaviors related to menus. The issue with the hilite hanging is that the object still had focus after the mouse was moved away from it -- that's what you'd expect from having traversalOn on, but not always what's desired outside of a menu or a standard button. The armed state is different from a rollover state. What's really needed is a true rolloverIcon, with appropriate behaviors to match. In the end I found this to be the most reliable solution, as recommended by others here: on mouseenter if word 1 of the name of the target = "button"\ AND "Nav" is in the long name of the target then set the icon of the target to (the armedIcon of the target) end if end mouseenter on mouseLeave if word 1 of the name of the target is "button" \ AND "Nav" is in the long name of the target then -- all my icons are in sequential order so I can use -- things like this: set the icon of the target to (the armedIcon of the target - 3) end if end mouseLeave Earlier I had some circumstances in which those messages did not appear to be sent reliable, but it might have been that the other properties I was setting was messing with them. So for now I have the autoArm and traversalOn turned off, and all seems well. Thanks to all for your help on this. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Aug 25 00:08:43 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Aug 2005 21:08:43 -0700 Subject: magic settings for rollovers? In-Reply-To: <197.459e97b3.303e47bb@aol.com> References: <197.459e97b3.303e47bb@aol.com> Message-ID: <430D444B.4050801@fourthworld.com> An enhancement request for rolloverIcon property for buttons has been submitted to BZ: Thanks again for everyone in helping to clarify my thinking on all this. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jperryl at ecs.fullerton.edu Thu Aug 25 00:45:48 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 24 Aug 2005 21:45:48 -0700 (PDT) Subject: Downloading stacks In-Reply-To: <3C7AA4C2-16E0-4A65-AE43-F369C2B4186C@mac.com> Message-ID: Plus, when you've downloaded the below, use the browser and perform the menu command "File -> Save As..." Usually works for me. Judy On Wed, 24 Aug 2005, Roger Guay wrote: > Hi, > > This is probably simple, but sometimes when I attempt to download a > stack I get a page of text starting 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 > > An example of this is the Tree View stack from http:// > revolution.lexicall.org/stacks_education.php From psahores at easynet.fr Thu Aug 25 02:34:28 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Thu, 25 Aug 2005 08:34:28 +0200 Subject: How to write a VERY simple server? In-Reply-To: References: Message-ID: <44166540-C179-4D94-B3AC-A66C5BC93548@easynet.fr> Hi, See if this basic tutorial can help : Best Regards, Le 25 ao?t 05 ? 01:10, Gajo Csaba a ?crit : > > > Hi, > > I started learning Revolution today, though I have been programming in > other languages such as Java for many years before. What I'd like > to do > is create a simple chat program. I managed to write the client part > and > send a message to a Java server application, but I just cannot build a > server. All the server has to do is listen to connections on port > 5001, > accept a connection, read from the socket until linefeed and then > terminate the connection. After that it should put the text in some > field > for display. > > I did search through your list and saw a few examples, but they didn't > work. There was also a link to a ZIP-ed chat program source which I > downloaded, but the file was corrupted. > > So could someone please just type down the source of a simple server > script? On the Runtime's site they say you can write a client/ > server with > just a few lines, so I'm sure it's very simple, but I cannot figure > it out. > > Thanks, Csaba > > ______________________________________________________________________ > _ > [freemail] extra 1GB-os postafi?kkal, ?nnek m?r van? http:// > freemail.hu > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours skype : psahores psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From mcdomi at free.fr Thu Aug 25 03:19:30 2005 From: mcdomi at free.fr (Dom) Date: Thu, 25 Aug 2005 09:19:30 +0200 Subject: Dreamcard Player musing (the Sequel, I) Message-ID: <1h1tb89.9mmu5z1hy3yemM%mcdomi@free.fr> I eventually went 2.6 ;-) In fact, there was some incitement to get the new version, with a certain Arcade Engine I wished to see more closer. I wrote some time ago a quick'n dirty Car Race Game along with my 12 years old son and I wonder if the Arcade engine will do the trick... Back to the Player. My Mac OS X copy has some difficulties to obey to "open with" ;-> Some cleaning is maybe necessary, since the system sees *two* copies of Dreamcard Player... [follow-up: as I browsed the news, someone talked of this very problem; two solutions, the geek one: and then the easy way: I dragged my Diary stack onto the Player to force its opening as wished. Runs smoothly. I can add a card, and delete this card, by seeing the warning Answer dialog. Good. Eeeer, I forgot, there is always the revOnline stack popping out as I launch the diary... When I close the diary stack, the Player stays open. I checked the destroyStack & destroyWindow boxes... But, the diary stack's menus are staying, inchanged ! Funny, indeed (?) When I double-click the Player's icon, a get the splah screen... "preparing" forever! By the way, what is this new "Unix" file, which appears inside the Revolution Dreamcard folder, and name "Revolution Launcher"? -- DC 2.6 Musing in Dreamcard From revolution at derbrill.de Thu Aug 25 03:45:37 2005 From: revolution at derbrill.de (Malte Brill) Date: Thu, 25 Aug 2005 09:45:37 +0200 Subject: Dreamcard Player musing (the Sequel, I) In-Reply-To: <20050825023454.B96DA825144@mail.runrev.com> Message-ID: <39A4BC40-153C-11DA-81C7-0030659A795C@derbrill.de> Bonjour Dom, je croix ce que ArcadeEngine est un assistant id?al pour ce projet. J'ai vu une stack qui demonstr?e une approche de r?aliser conduire une voiture. Si n?cessaire, tu trouve support au l'usage dans le forum. (En anglais, parce que mon francais est tr?s mauvaise.) www.derbrill.com/arcadeengine Hi Dom, I think ArcadeEngine is an ideal assistant for that project. I have seen a stack that demonstrates how to steer a car already. If necessary you find help on using ArcadeEngine in the forum. (In english because my french is very bad) All the best, Malte >I eventually went 2.6 ;-) >In fact, there was some incitement to get the new version, with a >certain Arcade Engine I wished to see more closer. I wrote some time ago >a quick'n dirty Car Race Game along with my 12 years old son and I >wonder if the Arcade engine will do the trick... ------------------------------------------------------------------------ ------------ ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum From rev at everymail.net Fri Aug 19 10:45:15 2005 From: rev at everymail.net (rev at everymail.net) Date: Fri, 19 Aug 2005 16:45:15 +0200 Subject: Revolution under Ubuntu Linux? Message-ID: <200508191445.j7JEjGQK006951@everymail-A16-C02.everymail.net> Has anyone sucess in running Revolution under Ubuntu Linux or Debian? Best regards Peter ------------------- Werbung ----------------------- >> JETZT: AT-Domains Erst-Registrierung kostenlos! und NUR EUR 16,00/Jahr * http://www.emerion.com --------------------------------------------------------- *** sent through http://www.everymail.net FREE e-mail From telecombrokers at tiscali.co.uk Fri Aug 19 21:20:32 2005 From: telecombrokers at tiscali.co.uk (Andrew Tarrant) Date: Sat, 20 Aug 2005 02:20:32 +0100 Subject: FTP Upload Does Not Work? Message-ID: <42E8AD580007E794@mk-cpfrontend-2.mail.uk.tiscali.com> Hi, Here's my problem, I created a button, edited the script for the button and added the folowing code: on mouseUp libURLftpUploadFile "testfile.txt",\ "ftp://Username:Password at ftp.mydomain.com/MyFolder" end mouseUp Now, I create a standalone program of it, with the file "testfile.txt" inside the same folder as the program. Go to run it, click the button, go to login at my ftp, and nothing has been uploaded, why is this? ----- Best Regards, Andrew Tarrant telecombrokers at tiscali.co.uk (Optional Email Address) ___________________________________________________________ Book yourself something to look forward to in 2005. Cheap flights - http://www.tiscali.co.uk/travel/flights/ Bargain holidays - http://www.tiscali.co.uk/travel/holidays/ From cmsheffield at gmail.com Tue Aug 23 14:58:10 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Tue, 23 Aug 2005 12:58:10 -0600 Subject: Creating a answer hyperlink In-Reply-To: References: <8f8651c1050823095367826f81@mail.gmail.com> Message-ID: <7825869D-AAA0-4FA8-9874-170454983369@cableone.net> On Aug 23, 2005, at 12:47 PM, Stephen Barncard wrote: > This puts up a neat dialog with a clickable link - but according to > the message watcher no messages are sent when clicked - even though > the link does hilite. > Guess it has to be built. But it would be neat to send a message > from the htmltext. The limitation is the dialog mode itself by > definition. Stephen, Not quite true. Well, maybe the message watcher doesn't see it, but it does work if you put a linkClicked handler in the same script where you call the answer dialog. I've got a program that uses this method and it works perfectly. The linkClicked handler then calls revGoURL like normal. ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From cmsheffield at gmail.com Tue Aug 23 15:05:15 2005 From: cmsheffield at gmail.com (Chris Sheffield) Date: Tue, 23 Aug 2005 13:05:15 -0600 Subject: Creating a answer hyperlink In-Reply-To: References: <8f8651c1050823095367826f81@mail.gmail.com> Message-ID: <80862894-1B9A-470E-9F5C-FA1C05FD54B1@cableone.net> On Aug 23, 2005, at 12:47 PM, Stephen Barncard wrote: > > This puts up a neat dialog with a clickable link - but according to > the message watcher no messages are sent when clicked - even though > the link does hilite. > Guess it has to be built. But it would be neat to send a message > from the htmltext. The limitation is the dialog mode itself by > definition. Stephen, Not quite true. Well, maybe the message watcher doesn't see it, but it does work if you put a linkClicked handler in the same script where you call the answer dialog. I've got a program that uses this method and it works perfectly. The linkClicked handler then calls revGoURL like normal. ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From glen930 at yahoo.com Tue Aug 23 16:57:28 2005 From: glen930 at yahoo.com (Glen) Date: Tue, 23 Aug 2005 13:57:28 -0700 (PDT) Subject: Disclosure Triangles in Fields Message-ID: <20050823205728.85118.qmail@web51307.mail.yahoo.com> Hello Everyone, How do you provide disclosure triangles in a field? I am trying to make make a directory list similar to what Rev does for the "help" stack. Thanks in advance for any help you can provide. Glen From psahores at easynet.fr Thu Aug 25 05:02:17 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Thu, 25 Aug 2005 11:02:17 +0200 Subject: Revolution under Ubuntu Linux? In-Reply-To: <200508191445.j7JEjGQK006951@everymail-A16-C02.everymail.net> References: <200508191445.j7JEjGQK006951@everymail-A16-C02.everymail.net> Message-ID: Don't know about Ubuntu but works fine for me (up to Rev 2.5.1, 2.6 unused under Linux for yet) under Suse-Linux/KDE (9.2 pro). It should work under Ubuntu even if some configuration's tunning will probably be needed. Take care to desactivate the KDE clipboard witch put the copy/paste script editor's in dead-lock else. Rev worked fine for me under all the distributions i tested or used : Linux2000 PPC, YellowDog PPC, SusePPC, Mandrake x86, Suse x86, FedoraCore x86,... Suse distribs are my prefered. Best Regards, Le 19 ao?t 05 ? 16:45, rev at everymail.net a ?crit : > Has anyone sucess in running Revolution under Ubuntu Linux > or Debian? > Best regards > Peter > > > > > ------------------- Werbung ----------------------- > >>> JETZT: AT-Domains Erst-Registrierung kostenlos! >>> > und NUR EUR 16,00/Jahr * http://www.emerion.com > > > --------------------------------------------------------- > *** sent through http://www.everymail.net FREE e-mail > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours skype : psahores psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From preid at reidit.co.uk Thu Aug 25 05:21:34 2005 From: preid at reidit.co.uk (Peter Reid) Date: Thu, 25 Aug 2005 10:21:34 +0100 Subject: Rev On Top? Message-ID: I have a Rev stack that uses AppleScript to access a FileMaker Pro database. However, I often find that the FMPro window remains on top and I have to manually bring my Rev window to the front. I have tried using the "go this stack" command to bring Rev to the top but it doesn't work. Can anyone suggest how I can make sure my Rev window is on top/in front? Thanks Peter From xbury.cs at clearstream.com Thu Aug 25 05:26:23 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 25 Aug 2005 11:26:23 +0200 Subject: Rev On Top? In-Reply-To: Message-ID: Peter, Try in AS to tell finder to hide app "filemaker pro" or something like that... ---------------------=--------------------- Xavier use-revolution-bounces at lists.runrev.com wrote on 25/08/2005 11:21:34: > I have a Rev stack that uses AppleScript to access a FileMaker Pro > database. However, I often find that the FMPro window remains on top > and I have to manually bring my Rev window to the front. I have > tried using the "go this stack" command to bring Rev to the top but > it doesn't work. > > Can anyone suggest how I can make sure my Rev window is on top/in front? > > Thanks > > Peter > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From klaus at major-k.de Thu Aug 25 05:49:12 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 25 Aug 2005 11:49:12 +0200 Subject: Rev On Top? In-Reply-To: References: Message-ID: Hi Peter, > I have a Rev stack that uses AppleScript to access a FileMaker Pro > database. However, I often find that the FMPro window remains on > top and I have to manually bring my Rev window to the front. I > have tried using the "go this stack" command to bring Rev to the > top but it doesn't work. > > Can anyone suggest how I can make sure my Rev window is on top/in > front? check the docs for the "systemwindow" property! Maybe that does what you need. > Thanks > > Peter Regards Klaus Major klaus at major-k.de http://www.major-k.de From rsarabia at mac.com Thu Aug 25 07:27:28 2005 From: rsarabia at mac.com (rsarabia) Date: Thu, 25 Aug 2005 13:27:28 +0200 Subject: SMS mobile messages Message-ID: <4FDD795C-A379-4129-8769-F43B34B3A1DE@mac.com> Have any one of you experience, sending SMS mobile message from Rev?, like Apple OS X Agenda can. Best regards, ___ Rufino Sarabia RS & Asociados 629 444 710; fax 902 120 880; rufino.sarabia at rsyasociados.com correo alternativo y env?o de ficheros a: rsarabia at mac.com Facilitamos el desarrollo cient?fico-t?cnico y financiero de personas, sociedades y congresos From mark at maseurope.net Thu Aug 25 07:29:53 2005 From: mark at maseurope.net (Mark Smith) Date: Thu, 25 Aug 2005 12:29:53 +0100 Subject: FTP Upload Does Not Work? In-Reply-To: <42E8AD580007E794@mk-cpfrontend-2.mail.uk.tiscali.com> References: <42E8AD580007E794@mk-cpfrontend-2.mail.uk.tiscali.com> Message-ID: Make sure that the internet library is checked for inclusion in the Standalone Settings. Also, there was a bug in version 2.5 (I think) that stopped those inclusions being put in to the standalone - fixed in 2.6. Mark On 20 Aug 2005, at 02:20, Andrew Tarrant wrote: > Hi, Here's my problem, > > I created a button, edited the script for the button and added the > folowing > code: > > on mouseUp > > libURLftpUploadFile "testfile.txt",\ > "ftp://Username:Password at ftp.mydomain.com/MyFolder" > > > > > end mouseUp > > Now, I create a standalone program of it, with the file "testfile.txt" > inside > the same folder as the program. > > Go to run it, click the button, go to login at my ftp, and nothing has > been > uploaded, why is this? > > ----- > > Best Regards, > > Andrew Tarrant > telecombrokers at tiscali.co.uk > (Optional Email Address) > > ___________________________________________________________ > > Book yourself something to look forward to in 2005. > Cheap flights - http://www.tiscali.co.uk/travel/flights/ > Bargain holidays - http://www.tiscali.co.uk/travel/holidays/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com From alex at tweedly.net Thu Aug 25 07:57:16 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 25 Aug 2005 12:57:16 +0100 Subject: FTP Upload Does Not Work? In-Reply-To: References: <42E8AD580007E794@mk-cpfrontend-2.mail.uk.tiscali.com> Message-ID: <430DB21C.2020605@tweedly.net> >> Hi, Here's my problem, >> >> I created a button, edited the script for the button and added the >> folowing >> code: >> >> on mouseUp >> >> libURLftpUploadFile "testfile.txt",\ >> "ftp://Username:Password at ftp.mydomain.com/MyFolder" >> >> end mouseUp >> >> Now, I create a standalone program of it, with the file >> "testfile.txt" inside >> the same folder as the program. >> >> Go to run it, click the button, go to login at my ftp, and nothing >> has been >> uploaded, why is this? > I think the "ftp url" needs to be the url of where you want the file to go, rather than the folder you want it to go into. The example in docs / libURLftpUploadFile isn't very clear - but the example in docs / libURLftpUpload shows > libURLftpUpload value,uploadURL[,callbackMessage] > > libURLftpUpload field "Data","ftp://ftp.example.org/file.txt" > libURLftpUpload URL "binfile:data.jef",myURL,"uploadDone" > libURLftpUpload myData,"ftp://me:secret at example.net/file.txt" > which looks to me like it ought to be the actual file name. Worth a try .... If that's not it ... - does it work when run from the IDE ? - does libURLftpUpload work (i.e. no dependency on properly finding the local file) ? -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: 23/08/2005 From tmc7056 at yahoo.com Thu Aug 25 08:10:16 2005 From: tmc7056 at yahoo.com (Tom McDonald) Date: Thu, 25 Aug 2005 05:10:16 -0700 (PDT) Subject: A Mentor Needed Message-ID: <20050825121017.32986.qmail@web53004.mail.yahoo.com> As a newbie I need a mentor or tutor. Somebody to answer specific questions in plain English. Simple answers to how to do the most basic things in Revolution -- one method at a time -- not several ways to do the same thing. The available tutorials are daunting. The daily forums might as well be conducted in Bantu for the uninitiated. I'll pay $50 an hour for help like this by email @ tmc7056 at yahoo.com.. Help!! Tom McDonald --------------------------------- Yahoo! Mail Stay connected, organized, and protected. Take the tour From charles.hartman at conncoll.edu Thu Aug 25 08:23:49 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 25 Aug 2005 08:23:49 -0400 Subject: Downloading stacks In-Reply-To: References: Message-ID: <0F2A1E84-31C5-4C2B-8606-1E68FC2CAF2D@conncoll.edu> On OSX, it also seems to work simply to click the filename WhatEver.rev.sh, removing the .sh, and confirming in the following dialog that you want .rev but not .sh. I don't know why Safari isn't offering a "Save as" option with ctrl-click "Download". (It does sometimes, not others.) Charles On Aug 25, 2005, at 12:45 AM, Judy Perry wrote: > Plus, when you've downloaded the below, use the browser and perform > the > menu command "File -> Save As..." From mark at maseurope.net Thu Aug 25 08:24:03 2005 From: mark at maseurope.net (Mark Smith) Date: Thu, 25 Aug 2005 13:24:03 +0100 Subject: FTP Upload Does Not Work? In-Reply-To: <430DB21C.2020605@tweedly.net> References: <42E8AD580007E794@mk-cpfrontend-2.mail.uk.tiscali.com> <430DB21C.2020605@tweedly.net> Message-ID: <38d4faaa11d2a7b9263ea5cddf3c022f@maseurope.net> This is correct. Didn't spot it. I use this for backing up files from a couple of different apps - it should be the actual file name: libURLftpUploadFile "testfile.txt",\ "ftp://Username:Password at ftp.mydomain.com/MyFolder/myFile.txt" Mark On 25 Aug 2005, at 12:57, Alex Tweedly wrote: > >>> Hi, Here's my problem, >>> >>> I created a button, edited the script for the button and added the >>> folowing >>> code: >>> >>> on mouseUp >>> >>> libURLftpUploadFile "testfile.txt",\ >>> "ftp://Username:Password at ftp.mydomain.com/MyFolder" >>> >>> end mouseUp >>> >>> Now, I create a standalone program of it, with the file >>> "testfile.txt" inside >>> the same folder as the program. >>> >>> Go to run it, click the button, go to login at my ftp, and nothing >>> has been >>> uploaded, why is this? >> > I think the "ftp url" needs to be the url of where you want the file > to go, rather than the folder you want it to go into. > > The example in docs / libURLftpUploadFile isn't very clear - but the > example in docs / libURLftpUpload shows > >> libURLftpUpload value,uploadURL[,callbackMessage] >> >> libURLftpUpload field "Data","ftp://ftp.example.org/file.txt" >> libURLftpUpload URL "binfile:data.jef",myURL,"uploadDone" >> libURLftpUpload myData,"ftp://me:secret at example.net/file.txt" >> > which looks to me like it ought to be the actual file name. Worth a > try .... > > If that's not it ... > - does it work when run from the IDE ? > - does libURLftpUpload work (i.e. no dependency on properly finding > the local file) ? > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: > 23/08/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com From mcdomi at free.fr Thu Aug 25 08:29:43 2005 From: mcdomi at free.fr (Dom) Date: Thu, 25 Aug 2005 14:29:43 +0200 Subject: [FR] [EN] Arcade engine (Was: Re: Dreamcard Player musing (the Sequel, I)) In-Reply-To: <39A4BC40-153C-11DA-81C7-0030659A795C@derbrill.de> Message-ID: <1h1ushb.gkmi4mps194wM%mcdomi@free.fr> Malte Brill wrote: > je croix ce que ArcadeEngine est un assistant id?al pour ce projet. > J'ai vu une stack qui demonstr?e une approche de r?aliser conduire une > voiture. Si n?cessaire, tu trouve support au l'usage dans le forum. > (En anglais, parce que mon francais est tr?s mauvaise.) Eh bien, je n'ose pas parler de mon allemand -- et pourtant j'ai fait plusieurs ann?es au lyc?e !!! > www.derbrill.com/arcadeengine Je vais y jeter un oeil :-) C'?tait beaucoup plus simple que de conduire une voiture... Le principe ?tait de conduire le plus vite possible une petite icone repr?sentant une voiture (dessin?e par mon fils) sur 1000 km (ou milles si vous pr?f?rez ;-)). Le probl?me ?tant que les autres icones, euh, voitures, conduisent soit bien trop lentement, soit bien trop mal ;-> D'ou collision (et d?tecter la collision par script) et p?nalit?. Il ne faut pas quitter la route, non plus ; mais celle-ci est toute droite ! Il y a un bouton pour d?marrer la course, qui d?clenche le chrono. Pour faire avancer la voiture, une seule vitesse : la voiture avance tant qu'on appuie sur une touche-fl?che (droite pour avancer, haut et bas pour ?viter les autres voitures) Est-ce qu'on peut am?liorer le jeu ? partir de ces bases, ou vaut-il mieux repartir de z?ro. Il ne faut pas non plus que ce soit trop compliqu?, car cela doit ?tre accessible (au niveau de la programmation) ? un enfant). Et cela aurait aussi l'int?r?t de l'inciter ? apprendre des mots et de courtes phrases en anglais ;-))) Ceci dit, je n'ose pas vous montrer mon horrible code ;-> J'avais cr?? un standalone avec la version Express, si je me souviens bien. > I think ArcadeEngine is an ideal assistant for that project. I have > seen a stack that demonstrates how to steer a car already. If necessary > you find help on using ArcadeEngine in the forum. (In english because > my french is very bad) It was more simpler. You have to drive a small icon (the car) in a minimum time for 1000 milles (km ;-)) The problem is, other icons, eeer, cars, are too slow, or have very bad drivers ;-) I had to detect collisions. And wether the car quits the road. The road is strait right ;-) There is a button to start the race (and the chronometer). To make the car go forward, simply press (and maintain) the right-arrow key; up and down are for passing the other cars. I wonder if the game can be improved, on this basis -- or better to restart from scratch. Keeping in the idea that the game has to be accessible (the scripts) to a younger (12). Another goal being to encourage him to learn english ;-))) I don't dare to show you my horrible code ;-> I made a standalone with the Express version, if I remember. -- Revolutionario From dburgun at dsl.pipex.com Thu Aug 25 08:36:27 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 25 Aug 2005 13:36:27 +0100 Subject: Problem with Set Script in Compiled App In-Reply-To: References: <430C5279.6010003@fourthworld.com> <430CA3EF.1050605@fourthworld.com> <430CB8E4.8000400@fourthworld.com> Message-ID: >This is of no help, but I'm curious and ignorant... > >What language/IDE are you using that enables you to export source >code from an executable, and re-insert it (compiled?) to the same >executable? > >I may have misunderstood the issue... > >Mark Not from an executable, from the source stacks, it just exports the scripts of a stack file (.rev) into seperate files and then imports them back into another Stack file. All the Best Dave From jbondy at sover.net Thu Aug 25 08:36:41 2005 From: jbondy at sover.net (Jon) Date: Thu, 25 Aug 2005 08:36:41 -0400 Subject: A Mentor Needed In-Reply-To: <20050825121017.32986.qmail@web53004.mail.yahoo.com> References: <20050825121017.32986.qmail@web53004.mail.yahoo.com> Message-ID: <430DBB59.3030407@sover.net> Tom: It's your money, but I'd give this list a try, first. People here are not only very helpful, but often respond very quickly, sometimes within the hour. I'd be happy to try to help you, on-list or off, for free for a while. If you exceed my admittedly limited expertise, you can then fire a message off to the list. Looking at the multitude of sample stacks that are available for download is a great way to understand how things are done. :) Jon Tom McDonald wrote: >As a newbie I need a mentor or tutor. Somebody to answer specific questions in plain English. Simple answers to how to do the most basic things in Revolution -- one method at a time -- not several ways to do the same thing. The available tutorials are daunting. The daily forums might as well be conducted in Bantu for the uninitiated. I'll pay $50 an hour for help like this by email @ tmc7056 at yahoo.com.. > >Help!! >Tom McDonald > > >--------------------------------- >Yahoo! Mail > Stay connected, organized, and protected. Take the tour >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From warren at howsoft.com Thu Aug 25 09:04:16 2005 From: warren at howsoft.com (Bob Warren) Date: Thu, 25 Aug 2005 10:04:16 -0300 Subject: Revolution under Ubuntu Linux? Message-ID: <001d01c5a976$07c80030$0201a8c0@john> Peter: Didn't you ask that same question a few days back? Or was it somebody else? I am using Ubuntu Linux (with the Gnome interface), but not Kubuntu (that uses KDE). RR 2.6 runs with absolutely no trouble on my machine, with no necessity for the possible "tuning" that Pierre mentioned (though I'm not quite sure what he meant by that). However, I haven't done any extensive programming in Ubuntu yet, as my trial license for RR is about to run out, and I don't intend to buy it until the Linux altBrowser is available. Much to my surprise, I found RR to be more visually attractive under Ubuntu Linux than under Windows! However, I have also tried running RR under other (KDE) versions of Linux, but none of them are as visually attractive as Ubuntu. Sorry I can't give you more technical tips at the moment. Bob From jbondy at sover.net Thu Aug 25 09:09:21 2005 From: jbondy at sover.net (Jon) Date: Thu, 25 Aug 2005 09:09:21 -0400 Subject: write fails Message-ID: <430DC301.70003@sover.net> I'm trying to log activity to a file with what I thought was a simple approach: put the date & " " & the long time & " " & m & Return into s write s to file "C:/RHOADS/EEOL2/Logs/log.txt" at end The file is not created automatically; after creating the file manually, the file remains empty; the path was copy-and-pasted from Windows Explorer, so I know it is correct; the string "s" has reasonable contents as verified with the Variable Watcher; and there are no run-time errors. Any thoughts? :) Jon From eric.chatonet at sosmartsoftware.com Thu Aug 25 09:18:42 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 25 Aug 2005 15:18:42 +0200 Subject: write fails In-Reply-To: <430DC301.70003@sover.net> References: <430DC301.70003@sover.net> Message-ID: Hi Jon, I'm used to another method which works well for me: put "C:/RHOADS/EEOL2/Logs/log.txt" into tLogFilePath put the date & " " & the long time & " " & m into tData ----- put url("file:" & tLogFilePath) into tLog if tLog = empty then put tData into url("file:" & tLogFilePath) else put tLog & cr & tData into url("file:" & tLogFilePath) The advantage is that Rev creates the file if it does not exists and overwrites the previous file if it already exists. If you want be compliant with Mac OS, add a fileType setting :-) Le 25 ao?t 05 ? 15:09, Jon a ?crit : > I'm trying to log activity to a file with what I thought was a > simple approach: > > put the date & " " & the long time & " " & m & Return into s > write s to file "C:/RHOADS/EEOL2/Logs/log.txt" at end > > The file is not created automatically; after creating the file > manually, the file remains empty; the path was copy-and-pasted from > Windows Explorer, so I know it is correct; the string "s" has > reasonable contents as verified with the Variable Watcher; and > there are no run-time errors. Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From xbury.cs at clearstream.com Thu Aug 25 09:18:21 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 25 Aug 2005 15:18:21 +0200 Subject: write fails In-Reply-To: <430DC301.70003@sover.net> Message-ID: Jon you need to open the file first... see Open file... Write file... and close file... Each has it's options too... cheers ---------------------=--------------------- Xavier use-revolution-bounces at lists.runrev.com wrote on 25/08/2005 15:09:21: > I'm trying to log activity to a file with what I thought was a simple > approach: > > put the date & " " & the long time & " " & m & Return into s > write s to file "C:/RHOADS/EEOL2/Logs/log.txt" at end > > The file is not created automatically; after creating the file manually, > the file remains empty; the path was copy-and-pasted from Windows > Explorer, so I know it is correct; the string "s" has reasonable > contents as verified with the Variable Watcher; and there are no > run-time errors. > > Any thoughts? > > :) > > Jon > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From rjb at robelko.com Thu Aug 25 08:24:50 2005 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 25 Aug 2005 14:24:50 +0200 Subject: Rev On Top? In-Reply-To: References: Message-ID: >Peter, > >Try in AS to > > tell finder to hide app "filemaker pro" > >or something like that... > >---------------------=--------------------- >Xavier Actually, it should be the other way. Execute as AppleScript something like this: tell application "Revolution" to activate "Revolution" must be an actual name of the process. This should cause the program to come forward. Robert From ptrendler at bigpond.com Thu Aug 25 09:28:49 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Thu, 25 Aug 2005 23:28:49 +1000 Subject: write fails References: <430DC301.70003@sover.net> Message-ID: <006501c5a978$f9dd3280$0200000a@super> Jon, I think you need to "open file" before writing to it, or, alternatively use the "put URL" See the docs for detail. Pat patrend at bigpond.com ----- Original Message ----- From: "Jon" To: "Revolution List" Sent: Thursday, August 25, 2005 11:09 PM Subject: write fails > I'm trying to log activity to a file with what I thought was a simple > approach: > > put the date & " " & the long time & " " & m & Return into s > write s to file "C:/RHOADS/EEOL2/Logs/log.txt" at end > > The file is not created automatically; after creating the file manually, > the file remains empty; the path was copy-and-pasted from Windows > Explorer, so I know it is correct; the string "s" has reasonable contents > as verified with the Variable Watcher; and there are no run-time errors. > > Any thoughts? > > :) > > Jon > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.15/81 - Release Date: 24/08/2005 > > From bnz2 at cdc.gov Thu Aug 25 09:34:53 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 25 Aug 2005 09:34:53 -0400 Subject: write fails Message-ID: <64878EF567131D4596246171F75FD4A974462B@m-epo-1.epo.cdc.gov> I never use open, write, close... I did at first, but it just never occurs that I need to do it that way. The put URL and put into URL methods are so much easier. If you have a file named "C:/my documents/my feet stink.txt" then you would address it like this (in Windows): Put "file:C:/my documents/my feet stink.txt" into tFileURL Put URL tFileURL into tMyText -- do whatever you need to do with the text Put tMyNewText into URL tFileURL Now, if you are using binary data, in other words you need to make sure Revolution does not automatically change end of line markers to its own format, then put "binfile:" in front of the file path rather than "file:" -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Pat Trendler Sent: Thursday, August 25, 2005 9:29 AM To: How to use Revolution Subject: Re: write fails Jon, I think you need to "open file" before writing to it, or, alternatively use the "put URL" See the docs for detail. Pat patrend at bigpond.com ----- Original Message ----- From: "Jon" To: "Revolution List" Sent: Thursday, August 25, 2005 11:09 PM Subject: write fails > I'm trying to log activity to a file with what I thought was a simple > approach: > > put the date & " " & the long time & " " & m & Return into s > write s to file "C:/RHOADS/EEOL2/Logs/log.txt" at end > > The file is not created automatically; after creating the file manually, > the file remains empty; the path was copy-and-pasted from Windows > Explorer, so I know it is correct; the string "s" has reasonable contents > as verified with the Variable Watcher; and there are no run-time errors. > > Any thoughts? > > :) > > Jon > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.15/81 - Release Date: 24/08/2005 > > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From xbury.cs at clearstream.com Thu Aug 25 09:35:51 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 25 Aug 2005 15:35:51 +0200 Subject: Rev On Top? In-Reply-To: Message-ID: Ooops shows i havent applescripted in a while! Woah... 6 years now ;) use-revolution-bounces at lists.runrev.com wrote on 25/08/2005 14:24:50: > >Peter, > > > >Try in AS to > > > > tell finder to hide app "filemaker pro" > > > >or something like that... > > > >---------------------=--------------------- > >Xavier > > Actually, it should be the other way. Execute as AppleScript > something like this: > > tell application "Revolution" to activate > > "Revolution" must be an actual name of the process. This should cause > the program to come forward. > > Robert > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From xbury.cs at clearstream.com Thu Aug 25 09:39:36 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 25 Aug 2005 15:39:36 +0200 Subject: write fails In-Reply-To: <64878EF567131D4596246171F75FD4A974462B@m-epo-1.epo.cdc.gov> Message-ID: Jon i use open file x for append... For log files, it is crucial not to erase the logs... And while the |put data into url thisurl" is great, and easy but i wouldn't consider it as a good practice if the file is over a certain size... but of course, depends on the application... X use-revolution-bounces at lists.runrev.com wrote on 25/08/2005 15:34:53: > I never use open, write, close... > > I did at first, but it just never occurs that I need to do it that way. > > The put URL and put into URL methods are so much easier. > > If you have a file named "C:/my documents/my feet stink.txt" then you > would address it like this (in Windows): > > Put "file:C:/my documents/my feet stink.txt" into tFileURL > Put URL tFileURL into tMyText > -- do whatever you need to do with the text > Put tMyNewText into URL tFileURL > > > Now, if you are using binary data, in other words you need to make sure > Revolution does not automatically change end of line markers to its own > format, then put "binfile:" in front of the file path rather than > "file:" > > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Pat > Trendler > Sent: Thursday, August 25, 2005 9:29 AM > To: How to use Revolution > Subject: Re: write fails > > Jon, > > I think you need to "open file" before writing to it, or, alternatively > use > the "put URL" > > See the docs for detail. > > Pat > patrend at bigpond.com > > ----- Original Message ----- > From: "Jon" > To: "Revolution List" > Sent: Thursday, August 25, 2005 11:09 PM > Subject: write fails > > > > I'm trying to log activity to a file with what I thought was a simple > > approach: > > > > put the date & " " & the long time & " " & m & Return into s > > write s to file "C:/RHOADS/EEOL2/Logs/log.txt" at end > > > > The file is not created automatically; after creating the file > manually, > > the file remains empty; the path was copy-and-pasted from Windows > > Explorer, so I know it is correct; the string "s" has reasonable > contents > > as verified with the Variable Watcher; and there are no run-time > errors. > > > > Any thoughts? > > > > :) > > > > Jon > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > > No virus found in this incoming message. > > Checked by AVG Anti-Virus. > > Version: 7.0.344 / Virus Database: 267.10.15/81 - Release Date: > 24/08/2005 > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- 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 Thu Aug 25 09:41:58 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 25 Aug 2005 09:41:58 -0400 Subject: write fails Message-ID: <64878EF567131D4596246171F75FD4A99681C0@m-epo-1.epo.cdc.gov> That makes sense. I have not tried it, but can one do the same thing by saying?: Put tNewText after URL tFileURL -----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: Thursday, August 25, 2005 9:40 AM To: How to use Revolution Subject: RE: write fails Jon i use open file x for append... For log files, it is crucial not to erase the logs... And while the |put data into url thisurl" is great, and easy but i wouldn't consider it as a good practice if the file is over a certain size... but of course, depends on the application... X use-revolution-bounces at lists.runrev.com wrote on 25/08/2005 15:34:53: > I never use open, write, close... > > I did at first, but it just never occurs that I need to do it that way. > > The put URL and put into URL methods are so much easier. > > If you have a file named "C:/my documents/my feet stink.txt" then you > would address it like this (in Windows): > > Put "file:C:/my documents/my feet stink.txt" into tFileURL > Put URL tFileURL into tMyText > -- do whatever you need to do with the text > Put tMyNewText into URL tFileURL > > > Now, if you are using binary data, in other words you need to make sure > Revolution does not automatically change end of line markers to its own > format, then put "binfile:" in front of the file path rather than > "file:" > > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Pat > Trendler > Sent: Thursday, August 25, 2005 9:29 AM > To: How to use Revolution > Subject: Re: write fails > > Jon, > > I think you need to "open file" before writing to it, or, alternatively > use > the "put URL" > > See the docs for detail. > > Pat > patrend at bigpond.com > > ----- Original Message ----- > From: "Jon" > To: "Revolution List" > Sent: Thursday, August 25, 2005 11:09 PM > Subject: write fails > > > > I'm trying to log activity to a file with what I thought was a simple > > approach: > > > > put the date & " " & the long time & " " & m & Return into s > > write s to file "C:/RHOADS/EEOL2/Logs/log.txt" at end > > > > The file is not created automatically; after creating the file > manually, > > the file remains empty; the path was copy-and-pasted from Windows > > Explorer, so I know it is correct; the string "s" has reasonable > contents > > as verified with the Variable Watcher; and there are no run-time > errors. > > > > Any thoughts? > > > > :) > > > > Jon > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > -- > > No virus found in this incoming message. > > Checked by AVG Anti-Virus. > > Version: 7.0.344 / Virus Database: 267.10.15/81 - Release Date: > 24/08/2005 > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From got at mindspring.com Thu Aug 25 10:14:04 2005 From: got at mindspring.com (Gordon Tillman) Date: Thu, 25 Aug 2005 09:14:04 -0500 Subject: Revolution under Ubuntu Linux? In-Reply-To: <001d01c5a976$07c80030$0201a8c0@john> References: <001d01c5a976$07c80030$0201a8c0@john> Message-ID: Folks I agree with what Bob has written here: > Didn't you ask that same question a few days back? Or was it > somebody else? > > I am using Ubuntu Linux (with the Gnome interface), but not Kubuntu > (that > uses KDE). > RR 2.6 runs with absolutely no trouble on my machine, with no > necessity for > the possible "tuning" that Pierre mentioned (though I'm not quite > sure what > he meant by that). However, I haven't done any extensive > programming in > Ubuntu yet, as my trial license for RR is about to run out, and I > don't > intend to buy it until the Linux altBrowser is available. The only thing I had to do special was as follows: I'm running Ubuntu on an AMD64 system. Running RR worked just fine except that I couldn't connect to the MySQL database that I'm using. I tracked the problem down to the fact that RR requires some external libraries for certain tasks. And since RR is built for 32-bit systems, it needed the 32-bit libraries. So the simple solution was just to set up a chroot environment for RR to run under. Doing that corrected the problem and so now it plays nicely with the rest of the system. --gordy P.S. - I would love to have a 64-bit RR build for Linux! :-) P.P.S. - If anyone needs help setting up a chroot environment, please see my instructions here: http://www.gordontillman.info/index.php?n=OperatingSystems.UbuntuChroot > > Much to my surprise, I found RR to be more visually attractive > under Ubuntu > Linux than under Windows! However, I have also tried running RR > under other > (KDE) versions of Linux, but none of them are as visually > attractive as > Ubuntu. Sorry I can't give you more technical tips at the moment. > > Bob From webmaster at dreamscapesoftware.com Thu Aug 25 10:20:23 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 25 Aug 2005 09:20:23 -0500 Subject: SMS mobile messages In-Reply-To: <4FDD795C-A379-4129-8769-F43B34B3A1DE@mac.com> References: <4FDD795C-A379-4129-8769-F43B34B3A1DE@mac.com> Message-ID: <430DD3A7.9060509@dreamscapesoftware.com> rsarabia wrote: > Have any one of you experience, sending SMS mobile message from Rev?, > like Apple OS X Agenda can. Well, I don't know how Agenda does it because I don't have MacOS X. But I do know that most mobile services allow you to send SMS messages by sending an email to the phone. It also works the same if you want to send a photo to the phone. Example: 5551239876 at cingular.com Now this is all completely dependent on the service, which makes it especially difficult since number portability is now possible. What this means is that there is no way to determine from the number what cell phone provider they have. Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com/ From ljk144 at gmail.com Thu Aug 25 10:23:03 2005 From: ljk144 at gmail.com (Levi Kendall) Date: Thu, 25 Aug 2005 10:23:03 -0400 Subject: Installers for Mac / Linux? Message-ID: Hi all, I am preparing to release a stand alone application and am working on doing Mac and Linux distributions along with Windows. As far as an installer for these, I am planning on using the Nullsoft install system for Windows because I am already familiar with it and it has worked great in the past. My question is what should I use to package the Mac and Linux? Is there any Windows software that could be used to make installers for Mac or Linux? I currently do not have a Mac or Linux machine to use for this, so it will be difficult if the installer needs to be built on the platform it will be used to install on. Any tips? -Levi From Cubist at aol.com Thu Aug 25 10:37:59 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Thu, 25 Aug 2005 10:37:59 EDT Subject: A Mentor Needed Message-ID: <6.4bbdf345.303f31c7@aol.com> sez tmc7056 at yahoo.com> >Subject: A Mentor Needed >To: use-revolution at lists.runrev.com >Message-ID: <20050825121017.32986.qmail at web53004.mail.yahoo.com> >Content-Type: text/plain; charset=iso-8859-1 > >As a newbie I need a mentor or tutor. Somebody to answer specific questions >in plain English. Simple answers to how to do the most basic things in >Revolution -- one method at a time -- not several ways to do the same thing. >The available tutorials are daunting. The daily forums might as well be >conducted in Bantu for the uninitiated. I'll pay $50 an hour for help like >this by email @ tmc7056 at yahoo.com. My name is Quentin Long, and I second jbondy at sover.net's suggestion to give the use-revolution list a shot first. That said and acknowledged: If you want to give someone money to mentor you in Revolution, I am willing to mentor you in Revolution for money. I would further recommend that you search the list archives for past threads in which I've answered questions, because that should give you some idea of how good I am at explaining things clearly. You'll find the list archives here: http://lists.runrev.com/pipermail/use-revolution/ From scott at proherp.com Thu Aug 25 10:43:59 2005 From: scott at proherp.com (Scott Kane) Date: Fri, 26 Aug 2005 00:43:59 +1000 Subject: Installers for Mac / Linux? In-Reply-To: Message-ID: <000001c5a983$7302f230$0201010a@proherps56yaxv> > I am preparing to release a stand alone application and am > working on doing Mac and Linux distributions along with > Windows. As far as an installer for these, I am planning on > using the Nullsoft install system for Windows because I am > already familiar with it and it has worked great in the past. > My question is what should I use to package the Mac and > Linux? Is there any Windows software that could be used to > make installers for Mac or Linux? I currently do not have a > Mac or Linux machine to use for this, so it will be difficult > if the installer needs to be built on the platform it will be > used to install on. Any tips? For the Mac I use FreeDMG - you can get it from www.versiontracker.com It packages the distribution, but does not install it. Some Mac users dislike installers because they prefer to control where things are put themselves and sometimes feel the installer might be doing stuff they don't want it to do. However - if you are in the market for a cheap Rev project installer then see: http://downloads.runrev.com/stacks_apps/installgadget.php As for Linux - it's a nighmare. I'd stick to Gzip or similar. Scott Kane From david at openpartnership.net Thu Aug 25 10:44:06 2005 From: david at openpartnership.net (david bovill) Date: Thu, 25 Aug 2005 16:44:06 +0200 Subject: SMS mobile messages In-Reply-To: <4FDD795C-A379-4129-8769-F43B34B3A1DE@mac.com> References: <4FDD795C-A379-4129-8769-F43B34B3A1DE@mac.com> Message-ID: <8CF49F69-5E9C-4D52-A376-3762EDA263A6@openpartnership.net> Yes - I have a stack that does this. It uses an SMS provider and calls it via their web service - so no use to you if you want to use your phone. However it is easy to use AppleScript to send an SMS from your phone (over BlueTooth for instance) and embed the AppleScript in Rev. On 25 Aug 2005, at 13:27, rsarabia wrote: > Have any one of you experience, sending SMS mobile message from > Rev?, like Apple OS X Agenda can. > > Best regards, > ___ > Rufino Sarabia > > RS & Asociados > 629 444 710; fax 902 120 880; rufino.sarabia at rsyasociados.com > correo alternativo y env?o de ficheros a: rsarabia at mac.com > Facilitamos el desarrollo cient?fico-t?cnico y financiero de > personas, sociedades y congresos > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at openpartnership.net Thu Aug 25 10:45:37 2005 From: david at openpartnership.net (david bovill) Date: Thu, 25 Aug 2005 16:45:37 +0200 Subject: A Mentor Needed In-Reply-To: <20050825121017.32986.qmail@web53004.mail.yahoo.com> References: <20050825121017.32986.qmail@web53004.mail.yahoo.com> Message-ID: Sure I can help... On 25 Aug 2005, at 14:10, Tom McDonald wrote: > As a newbie I need a mentor or tutor. Somebody to answer specific > questions in plain English. Simple answers to how to do the most > basic things in Revolution -- one method at a time -- not several > ways to do the same thing. The available tutorials are daunting. > The daily forums might as well be conducted in Bantu for the > uninitiated. I'll pay $50 an hour for help like this by email @ > tmc7056 at yahoo.com.. > > Help!! > Tom McDonald > > > --------------------------------- > Yahoo! Mail > Stay connected, organized, and protected. Take the tour > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From tereza at califex.com Thu Aug 25 11:02:12 2005 From: tereza at califex.com (Tereza Snyder) Date: Thu, 25 Aug 2005 10:02:12 -0500 Subject: Disclosure Triangles in Fields In-Reply-To: <20050823205728.85118.qmail@web51307.mail.yahoo.com> References: <20050823205728.85118.qmail@web51307.mail.yahoo.com> Message-ID: On Aug 23, 2005, at 3:57 PM, Glen wrote: > Hello Everyone, > > How do you provide disclosure triangles in a field? I have a tree field that uses them; email me off list and I'll send you a copy. t -- Tereza Snyder Califex Software, Inc. 800 Water Street Sauk City, WI 53583 608.643.2586 From ps1 at softseven.org Thu Aug 25 11:11:42 2005 From: ps1 at softseven.org (Paul Salyers) Date: Thu, 25 Aug 2005 10:11:42 -0500 Subject: len of field Message-ID: <6.1.1.1.2.20050825100537.02528dc8@softseven.org> Dear Programmers, I need to find out how to add spaces to a field length if the number of characters are less than 14 to equal 14 charters. I'm using this: if the number of char of tVar < 14 then (I need to add spaces to equal 14 char) Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From bnz2 at cdc.gov Thu Aug 25 11:18:09 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 25 Aug 2005 11:18:09 -0400 Subject: len of field Message-ID: <64878EF567131D4596246171F75FD4A99681C1@m-epo-1.epo.cdc.gov> Repeat 14-(the number of characters in tVar) times Put space before tVar End repeat -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Paul Salyers Sent: Thursday, August 25, 2005 11:12 AM To: use-revolution at lists.runrev.com Subject: len of field Dear Programmers, I need to find out how to add spaces to a field length if the number of characters are less than 14 to equal 14 charters. I'm using this: if the number of char of tVar < 14 then (I need to add spaces to equal 14 char) Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From rrevolution at softhome.net Thu Aug 25 11:18:27 2005 From: rrevolution at softhome.net (rrevolution at softhome.net) Date: Thu, 25 Aug 2005 18:18:27 +0300 Subject: dabase : display table Message-ID: <101545401.20050825181827@softhome.net> Hi, sorry, I'm new to RR. Sounds a stupid question : how do I display what's in a table (I know, sql statement), and where to display it ? (Table field) Want to put in on a button mouseup event. 10x regards, A.C. From klaus at major-k.de Thu Aug 25 11:19:44 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 25 Aug 2005 17:19:44 +0200 Subject: len of field In-Reply-To: <6.1.1.1.2.20050825100537.02528dc8@softseven.org> References: <6.1.1.1.2.20050825100537.02528dc8@softseven.org> Message-ID: <562C0717-BA2A-4A7D-B346-C76E09D1EDA3@major-k.de> Hi Paul, > Dear Programmers, > > I need to find out how to add spaces to a field length if the > number of characters are less than 14 to equal 14 charters. > > I'm using this: > > if the number of char of tVar < 14 then (I need to add spaces to > equal 14 char) if the number of chars of tVar < 14 then put 14 - the num of chars of tVar into num_o_repeats repeat num_o_repeats put " " after tVar ## or ...after field xyz end repeat end if > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > Http://ps1.SoftSeven.org Regards Klaus Major klaus at major-k.de http://www.major-k.de From eric.chatonet at sosmartsoftware.com Thu Aug 25 11:25:46 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 25 Aug 2005 17:25:46 +0200 Subject: len of field In-Reply-To: <6.1.1.1.2.20050825100537.02528dc8@softseven.org> References: <6.1.1.1.2.20050825100537.02528dc8@softseven.org> Message-ID: <068C3601-A474-49A5-A4D7-D62B77D9ABF2@sosmartsoftware.com> Hi Paul, repeat until the number of chars of tVar = 14 put space after tVar end repeat or by building a function you can use elsewhere with any number of chars: put Extent(tVar,14) into fld "MyField" function Extent pString,pNumOfChars repeat until the number of chars of pString = pNumOfChars put space after pString end repeat return pString end Extent The last method is better: always think you want be able to reuse the code you write :-) Le 25 ao?t 05 ? 17:11, Paul Salyers a ?crit : > I need to find out how to add spaces to a field length if the > number of characters are less than 14 to equal 14 charters. > > I'm using this: > > if the number of char of tVar < 14 then (I need to add spaces to > equal 14 char) Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From bnz2 at cdc.gov Thu Aug 25 11:24:47 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 25 Aug 2005 11:24:47 -0400 Subject: len of field Message-ID: <64878EF567131D4596246171F75FD4A99681C2@m-epo-1.epo.cdc.gov> Or, if you want the spaces after the characters: Repeat 14-(the number of characters in tVar) times Put space after tVar End repeat Doing it this way, if the number of characters in tVar >= 14, then the repeat loop just won't execute, and tVar will not be touched. If the number of characters in tVar < 14, then the repeat loop will execute, and add in the correct number of spaces. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Lynch, Jonathan Sent: Thursday, August 25, 2005 11:18 AM To: How to use Revolution Subject: RE: len of field -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Paul Salyers Sent: Thursday, August 25, 2005 11:12 AM To: use-revolution at lists.runrev.com Subject: len of field Dear Programmers, I need to find out how to add spaces to a field length if the number of characters are less than 14 to equal 14 charters. I'm using this: if the number of char of tVar < 14 then (I need to add spaces to equal 14 char) Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bnz2 at cdc.gov Thu Aug 25 11:29:36 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 25 Aug 2005 11:29:36 -0400 Subject: len of field Message-ID: <64878EF567131D4596246171F75FD4A99681C3@m-epo-1.epo.cdc.gov> There is a danger to this method: repeat until the number of chars of tVar = 14 put space after tVar end repeat if tVar happens to be 15 or greater, it will repeat forever. Perhaps use tVar >= 14 ? Not that speed is an issue with this example, but with using method it requires checking the number of characters in tVar for every pass. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Eric Chatonet Sent: Thursday, August 25, 2005 11:26 AM To: How to use Revolution Subject: Re: len of field Hi Paul, repeat until the number of chars of tVar = 14 put space after tVar end repeat or by building a function you can use elsewhere with any number of chars: put Extent(tVar,14) into fld "MyField" function Extent pString,pNumOfChars repeat until the number of chars of pString = pNumOfChars put space after pString end repeat return pString end Extent The last method is better: always think you want be able to reuse the code you write :-) Le 25 ao?t 05 ? 17:11, Paul Salyers a ?crit : > I need to find out how to add spaces to a field length if the > number of characters are less than 14 to equal 14 charters. > > I'm using this: > > if the number of char of tVar < 14 then (I need to add spaces to > equal 14 char) Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Thu Aug 25 11:35:05 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 25 Aug 2005 17:35:05 +0200 Subject: len of field In-Reply-To: <64878EF567131D4596246171F75FD4A99681C3@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A99681C3@m-epo-1.epo.cdc.gov> Message-ID: Hi Jonathan, You are right but I assumed that the condition (the only thing that Paul mentioned) would be included if needed :-) Best. Le 25 ao?t 05 ? 17:29, Lynch, Jonathan a ?crit : > There is a danger to this method: > > repeat until the number of chars of tVar = 14 > put space after tVar > end repeat > > > if tVar happens to be 15 or greater, it will repeat forever. > Perhaps use tVar >= 14 ? > > Not that speed is an issue with this example, but with using method > it requires checking the number of characters in tVar for every pass. > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use- > revolution-bounces at lists.runrev.com] On Behalf Of Eric Chatonet > Sent: Thursday, August 25, 2005 11:26 AM > To: How to use Revolution > Subject: Re: len of field > > Hi Paul, > > repeat until the number of chars of tVar = 14 > put space after tVar > end repeat > > or by building a function you can use elsewhere with any number of > chars: > > put Extent(tVar,14) into fld "MyField" > > function Extent pString,pNumOfChars > repeat until the number of chars of pString = pNumOfChars > put space after pString > end repeat > return pString > end Extent > > The last method is better: always think you want be able to reuse the > code you write :-) > > Le 25 ao?t 05 ? 17:11, Paul Salyers a ?crit : > > >> I need to find out how to add spaces to a field length if the >> number of characters are less than 14 to equal 14 charters. >> >> I'm using this: >> >> if the number of char of tVar < 14 then (I need to add spaces to >> equal 14 char) >> > > Best Regards from Paris, > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > > Free plugins and tutorials on my website > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From bnz2 at cdc.gov Thu Aug 25 11:34:13 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 25 Aug 2005 11:34:13 -0400 Subject: len of field Message-ID: <64878EF567131D4596246171F75FD4A99681C4@m-epo-1.epo.cdc.gov> Here is a single line method: Put Characters 1 to 14 of (tVar & " ") into tVar This has a difference, however. It automatically removes all the characters in tVar past character 14. Perhaps that is preferable? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Lynch, Jonathan Sent: Thursday, August 25, 2005 11:30 AM To: How to use Revolution Subject: RE: len of field There is a danger to this method: repeat until the number of chars of tVar = 14 put space after tVar end repeat if tVar happens to be 15 or greater, it will repeat forever. Perhaps use tVar >= 14 ? Not that speed is an issue with this example, but with using method it requires checking the number of characters in tVar for every pass. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Eric Chatonet Sent: Thursday, August 25, 2005 11:26 AM To: How to use Revolution Subject: Re: len of field Hi Paul, repeat until the number of chars of tVar = 14 put space after tVar end repeat or by building a function you can use elsewhere with any number of chars: put Extent(tVar,14) into fld "MyField" function Extent pString,pNumOfChars repeat until the number of chars of pString = pNumOfChars put space after pString end repeat return pString end Extent The last method is better: always think you want be able to reuse the code you write :-) Le 25 ao?t 05 ? 17:11, Paul Salyers a ?crit : > I need to find out how to add spaces to a field length if the > number of characters are less than 14 to equal 14 charters. > > I'm using this: > > if the number of char of tVar < 14 then (I need to add spaces to > equal 14 char) Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From gcanyon at inspiredlogic.com Thu Aug 25 11:35:43 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Thu, 25 Aug 2005 08:35:43 -0700 Subject: searching all scripts in an application In-Reply-To: <430C915F.5090704@sover.net> References: <430C915F.5090704@sover.net> Message-ID: <803BA477-FBA5-482F-B6E1-B16102B7703F@inspiredlogic.com> On Aug 24, 2005, at 8:25 AM, Jon wrote: > Is there any easy way to find all occurrences of the word "Send" in > all scripts in a stack? This feels like a "me too," this late in the game, but I should point out that Navigator allows you to hilite any set of objects (or just one) and then search for objects with scripts that contain whatever text you like. Navigator bookmarks the found results, letting you then work with the objects you found. You can also search all the objects contained within the objects you select. So you can hilite a stack, search enclosed, and find all the objects anywhere in the stack with the word "send" in their script. Further, you can search by applying a test. When doing this, Navigator supplies the long id of each object in a variable "tID." So, suppose you wanted to find all buttons in a stack with a height other than 12. You could use this: word 1 of the long id of tID is "button" and the height of tID is not 12 Navigator would search all the objects in the stack, finding only objects where the above is true, and bookmark them. The latest update of Navigator has many new features. The web site hasn't been updated yet, but you can read about it in the About Box. Navigator 3.0b1 is available at: http://www.inspiredlogic.com/Navigator3b1.zip regards, geoff From bnz2 at cdc.gov Thu Aug 25 11:37:42 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 25 Aug 2005 11:37:42 -0400 Subject: len of field Message-ID: <64878EF567131D4596246171F75FD4A99681C6@m-epo-1.epo.cdc.gov> Sorry, not supposed to pluralize 'character': Put Character 1 to 14 of (tVar & " ") into tVar -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Lynch, Jonathan Sent: Thursday, August 25, 2005 11:34 AM To: How to use Revolution Subject: RE: len of field Here is a single line method: This has a difference, however. It automatically removes all the characters in tVar past character 14. Perhaps that is preferable? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Lynch, Jonathan Sent: Thursday, August 25, 2005 11:30 AM To: How to use Revolution Subject: RE: len of field There is a danger to this method: repeat until the number of chars of tVar = 14 put space after tVar end repeat if tVar happens to be 15 or greater, it will repeat forever. Perhaps use tVar >= 14 ? Not that speed is an issue with this example, but with using method it requires checking the number of characters in tVar for every pass. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Eric Chatonet Sent: Thursday, August 25, 2005 11:26 AM To: How to use Revolution Subject: Re: len of field Hi Paul, repeat until the number of chars of tVar = 14 put space after tVar end repeat or by building a function you can use elsewhere with any number of chars: put Extent(tVar,14) into fld "MyField" function Extent pString,pNumOfChars repeat until the number of chars of pString = pNumOfChars put space after pString end repeat return pString end Extent The last method is better: always think you want be able to reuse the code you write :-) Le 25 ao?t 05 ? 17:11, Paul Salyers a ?crit : > I need to find out how to add spaces to a field length if the > number of characters are less than 14 to equal 14 charters. > > I'm using this: > > if the number of char of tVar < 14 then (I need to add spaces to > equal 14 char) Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Thu Aug 25 12:32:09 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Aug 2005 09:32:09 -0700 Subject: len of field In-Reply-To: <64878EF567131D4596246171F75FD4A99681C6@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A99681C6@m-epo-1.epo.cdc.gov> Message-ID: <521857811.20050825093209@ahsoftware.net> Jonathan- Thursday, August 25, 2005, 8:37:42 AM, you wrote: > Put Character 1 to 14 of (tVar & " ") into tVar !!! That's getting filed in my scrapbook. Thanks. -- -Mark Wieder mwieder at ahsoftware.net From kray at sonsothunder.com Thu Aug 25 12:22:25 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 25 Aug 2005 11:22:25 -0500 Subject: write fails In-Reply-To: <64878EF567131D4596246171F75FD4A99681C0@m-epo-1.epo.cdc.gov> Message-ID: On 8/25/05 8:41 AM, "Lynch, Jonathan" wrote: > That makes sense. > > I have not tried it, but can one do the same thing by saying?: > > Put tNewText after URL tFileURL Yes, you can, but remember that URL is both a keyword and a function, and although it can work without parentheses for some file operations (like "into"), it doesn't work when using "after" or "before" without using parentheses, and can be touchy at other times. So I think we've been "getting away" with saying: put data into url "file:c:/my documents/test.txt" when we really should be saying: put data into url("file:c:/my documents/text.txt") For example, this will fail to compile: answer file "Get a file:" if it <> "" then put "hello" into url "file:"&it end if But this compiles fine: answer file "Get a file:" if it <> "" then put "file:" & it into tFile put "hello" into url tFile end if Better yet would be to use parentheses instead: answer file "Get a file:" if it <> "" then put "hello" into url("file:"&it) end if Just my 2 cents, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From mwieder at ahsoftware.net Thu Aug 25 12:35:48 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Aug 2005 09:35:48 -0700 Subject: Revolution under Ubuntu Linux? In-Reply-To: <001d01c5a976$07c80030$0201a8c0@john> References: <001d01c5a976$07c80030$0201a8c0@john> Message-ID: <382077597.20050825093548@ahsoftware.net> Bob- Thursday, August 25, 2005, 6:04:16 AM, you wrote: > Much to my surprise, I found RR to be more visually attractive under Ubuntu > Linux than under Windows! However, I have also tried running RR under other > (KDE) versions of Linux, but none of them are as visually attractive as > Ubuntu. Sorry I can't give you more technical tips at the moment. That was my impression, too, and I was also quite surprised. I'm more running the Gnome interface and I'm still getting used to it. Things aren't quite where I expect them to be in KDE, but once I got runrev installed into the proper directory it's been working fine. -- -Mark Wieder mwieder at ahsoftware.net From dburgun at dsl.pipex.com Thu Aug 25 12:35:50 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 25 Aug 2005 17:35:50 +0100 Subject: len of field In-Reply-To: <64878EF567131D4596246171F75FD4A99681C3@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A99681C3@m-epo-1.epo.cdc.gov> Message-ID: Here's my method! repeat while the length of myVar < 14 put space before myVar (or after) end repeat >There is a danger to this method: > >repeat until the number of chars of tVar = 14 > put space after tVar >end repeat > > >if tVar happens to be 15 or greater, it will repeat forever. Perhaps >use tVar >= 14 ? > >Not that speed is an issue with this example, but with using method >it requires checking the number of characters in tVar for every pass. > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Eric >Chatonet >Sent: Thursday, August 25, 2005 11:26 AM >To: How to use Revolution >Subject: Re: len of field > >Hi Paul, > >repeat until the number of chars of tVar = 14 > put space after tVar >end repeat > >or by building a function you can use elsewhere with any number of >chars: > >put Extent(tVar,14) into fld "MyField" > >function Extent pString,pNumOfChars > repeat until the number of chars of pString = pNumOfChars > put space after pString > end repeat > return pString >end Extent > >The last method is better: always think you want be able to reuse the >code you write :-) > >Le 25 ao?t 05 ? 17:11, Paul Salyers a ?crit : > >> I need to find out how to add spaces to a field length if the >> number of characters are less than 14 to equal 14 charters. >> >> I'm using this: >> >> if the number of char of tVar < 14 then (I need to add spaces to >> equal 14 char) > >Best Regards from Paris, > >Eric Chatonet. >---------------------------------------------------------------- >So Smart Software > >For institutions, companies and associations >Built-to-order applications: management, multimedia, internet, etc. >Windows, Mac OS and Linux... With the French touch > >Free plugins and tutorials on my website >---------------------------------------------------------------- >Web site http://www.sosmartsoftware.com/ >Email eric.chatonet at sosmartsoftware.com/ >Phone 33 (0)1 43 31 77 62 >Mobile 33 (0)6 20 74 50 86 >---------------------------------------------------------------- > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From bnz2 at cdc.gov Thu Aug 25 12:34:00 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 25 Aug 2005 12:34:00 -0400 Subject: write fails Message-ID: <64878EF567131D4596246171F75FD4A99681C7@m-epo-1.epo.cdc.gov> Thanks Ken! So, you could say: Put tMyText after URL(tFileURL) But, would this be just as good as opening a file for append, then adding information to that file? Basically, does the open/append/add method load the entire file into memory, then add the text, then write the new text back to disk? Does the put after URL method do that? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ken Ray Sent: Thursday, August 25, 2005 12:22 PM To: Use Revolution List Subject: Re: write fails On 8/25/05 8:41 AM, "Lynch, Jonathan" wrote: > That makes sense. > > I have not tried it, but can one do the same thing by saying?: > > Put tNewText after URL tFileURL Yes, you can, but remember that URL is both a keyword and a function, and although it can work without parentheses for some file operations (like "into"), it doesn't work when using "after" or "before" without using parentheses, and can be touchy at other times. So I think we've been "getting away" with saying: put data into url "file:c:/my documents/test.txt" when we really should be saying: put data into url("file:c:/my documents/text.txt") For example, this will fail to compile: answer file "Get a file:" if it <> "" then put "hello" into url "file:"&it end if But this compiles fine: answer file "Get a file:" if it <> "" then put "file:" & it into tFile put "hello" into url tFile end if Better yet would be to use parentheses instead: answer file "Get a file:" if it <> "" then put "hello" into url("file:"&it) end if Just my 2 cents, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From revolution at jaedworks.com Thu Aug 25 12:55:33 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Thu, 25 Aug 2005 09:55:33 -0700 Subject: write fails In-Reply-To: References: Message-ID: At 11:22 AM -0500 8/25/2005, Ken Ray wrote: >Yes, you can, but remember that URL is both a keyword and a function, and >although it can work without parentheses for some file operations (like >"into"), it doesn't work when using "after" or "before" without using >parentheses, and can be touchy at other times. > >So I think we've been "getting away" with saying: > > put data into url "file:c:/my documents/test.txt" > >when we really should be saying: > > put data into url("file:c:/my documents/text.txt") I'm afraid that's not right, Ken. URL isn't a function, and while your example will work, Rev might not always let you get away with leaving out the space after "URL". The reason you need to use parentheses in statements like get URL ("file:" & myURL) is that URL resolution comes before "&" when resolving expressions. (Ken can stop reading here, since he's an expert and knows what that implies, but for everyone else: ;-) If you write something like get URL "file:" & myURL the engine thinks you mean "get URL 'file:', then concatenate it to the variable 'myURL'". Since "file:" by itself isn't a valid URL, you don't get what you want. Adding the parentheses forces the engine to do the concatenation first, so you get the URL you're seeking. But in this case, the parentheses have nothing to do with a function call; they're there to straighten out the order in which the engine does the operations to get the final value of the expression, 'URL "file:" & myURL'. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From jbondy at sover.net Thu Aug 25 13:06:23 2005 From: jbondy at sover.net (Jon) Date: Thu, 25 Aug 2005 13:06:23 -0400 Subject: write fails In-Reply-To: References: <430DC301.70003@sover.net> Message-ID: <430DFA8F.1010403@sover.net> Excellent approach, Eric! Eric Chatonet wrote: > Hi Jon, > > I'm used to another method which works well for me: > > put "C:/RHOADS/EEOL2/Logs/log.txt" into tLogFilePath > put the date & " " & the long time & " " & m into tData > ----- > put url("file:" & tLogFilePath) into tLog > if tLog = empty then put tData into url("file:" & tLogFilePath) > else put tLog & cr & tData into url("file:" & tLogFilePath) > > The advantage is that Rev creates the file if it does not exists and > overwrites the previous file if it already exists. > If you want be compliant with Mac OS, add a fileType setting :-) > > Le 25 ao?t 05 ? 15:09, Jon a ?crit : > >> I'm trying to log activity to a file with what I thought was a >> simple approach: >> >> put the date & " " & the long time & " " & m & Return into s >> write s to file "C:/RHOADS/EEOL2/Logs/log.txt" at end >> >> The file is not created automatically; after creating the file >> manually, the file remains empty; the path was copy-and-pasted from >> Windows Explorer, so I know it is correct; the string "s" has >> reasonable contents as verified with the Variable Watcher; and there >> are no run-time errors. > > > Best Regards from Paris, > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > > Free plugins and tutorials on my website > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From alex at tweedly.net Thu Aug 25 13:39:07 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 25 Aug 2005 18:39:07 +0100 Subject: len of field In-Reply-To: <64878EF567131D4596246171F75FD4A99681C4@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A99681C4@m-epo-1.epo.cdc.gov> Message-ID: <430E023B.5020406@tweedly.net> Lynch, Jonathan wrote: >Here is a single line method: > >Put Characters 1 to 14 of (tVar & " ") into tVar > > >This has a difference, however. It automatically removes all the characters in tVar past character 14. Perhaps that is preferable? > > It probably is preferable. If it's not, use put char len(tVar)+1 to 14 of " " after tVar (make sure you have at least 14 spaces - more doesn't hurt you could use "... to -1" - but "... to 14" makes it more self-documenting :-) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: 23/08/2005 From rjb at robelko.com Thu Aug 25 13:03:22 2005 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 25 Aug 2005 19:03:22 +0200 Subject: write fails In-Reply-To: <64878EF567131D4596246171F75FD4A99681C7@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A99681C7@m-epo-1.epo.cdc.gov> Message-ID: >Thanks Ken! > >So, you could say: > >Put tMyText after URL(tFileURL) > >But, would this be just as good as opening a file for append, then >adding information to that file? > >Basically, does the open/append/add method load the entire file into >memory, then add the text, then write the new text back to disk? Does >the put after URL method do that? I haven't done any testing with newer versions of Rev but I investigated this a couple years ago when adding a logging function to my web cgi. Using the open for append/write/close was determined to be somewhat more efficient than the url method (and confirmed by Scott Raney at that time). Robert From warren at howsoft.com Thu Aug 25 13:49:49 2005 From: warren at howsoft.com (Bob Warren) Date: Thu, 25 Aug 2005 14:49:49 -0300 Subject: Revolution under Ubuntu Linux? Message-ID: <013a01c5a99d$9255e6f0$0201a8c0@john> Mark: Is there a "proper" directory for "installing" RR? Since I am a total beginner in Linux, perhaps I need to know more about that. Upon expanding it, I just copied the whole folder to the desktop. Then I set up the association between Rev stacks and the Rev IDE binary - "Bob's your uncle" if you'll excuse the pun. But perhaps you're talking about how to get Rev to appear in the menus - I ain't got that far yet! Bob >Bob- >Thursday, August 25, 2005, 6:04:16 AM, you wrote: >> Much to my surprise, I found RR to be more visually attractive under Ubuntu >> Linux than under Windows! However, I have also tried running RR under other >> (KDE) versions of Linux, but none of them are as visually attractive as >> Ubuntu. Sorry I can't give you more technical tips at the moment. >That was my impression, too, and I was also quite surprised. I'm more >running the Gnome interface and I'm still getting used to it. Things >aren't quite where I expect them to be in KDE, but once I got runrev >installed into the proper directory it's been working fine. >-- >-Mark Wieder > mwieder at ahsoftware.net From revdan at danshafer.com Thu Aug 25 13:51:25 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 25 Aug 2005 10:51:25 -0700 Subject: FTP Upload Does Not Work? In-Reply-To: <42E8AD580007E794@mk-cpfrontend-2.mail.uk.tiscali.com> References: <42E8AD580007E794@mk-cpfrontend-2.mail.uk.tiscali.com> Message-ID: You don't indicate which platform this happens on but one issue I've seen on OS X is that if the standalone ends up in a Package file and the text file is in the same package, it isn't always seen by the OS as being in the same folder as the standalone. You have to get the standalone settings right to get this kind of thing to work, methinks. On Aug 19, 2005, at 6:20 PM, Andrew Tarrant wrote: > Hi, Here's my problem, > > I created a button, edited the script for the button and added the > folowing > code: > > on mouseUp > > libURLftpUploadFile "testfile.txt",\ > "ftp://Username:Password at ftp.mydomain.com/MyFolder" > > > > > end mouseUp > > Now, I create a standalone program of it, with the file > "testfile.txt" inside > the same folder as the program. > > Go to run it, click the button, go to login at my ftp, and nothing > has been > uploaded, why is this? > > ----- > > Best Regards, > > Andrew Tarrant > telecombrokers at tiscali.co.uk > (Optional Email Address) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From mark at maseurope.net Thu Aug 25 13:57:44 2005 From: mark at maseurope.net (Mark Smith) Date: Thu, 25 Aug 2005 18:57:44 +0100 Subject: SMS mobile messages In-Reply-To: <430DD3A7.9060509@dreamscapesoftware.com> References: <4FDD795C-A379-4129-8769-F43B34B3A1DE@mac.com> <430DD3A7.9060509@dreamscapesoftware.com> Message-ID: <37a1d7fa94f75f930bde63a1fbfbd284@maseurope.net> I use an sms service as well, with an html interface. My handler for it is : function sendSmsMsg smsText,phoneNumber put "http://gw1.sms2email.com/sms/postmsg.php? to_num=pNum&message=msgText&flash=1&username=MyUserName&password=MyPassw ord" into smsAddr put smsAddr into theMessage if smsText is empty then return "No message" if not isNumber(phoneNumber) then return "Invalid number" -- only digits allowed replace "msgText" with prepSms(smsText) in theMessage replace "pNum" with phoneNumber in theMessage get URL theMessage if it is "AQSMS-OK" then -- the string returned by the service if it succeeds put "OK" into theSent else put "! not" into theSent end if return theSent && "sent" && the short system date && the time end sendSmsMsg function prepSMS smsText put URLEncode(aMsg) into nMsg return char 1 to 160 of nMsg end prepSMS On 25 Aug 2005, at 15:20, Derek Bump wrote: > rsarabia wrote: >> Have any one of you experience, sending SMS mobile message from Rev?, >> like Apple OS X Agenda can. > > Well, I don't know how Agenda does it because I don't have MacOS X. > But I do know that most mobile services allow you to send SMS messages > by sending an email to the phone. It also works the same if you want > to send a photo to the phone. > > Example: 5551239876 at cingular.com > > Now this is all completely dependent on the service, which makes it > especially difficult since number portability is now possible. What > this means is that there is no way to determine from the number what > cell phone provider they have. > > > Derek Bump > Dreamscape Software > _______________________________________________ > Compress Images Easily with JPEGCompress > http://www.dreamscapesoftware.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mark at maseurope.net Thu Aug 25 13:59:23 2005 From: mark at maseurope.net (Mark Smith) Date: Thu, 25 Aug 2005 18:59:23 +0100 Subject: Problem with Set Script in Compiled App In-Reply-To: References: <430C5279.6010003@fourthworld.com> <430CA3EF.1050605@fourthworld.com> <430CB8E4.8000400@fourthworld.com> Message-ID: <495038429aa5ac9902b81802d0b6a0ec@maseurope.net> Thanks, I thought I was about to discover that my tiny knowledge of other programming paradigms was even smaller than I thought! But in that case, surely the script limits should not come into play? Mark On 25 Aug 2005, at 13:36, David Burgun wrote: >> This is of no help, but I'm curious and ignorant... >> >> What language/IDE are you using that enables you to export source >> code from an executable, and re-insert it (compiled?) to the same >> executable? >> >> I may have misunderstood the issue... >> >> Mark > > Not from an executable, from the source stacks, it just exports the > scripts of a stack file (.rev) into seperate files and then imports > them back into another Stack file. > > All the Best > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com From revolution at derbrill.de Thu Aug 25 13:59:14 2005 From: revolution at derbrill.de (Malte Brill) Date: Thu, 25 Aug 2005 19:59:14 +0200 Subject: [ANN] ArcadeEngine updated In-Reply-To: <20050825170004.9DF92825270@mail.runrev.com> Message-ID: Hi all, I almost forgot to announce this. ArcadeEngine has been updated yesterday. The current version is 1.0.1 You can get it here: http://www.runrev.com/section/revselect/arcadeengine/downloads/ Arcade_Engine_1.0.1.zip This is a maintenance release, free for all existing customers. Changes to 1.0 and bugs fixed: AE-Bug: AE opening credits and docs won't go away! - fixed changed mode of the stack from palette to toplevel with cantModify set to true on users request. See http://derbrill.com/arcadeengine/forum/viewtopic.php?t=13 for details. AE-Bug: Some functions break when renaming ArcadeEngine - fixed It is now possible to rename ArcadeEngine when your stack carries it as a substack. Even though it is possible it is not recommended to do so. Getting started Bug: No handles on sliders in "getting started" demos? - Not an AE bug! This is a Revolution bug: See http://support.runrev.com/bugdatabase/show_bug.cgi?id=3024 Workaround: Change the look and feel. Pending bugs: None New functions: findPreciseAngle() Added on user request. Syntax is the same as findAngle() but it doesn?t round the returned value. findPreciseAngleX() Added on user request. Syntax is the same as findAngleX() but it doesn?t round the returned value. All the best, Malte PS: If you have the time check the latest tutorial I wrote. It shows the disadvantages of using .gif images and how to mimic animated gif behaviour with a series of png images. You find it in my userspace on RevOnline (malte) or here: http://www.derbrill.de/revstack/pngvsgif.rev.zip or in the messagebox: go stack URL "http://www.derbrill.de/revstack/pngvsgif.rev" ------------------------------------------------------------------------ ------------ ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum http://www.derbrill.de From rp011s7075 at blueyonder.co.uk Thu Aug 25 14:11:42 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Thu, 25 Aug 2005 19:11:42 +0100 Subject: len of field Message-ID: Hello Eric, repeat until the number of chars of tVar = 14 put space after tVar end repeat This is better, indeed ;-). I still need to loose some habits taken with other languages! Marielle ------------------------------------------------------------------------ --- Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From rp011s7075 at blueyonder.co.uk Thu Aug 25 14:12:21 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Thu, 25 Aug 2005 19:12:21 +0100 Subject: [FR] [EN] Arcade engine (Was: Re: Dreamcard Player musing (the Sequel, I)) Message-ID: Hello Dom, Sur ceci: > Le probl?me ?tant que les autres icones, euh, voitures, conduisent > soit > bien trop lentement, soit bien trop mal ;-> > D'ou collision (et d?tecter la collision par script) et p?nalit?. > Il ne faut pas quitter la route, non plus ; mais celle-ci est toute > droite ! > Il y qqes liens dans le revolution-education wiki vers du code pour d?tection de collision / A few links on code for collision d?tection at: http://revolution.lexicall.org/wiki/tiki-index.php? page=TechniquesGamesPhysics Not really related, the latest more important addition to the wiki is a page on visual programming languages, with plenty of links to open source code: http://revolution.lexicall.org/wiki/tiki-index.php? page=TechniquesVisualProgramming (I did a bit of homework for the following project: http://revolution.lexicall.org/projects/overview/ ) The most important doesn't mean the only one. If use your login, you may discover that more than 100 pages have been changed since your last visit. Best wishes, Marielle ------------------------------------------------------------------------ -------------------------------- Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From bnz2 at cdc.gov Thu Aug 25 14:10:21 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 25 Aug 2005 14:10:21 -0400 Subject: len of field Message-ID: <64878EF567131D4596246171F75FD4A99681C9@m-epo-1.epo.cdc.gov> Alex suggested: put char len(tVar)+1 to 14 of " " after tVar Clever, Alex! I was looking for a phraseology to do just this thing - thanks. -----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, August 25, 2005 1:39 PM To: How to use Revolution Subject: Re: len of field Lynch, Jonathan wrote: >Here is a single line method: > >Put Characters 1 to 14 of (tVar & " ") into tVar > > >This has a difference, however. It automatically removes all the characters in tVar past character 14. Perhaps that is preferable? > > It probably is preferable. If it's not, use put char len(tVar)+1 to 14 of " " after tVar (make sure you have at least 14 spaces - more doesn't hurt you could use "... to -1" - but "... to 14" makes it more self-documenting :-) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: 23/08/2005 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Thu Aug 25 14:12:10 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Thu, 25 Aug 2005 11:12:10 -0700 Subject: SMS mobile messages In-Reply-To: <430DD3A7.9060509@dreamscapesoftware.com> References: <4FDD795C-A379-4129-8769-F43B34B3A1DE@mac.com> <430DD3A7.9060509@dreamscapesoftware.com> Message-ID: one way is to have them send you an email message or attachment from the phone, which will give you the number and domain. >Now this is all completely dependent on the service, which makes it >especially difficult since number portability is now possible. What >this means is that there is no way to determine from the number what >cell phone provider they have. > >Derek Bump From kray at sonsothunder.com Thu Aug 25 14:18:41 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 25 Aug 2005 13:18:41 -0500 Subject: write fails In-Reply-To: Message-ID: On 8/25/05 11:55 AM, "Jeanne A. E. DeVoto" wrote: > At 11:22 AM -0500 8/25/2005, Ken Ray wrote: >> Yes, you can, but remember that URL is both a keyword and a function, and >> although it can work without parentheses for some file operations (like >> "into"), it doesn't work when using "after" or "before" without using >> parentheses, and can be touchy at other times. >> >> So I think we've been "getting away" with saying: >> >> put data into url "file:c:/my documents/test.txt" >> >> when we really should be saying: >> >> put data into url("file:c:/my documents/text.txt") > > I'm afraid that's not right, Ken. URL isn't a function, and while > your example will work, Rev might not always let you get away with > leaving out the space after "URL". > > The reason you need to use parentheses in statements like > get URL ("file:" & myURL) > is that URL resolution comes before "&" when resolving expressions. > (Ken can stop reading here, since he's an expert and knows what that > implies, but for everyone else: ;-) Thanks for the correction, Jeanne... I think what threw me is that apparently the engine doesn't require there to be a space after keywords where there is something to evaluate that follows. So what appeared to me as a function: put URL("file:" & myURL) was really something that Rev was allowing me to construct. I tested this with the "while" keyword, and it turns out that this is perfectly valid: put 1 into x repeat while(x+1) < 10 put x after msg add 1 to x end repeat ... as is this using the keyword "word": on mouseUp put 1 into x put word(x+1) of "This is a test" end mouseUp Although this is consistent, it still *looks* wrong to me... it looks like "while" and "word" are functions in the example above. Is it just me, or is this a bug that has been in the engine for a long time? Just curious, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From revolution at derbrill.de Thu Aug 25 14:18:09 2005 From: revolution at derbrill.de (Malte Brill) Date: Thu, 25 Aug 2005 20:18:09 +0200 Subject: [FR] [EN] Arcade engine (Was: Re: Dreamcard Player musing (the Sequel, I)) In-Reply-To: <20050825170004.9DF92825270@mail.runrev.com> Message-ID: <971E4E12-1594-11DA-81C7-0030659A795C@derbrill.de> Hi Marielle and Dom. (I switch to english only mode, because my french is not good enough) http://revolution.lexicall.org/wiki/tiki-index.php? page=TechniquesGamesPhysics A very interesting read. :-) In arcadeEngine, besides other functions, you have access to the following collision-detection functions circle-circle collisions circle-line collisions pixel precise collisions for images It also allows to move your objects asynchronously (each object with a different speed and path, all under scripted control) on -linear paths -polygonal paths -circular paths -elliptical paths Here is a mini tutorial for detecting circle-polygon collisions: http://derbrill.com/arcadeengine/forum/viewtopic.php?t=12 All the best, Malte ------------------------------------------------------------------------ ------------ ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum http://www.derbrill.de From revolution at jaedworks.com Thu Aug 25 14:37:02 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Thu, 25 Aug 2005 11:37:02 -0700 Subject: write fails In-Reply-To: References: Message-ID: At 1:18 PM -0500 8/25/2005, Ken Ray wrote: >apparently the engine doesn't require there to be a space after keywords >where there is something to evaluate that follows. [...] > repeat while(x+1) < 10 > put word(x+1) of "This is a test" > >Although this is consistent, it still *looks* wrong to me... it looks like >"while" and "word" are functions in the example above. Is it just me, or is >this a bug that has been in the engine for a long time? Well, it's been in the engine a long time. I'm not sure I'd categorize it as a bug, per se... more of a "forgiveness" feature of the parser. This kind of forgiveness appears in other areas too - for example, you can write "firstVar&&secondVar" with no spaces, or "get rect of field 1" (with no "the") and it will work. I think the upside is that the syntax is a little looser, but the downside is that someone may get used to an erroneous way of writing code, only to get into trouble if it gets tightened up down the line.... -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From dburgun at dsl.pipex.com Thu Aug 25 14:40:53 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Thu, 25 Aug 2005 19:40:53 +0100 Subject: Debugger Trouble! In-Reply-To: References: Message-ID: Hi, The debugger has suddenly stopped stopping on breakpoints! It doesn't stop even if I hard code a "breakpoint" into the script! What is the probably cause of this and how can I get the debugger to stop on breakpoints? Also I have a sub-stack called log which I use to dump messages into while debugging (since I can't get the debugger to work properly). I call a function that does this: function dump theString start using stack "Log" put theString after field 1 of stack "Log" return true end dump But this seems to cause RunRev to freeze up. Any ideas on what could be going wrong and how to implement a debugging log would also be greatly appreciated. All the Best Dave From bnz2 at cdc.gov Thu Aug 25 15:08:50 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 25 Aug 2005 15:08:50 -0400 Subject: write fails Message-ID: <64878EF567131D4596246171F75FD4A99681CA@m-epo-1.epo.cdc.gov> Thanks, That makes sense, if appending is just adding on to the end of the file on the disk, and not bothering to load the file up into memory. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Robert Brenstein Sent: Thursday, August 25, 2005 1:03 PM To: How to use Revolution Subject: RE: write fails >Thanks Ken! > >So, you could say: > >Put tMyText after URL(tFileURL) > >But, would this be just as good as opening a file for append, then >adding information to that file? > >Basically, does the open/append/add method load the entire file into >memory, then add the text, then write the new text back to disk? Does >the put after URL method do that? I haven't done any testing with newer versions of Rev but I investigated this a couple years ago when adding a logging function to my web cgi. Using the open for append/write/close was determined to be somewhat more efficient than the url method (and confirmed by Scott Raney at that time). Robert _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From preid at reidit.co.uk Thu Aug 25 15:54:48 2005 From: preid at reidit.co.uk (Peter Reid) Date: Thu, 25 Aug 2005 20:54:48 +0100 Subject: Rev On Top? In-Reply-To: References: Message-ID: Thanks to everyone for their suggestions. Here's what I've found: 1) If you use the SystemWindow property, then the Rev window stays on top at all times, it doesn't just pop to the top - this was too much for my particular purpose on this occasion. 2) Using AppleScript, you can tell an application such as FileMaker Pro to hide itself: tell application "Finder" set visible of application process "FileMaker" to false end tell 3) Using AppleScript, you can tell an application to activate itself and come to the top at this moment (but not permanently): tell application "MyApp" activate end tell I found the best result was obtained by using both solutions 2) and 3) above, i.e. tell FileMaker Pro to hide itself and then tell my Rev app to pop to the top so it came in front of any open Finder windows. If I only hide FMPro, then I find my Rev app can be behind Finder windows. If I only bring my app to the top, there's a chance that the FMPro windows can still appear in front! Thanks again. 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 jbv.silences at Club-Internet.fr Thu Aug 25 16:08:31 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Thu, 25 Aug 2005 22:08:31 +0200 Subject: Rev cgi & PHP - new question (shell command) Message-ID: <430E2533.946243D7@Club-Internet.fr> OK folks, as I haven't got a single answer to my question posted yesterday, I'll try a new approach : in Linux, what is the shell command to launch a php script ? Thanks, JB From alex at tweedly.net Thu Aug 25 16:19:02 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 25 Aug 2005 21:19:02 +0100 Subject: Rev cgi & PHP - new question (shell command) In-Reply-To: <430E2533.946243D7@Club-Internet.fr> References: <430E2533.946243D7@Club-Internet.fr> Message-ID: <430E27B6.6040202@tweedly.net> jbv wrote: >OK folks, as I haven't got a single answer to my >question posted yesterday, I'll try a new approach : >in Linux, what is the shell command to launch a >php script ? > > With a big, apologetic grin on my face, I'll say "php myscript.php" :-) But really, it depends on how you installed php and whether or not you added it (or its directory) to your PATH set up. If you didn't then you'd need to do something like /usr/local/bin/php myscript.php (that's for a standard PHP install - but some distros will put it in other places. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: 23/08/2005 From alex at tweedly.net Thu Aug 25 16:25:50 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 25 Aug 2005 21:25:50 +0100 Subject: Rev cgi & PHP - new question (shell command) In-Reply-To: <430E2533.946243D7@Club-Internet.fr> References: <430E2533.946243D7@Club-Internet.fr> Message-ID: <430E294E.4080805@tweedly.net> jbv wrote: >OK folks, as I haven't got a single answer to my >question posted yesterday, I'll try a new approach : > > I'll try ... >Hi folks, > >Here's another dumb Rev cgi question (my favourites) : > >how can I trigger a PHP script from a Rev cgi script ? >Both scripts will be on a Linux RH server and in the same >domain. > > Is that "both will be on a [i.e. the same] server" or "both [each] will be on a server [i.e. could be two different ones] in the same domain" ? Is it a PHP script you will (or have already) written ? >Ideally, the Rev cgi script should pause while the php script >is running and then resume when the php script ends; and the >Rev cgi should be able to pass parameters to the php script >(although I guess this can be done via a temp txt file)... > >What is the best Transcript approach to do that : > - get URL ? > - "open process" + "wait until the openprocesses is empty" ? > - other ? > > If they are on same machine, you could simply run it via shell or open process. However, many PHP scripts will be already set up to get their parameters via URL options, so it may be easier to to do get URL ("http://the.other.server.thisdomain.com/phpscript?arg1=value&arg2=val") (watch out for quoting and urlencoding etc.) and this might be easier even if it is the same server. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: 23/08/2005 From jacque at hyperactivesw.com Thu Aug 25 16:28:10 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 25 Aug 2005 15:28:10 -0500 Subject: Debugger Trouble! In-Reply-To: References: Message-ID: <430E29DA.4090404@hyperactivesw.com> David Burgun wrote: > Hi, > > The debugger has suddenly stopped stopping on breakpoints! It doesn't > stop even if I hard code a "breakpoint" into the script! What is the > probably cause of this and how can I get the debugger to stop on > breakpoints? I have been struggling with the same thing. It is difficult to get around it. When a script contains two errors, the Rev debugger simply exits. The handler then runs to the end without stopping (or appears to) and no breakpoints are acknowledged. The exit behavior is there to prevent a recursive error dialog that you wouldn't be able to cancel -- so in a way, the current behavior is good. However, it does interfere with debugging. If I run the same script in MetaCard, which does not have this forced exit behavior, I do get a recursive error that freezes up the app and requires a force-quit. However in MetaCard I can usually debug right up to the first error condition so that at least I know where in the script I should be looking for a problem. Revolution exits earlier and its error dialog is often blank. MetaCard's error dialog contains relevant error messages, but flashes between the two so rapidly that they are hard to read, and of course, you can't fix the error until you have force-quit and relaunched. One thing you may be able to do, if your scripts are written in a way that supports it, is to comment out all handlers except for the immediate one you are testing. If that one runs okay, uncomment another one. Keep going till you can at least isolate the handler that has a problem. I see this most often if a handler with an error calls another handler that also has an error. For example: on test put "abc" into myString add 1 to mystring -- error condition get doSomething(myString) end test function doSomething aString add 2 to aString -- second error condition return aString end doSomething In this example, a breakpoint set in handler "test" will not break (if I have figured this out right, I'm still kind of hazy on exactly what makes the problem happen.) The handler will then run to the end using incorrect data, or will appear to run but not really produce anything. I'm still trying to pin this down exactly. These things are very difficult to debug. Your best bet may be to just examine the scripts carefully to see if you can spot either error condition and fix it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jbv.silences at Club-Internet.fr Thu Aug 25 16:51:04 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Thu, 25 Aug 2005 22:51:04 +0200 Subject: Rev cgi & PHP - new question (shell command) References: <430E2533.946243D7@Club-Internet.fr> <430E294E.4080805@tweedly.net> Message-ID: <430E2F2A.83F83F9E@Club-Internet.fr> Alex, > > If they are on same machine, you could simply run it via shell or open > process. > However, many PHP scripts will be already set up to get their parameters > via URL options, so it may be easier to to do > get URL > ("http://the.other.server.thisdomain.com/phpscript?arg1=value&arg2=val") > (watch out for quoting and urlencoding etc.) > and this might be easier even if it is the same server. > everything will be on the same machine, same domain. in the past I've tried to access various URLs through "get URL" but it never worked... could it be related to some firewall / server settings ? Thanks, JB From SimPLsol at aol.com Thu Aug 25 16:43:02 2005 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Thu, 25 Aug 2005 16:43:02 EDT Subject: Debugger Trouble! Message-ID: <62.5ba11a88.303f8756@aol.com> David, Depending on the script, you can also use the Message Box for pseudo debugging. In your script put something like this: script.... put "One" & someVariableToCheck wait 10 seconds script... script... put "Two" & someOtherVariable wait 10 seconds script... etc. This puts key variables and their location in the script in the Message Box as the script runs. If you read faster than I do, change 10 seconds to something less. Paul Looney From kray at sonsothunder.com Thu Aug 25 16:52:52 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 25 Aug 2005 15:52:52 -0500 Subject: dabase : display table In-Reply-To: <101545401.20050825181827@softhome.net> Message-ID: On 8/25/05 10:18 AM, "rrevolution at softhome.net" wrote: > Hi, > > sorry, I'm new to RR. > > Sounds a stupid question : > > how do I display what's in a table (I know, sql > statement), and where to display it ? (Table field) > Want to put in on a button mouseup event. You make a field that has multiple tabstops (columns), and then "put" the data from the query into it. HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jbv.silences at Club-Internet.fr Thu Aug 25 17:28:18 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Thu, 25 Aug 2005 23:28:18 +0200 Subject: YIPEE !!!!!! Rev cgi & PHP - new question (shell command) References: <430E2533.946243D7@Club-Internet.fr> <430E294E.4080805@tweedly.net> <430E2F2A.83F83F9E@Club-Internet.fr> Message-ID: <430E37F1.E3002AA5@Club-Internet.fr> I just managed to trigger a php script from Rev cgi using the shell command !!! I even sent myself an email (with the php mail command)... Most of you will probably think there's no reason to be so happy, but well, you, the first time, it's always like that... ;-) JB From bann at sunncomm.com Thu Aug 25 17:19:38 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Thu, 25 Aug 2005 14:19:38 -0700 Subject: How to set the startValue for the scrollbar of a GROUP Message-ID: Hello, Here is what i did: I created an imageHolder and then group it and give it a scrollbar to scroll the whole image (some image is long and some is short) by setting it from the properties inspector. I created several buttons to click to show different images by using this script: --Button1 set the fileName of image " imageHolder" to "pic_1.jpg" --Button2 set the fileName of image " imageHolder" to "pic_2.jpg" --and so on..... But the problem is when I clicked on button1 the pic_1.jpg showed up fine with the scrollbarThumb at the startvalue. Then I clicked on button2 to view the pic_2.jpg (longer than pic_1.jpg), it showed up fine and a longer scrollbarThumb because this pic is longer then the previous pic. Then I clicked on button1 to see the pic_1.jpg again, it showed up fine BUT the scrollbarThumb was NOT at it's startvalue, it was at the middle. How can I set it back to start value? I looked at the dictionary: I found this: set the startValue of scrollbar "Progress" to 1 but I don't know the name of the scrollbar. What I know is the name of the group. Could someone help me on this Thank you From jbv.silences at Club-Internet.fr Thu Aug 25 17:30:09 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Thu, 25 Aug 2005 23:30:09 +0200 Subject: YIPEE !!!!!! Rev cgi & PHP - new question (shell command) References: <430E2533.946243D7@Club-Internet.fr> <430E294E.4080805@tweedly.net> <430E2F2A.83F83F9E@Club-Internet.fr> <430E37F1.E3002AA5@Club-Internet.fr> Message-ID: <430E3860.C51FAB5A@Club-Internet.fr> Now I need to find how to pass parameters to the php script via the shell... any help will be apreciated... Thanks in advance, JB From gcsaba2 at freemail.hu Thu Aug 25 17:22:44 2005 From: gcsaba2 at freemail.hu (Gajo Csaba) Date: Thu, 25 Aug 2005 23:22:44 +0200 (CEST) Subject: Two very simple questions Message-ID: Hi, I have two simple questions about Revolution. 1) I'm in the process of developing an application. I put all the buttons, create a complex GUI, and write the Close button's script as close stack "myStack" OK, now I want to test if this really works. So I switch to the testing mode, and click on the Close button, and the stack closes. Fine, it works. But how can I bring it back??? Or maybe I've just lost all my work because I didn't save it to a file? 2) Did anyone else notice that when you put some code between /* */ then after that the editor will write EVERYTHING in purple, even stuff outside the comment signs, and even after you delete the comment signs? _______________________________________________________________________ [freemail] extra 1GB-os postafi?kkal, ?nnek m?r van? http://freemail.hu From bnz2 at cdc.gov Thu Aug 25 17:24:52 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 25 Aug 2005 17:24:52 -0400 Subject: Two very simple questions Message-ID: <64878EF567131D4596246171F75FD4A99681CB@m-epo-1.epo.cdc.gov> If you have not yet closed your IDE, then go into the application browser and see if your stack is still there. It should be, unless you set the destroywindow and destroystack properties of the stack to true. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Gajo Csaba Sent: Thursday, August 25, 2005 5:23 PM To: use-revolution at lists.runrev.com Subject: Two very simple questions Hi, I have two simple questions about Revolution. 1) I'm in the process of developing an application. I put all the buttons, create a complex GUI, and write the Close button's script as close stack "myStack" OK, now I want to test if this really works. So I switch to the testing mode, and click on the Close button, and the stack closes. Fine, it works. But how can I bring it back??? Or maybe I've just lost all my work because I didn't save it to a file? 2) Did anyone else notice that when you put some code between /* */ then after that the editor will write EVERYTHING in purple, even stuff outside the comment signs, and even after you delete the comment signs? _______________________________________________________________________ [freemail] extra 1GB-os postafi?kkal, ?nnek m?r van? http://freemail.hu _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Thu Aug 25 17:27:20 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Aug 2005 14:27:20 -0700 Subject: Revolution under Ubuntu Linux? In-Reply-To: <013a01c5a99d$9255e6f0$0201a8c0@john> References: <013a01c5a99d$9255e6f0$0201a8c0@john> Message-ID: <17919569178.20050825142720@ahsoftware.net> Bob- Thursday, August 25, 2005, 10:49:49 AM, you wrote: > Is there a "proper" directory for "installing" RR? Since I am a total > beginner in Linux, perhaps I need to know more about that. Upon expanding > it, I just copied the whole folder to the desktop. Then I set up the > association between Rev stacks and the Rev IDE binary - "Bob's your uncle" > if you'll excuse the pun. But perhaps you're talking about how to get Rev to > appear in the menus - I ain't got that far yet! Don't know. Glad that worked for you. I looked inside revolution.sh, saw that it wanted the executable file to be in the /Opt directory, so I stuck everything in there, made myself an alias link to the .sh file, put it on the desktop, and everything's been working ever since (a whole week now). I haven't figured out how to get it into the menu system, but that's no doubt my unfamiliarity with Gnome. -- -Mark Wieder mwieder at ahsoftware.net From revdan at danshafer.com Thu Aug 25 17:28:57 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 25 Aug 2005 14:28:57 -0700 Subject: [Slightly OT] Linspire Newsletter Discusses Linux Programming Obstacles Message-ID: <1C1BDFDF-12BC-4545-8F5B-8DC56A2C56B6@danshafer.com> I've been experimenting for the past year or so with Linspire, a desktop Linux distro that has taken a LOT of the pain and annoyance out of trying to be a Linux *user*. I get their newsletters in email. Today's by Tom Welch talked about the lack of usable drag-and-draw user interface IDEs for Linux coding. SO I posted a note on their discussion board about the subject, pointing out of course Rev (and, in the interest of fairness, RealBASIC). The article makes for an interesting read if you care about software development on Linux: http://www.linspire.com/ linspire_letter_archives.php?id=10 Also, I suspect one or more Linux mags might buy a review of Rev on Linux from someone more knowledgeable about Linux than I. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From mdswindell at charter.net Thu Aug 25 17:40:58 2005 From: mdswindell at charter.net (Mark Swindell) Date: Thu, 25 Aug 2005 14:40:58 -0700 Subject: How to set the startValue for the scrollbar of a GROUP In-Reply-To: References: Message-ID: On Aug 25, 2005, at 2:19 PM, Ban Nguyen wrote: > How can I set it back to start value? > > I looked at the dictionary: > > I found this: > > set the startValue of scrollbar "Progress" to 1 > > but I don't know the name of the scrollbar. What I know is the > name of > the group. > > Could someone help me on this You could do this: set the vscroll of grp myGroup to 1 set the hscroll of grp myGroup to 1 Mark From bann at sunncomm.com Thu Aug 25 17:48:20 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Thu, 25 Aug 2005 14:48:20 -0700 Subject: How to set the startValue for the scrollbar of a GROUP Message-ID: > How can I set it back to start value? > > I looked at the dictionary: > > I found this: > > set the startValue of scrollbar "Progress" to 1 > > but I don't know the name of the scrollbar. What I know is the > name of > the group. > > Could someone help me on this You could do this: set the vscroll of grp myGroup to 1 set the hscroll of grp myGroup to 1 Mark -------------------------------- Thanks Mark. It works. --------------------- From alex at tweedly.net Thu Aug 25 18:06:12 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 25 Aug 2005 23:06:12 +0100 Subject: YIPEE !!!!!! Rev cgi & PHP - new question (shell command) In-Reply-To: <430E3860.C51FAB5A@Club-Internet.fr> References: <430E2533.946243D7@Club-Internet.fr> <430E294E.4080805@tweedly.net> <430E2F2A.83F83F9E@Club-Internet.fr> <430E37F1.E3002AA5@Club-Internet.fr> <430E3860.C51FAB5A@Club-Internet.fr> Message-ID: <430E40D4.7060207@tweedly.net> jbv wrote: >Now I need to find how to pass parameters to the php >script via the shell... > >any help will be apreciated... > > Simply pass the arguments on the command line shell("php myscript.php alex tweedly") and in the php script they are available as the array $argv (the number of command lines arguments is available as $argc note the first one. $argv[0], will be the script name, subsequent ones $argv[1], $argv[2], etc. will be any arguments passed. You will perhaps need to use careful quoting to pass arguments containing space characters or other chars special to the unix shell. Depending on how your PHP was installed, there may be a special CLI (command line) version which provides additional methods to pass arguments (but they're not supported on Windows, so I don't know anything about them beyond the mention of the in the PHP manual). The PHP manual (from www.php.net/docs.php) is pretty good - contains some samples using these functions to get and manipulate the command line args [ btw - use "search" not the "index" of the docs (sound familiar :-) ? ] -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: 23/08/2005 From erikhans08 at yahoo.com Thu Aug 25 18:18:10 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Thu, 25 Aug 2005 15:18:10 -0700 (PDT) Subject: e: MIDI externals In-Reply-To: Message-ID: <20050825221810.41728.qmail@web33007.mail.mud.yahoo.com> have you checked these out? list Google: UDI eudio at chabashira.co.jp http://homepage.mac.com/udi/ ==== "Kurt Kaufman" who also has an app with Revolution. 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 gcsaba2 at freemail.hu Thu Aug 25 18:20:00 2005 From: gcsaba2 at freemail.hu (Gajo Csaba) Date: Fri, 26 Aug 2005 00:20:00 +0200 (CEST) Subject: Two very simple questions In-Reply-To: <64878EF567131D4596246171F75FD4A99681CB@m-epo-1.epo.cdc.gov> Message-ID: "Lynch, Jonathan" ?rta: > If you have not yet closed your IDE, then go into the application browser and see if your stack is still there. > > It should be, unless you set the destroywindow and destroystack properties of the stack to true. Ah yes, there it is. Aaargh, I have already re-made the whole GUI!! Well good thing I learned this now ;) _______________________________________________________________________ [freemail] extra 1GB-os postafi?kkal, ?nnek m?r van? http://freemail.hu From gcsaba2 at freemail.hu Thu Aug 25 18:24:40 2005 From: gcsaba2 at freemail.hu (Gajo Csaba) Date: Fri, 26 Aug 2005 00:24:40 +0200 (CEST) Subject: How to accept a drag&drop item? In-Reply-To: Message-ID: Hi, I was wondering if there's an easy solution to accepting dragged items that are coming from another application. Specifically, I have a browser window open, and from there I can drag the current link. If I drop it on the desktop, it will turn into a link to that page. And when it gets dropped on my application, I would like the URL to be displayed in a text field. Is there an easy way to do this? I'm guessing I would have to access some system properties because the link is coming from another application, OR....? I would be really surprised if someone would say that this can be done in 1-2 lines of code :) Thanks, Csaba _______________________________________________________________________ [freemail] extra 1GB-os postafi?kkal, ?nnek m?r van? http://freemail.hu From jbondy at sover.net Thu Aug 25 18:40:36 2005 From: jbondy at sover.net (Jon) Date: Thu, 25 Aug 2005 18:40:36 -0400 Subject: Rev disappears when PlugIn Settings is exited Message-ID: <430E48E4.5090108@sover.net> Recently, the following happens, repeatedly. I run Rev, open the Plugin Settings facility, close it, and then Rev immediately disappears. Sometimes the disappearing act happens only after I click on Rev, then on something else, and then back on Rev. In any event, Rev has become totally unreliable. This is with none of my own stacks open yet! I assume some Plugin is causing a problem. I tried to inspect each one, using the drop down list called Plugin on the Plugin Settings window. This turns out to be a pretty frustrating experience, for a number of reasons. One is that the drop down list only shows perhaps five Plugins, while I have 26 or so available. Another is that the position in the list is not "remembered", so one has to start from the top and drill down to the Plugin one is trying to explore next, rather than just pressing the key. Finally, the drop down list sits on top of the Send Messages To Plugin box, so I have clicked in that box accidentally more than once. At this point, I have no idea if the contents of this box are correct or not, so maybe that has contributed to the problem. I can remove all of the Plugins from the Plugin directory and then replace them one at a time. Short of that, any thoughts or recommendations? :) Jon From charles.hartman at conncoll.edu Thu Aug 25 19:05:35 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 25 Aug 2005 19:05:35 -0400 Subject: English Metrics tutorial available Message-ID: <0220313E-CF37-462C-89F9-96DEBC08498F@conncoll.edu> I suppose this subject-line looks pretty off-topic -- but the tutorial is a Dreamcard stack. This is an old DOS-and-then-Hypercard (so I mean old!) tutorial that I've finally gotten into DC. It offers no examples of elegant programming or design, but it does seem to work, and just ahead of the moment when all the students show up again. (It also embodies a quite old-fashioned version of the analysis of poetic meters, but for beginning students -- it works.) Download available at http://cherry.conncoll.edu/cohar/Programs.htm Charles Hartman From briany at qldlearning.com Thu Aug 25 19:08:43 2005 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 25 Aug 2005 16:08:43 -0700 Subject: How to accept a drag&drop item? In-Reply-To: References: Message-ID: <66c2c6b14930d03496129f0d860242d1@qldlearning.com> Csaba, Well, you can do it with two lines of code, or none =). If you use an unlocked text field, it just works by default. I drag a link from FireFox to an editable field, and the URL appears. If you have a different kind of object receiving the drag, you can do something like this: on dragEnter set the acceptDrop to TRUE end dragEnter on dragDrop put the dragData["text"] into fld "myURL" end dragDrop If you look in the docs under "dragDrop" and all of the related terms, it should spell things out quite nicely. - Brian From tsj at unimelb.edu.au Thu Aug 25 19:17:33 2005 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 26 Aug 2005 09:17:33 +1000 Subject: [OT] looking for obsolete Mac software In-Reply-To: <20050824203043.EEEE6825494@mail.runrev.com> References: <20050824203043.EEEE6825494@mail.runrev.com> Message-ID: <7001451dd490b5e6814dc417fab99b72@unimelb.edu.au> I've been asked to try and recover the data from a couple of files created (in the early 90s) with some long forgotten Mac software. All I've got to go on are the file types and creator codes (type MrBK creator MrBK; type MCDB creator FIL2). Is there a searchable database of types and creator codes out there somewhere? TIA 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 gcsaba2 at freemail.hu Thu Aug 25 19:18:07 2005 From: gcsaba2 at freemail.hu (Gajo Csaba) Date: Fri, 26 Aug 2005 01:18:07 +0200 (CEST) Subject: How to accept a drag&drop item? In-Reply-To: <66c2c6b14930d03496129f0d860242d1@qldlearning.com> Message-ID: Brian Yennie wrote: > Csaba, > > Well, you can do it with two lines of code, or none =). > > If you use an unlocked text field, it just works by default. I drag a > link from FireFox to an editable field, and the URL appears. WOW, I didn't know that! That's amaizing! It does work from FireFox, unfortunately it won't work when dragged from Opera.. oh well... > If you have a different kind of object receiving the drag, you can do > something like this: > > on dragEnter > set the acceptDrop to TRUE > end dragEnter > > on dragDrop > put the dragData["text"] into fld "myURL" > end dragDrop > > If you look in the docs under "dragDrop" and all of the related terms, > it should spell things out quite nicely. > > - Brian Thanks alot :) Csaba _______________________________________________________________________ [freemail] extra 1GB-os postafi?kkal, ?nnek m?r van? http://freemail.hu From jvickers2002 at hotmail.com Thu Aug 25 19:16:13 2005 From: jvickers2002 at hotmail.com (Jason Vickers) Date: Fri, 26 Aug 2005 07:16:13 +0800 Subject: Where to put the ( ) ? Message-ID: Hi all, I have a field with "list behavior" selected as a property. I want to be able to select the clickText and put it into a variable and simultaneously put the line number into a variable. The code for it is generating a compile error. When the card opens, I get the following error. compiling at 6:38:35 AM Type Function: missing '(' Object tests Line put the value of clickLine of field "tests" into txtLocation Hint There is no hint.... Here is the code for that: local txtLocation on mouseDown put the clickText into selectTest put the value of clickLine of field "tests" into txtLocation end mouseDown (Everything works when I build the standalone, but I still want to get rid of the error.) TIA, Jason From jvickers2002 at hotmail.com Thu Aug 25 19:21:11 2005 From: jvickers2002 at hotmail.com (Jason Vickers) Date: Fri, 26 Aug 2005 07:21:11 +0800 Subject: Two very simple questions References: Message-ID: I am having the same issue with all the text turning purple when I put /* */ in the code. Jason ----- Original Message ----- From: "Gajo Csaba" To: Sent: Friday, August 26, 2005 5:22 AM Subject: Two very simple questions Hi, I have two simple questions about Revolution. 1) I'm in the process of developing an application. I put all the buttons, create a complex GUI, and write the Close button's script as close stack "myStack" OK, now I want to test if this really works. So I switch to the testing mode, and click on the Close button, and the stack closes. Fine, it works. But how can I bring it back??? Or maybe I've just lost all my work because I didn't save it to a file? 2) Did anyone else notice that when you put some code between /* */ then after that the editor will write EVERYTHING in purple, even stuff outside the comment signs, and even after you delete the comment signs? _______________________________________________________________________ [freemail] extra 1GB-os postafi?kkal, ?nnek m?r van? http://freemail.hu _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From briany at qldlearning.com Thu Aug 25 19:21:30 2005 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 25 Aug 2005 16:21:30 -0700 Subject: How to accept a drag&drop item? In-Reply-To: References: Message-ID: <3b3fb262f756d1429580affad20c3e7f@qldlearning.com> > WOW, I didn't know that! That's amaizing! > It does work from FireFox, unfortunately it won't work when dragged > from Opera.. oh well... Try this: on dragDrop answer keys(the dragData) end dragDrop That should tell you what keys are available from Opera. I just used "text" as an example that worked with FireFox, but there may be smarter ways to find the URL content from different applications. FireFox, for example, gives me "text" and "unicode". HTH, Brian From briany at qldlearning.com Thu Aug 25 19:29:07 2005 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 25 Aug 2005 16:29:07 -0700 Subject: Two very simple questions In-Reply-To: References: Message-ID: <41b8b7387361f470c343e4d5ac0c78b0@qldlearning.com> That does sound like a bug, but if it helps Transcript also accept comments in the form ## this is a comment or -- this is a comment From the little I just played around, it looks like multiline comments sometimes confuse the script coloring, and possibly /* */ is less supported for single line comments as well. IIRC (and I might not), "--" is the original xTalk sytax, "##" is borrowed (or similar to) other scripting languages, and /* */ is more commonly found in lower-level languages (but acceptable in most high level ones too). Apparently Transcript has tried to keep everyone happy here, although it might have become a little odd to support 3 different comment syntaxes. - Brian > > I am having the same issue with all the text turning purple when I put > /* */ in the code. > > Jason > > ----- Original Message ----- From: "Gajo Csaba" > To: > Sent: Friday, August 26, 2005 5:22 AM > Subject: Two very simple questions > > > > > Hi, > I have two simple questions about Revolution. > > 1) I'm in the process of developing an application. I put all the > buttons, > create a complex GUI, and write the Close button's script as > > close stack "myStack" > > OK, now I want to test if this really works. So I switch to the testing > mode, and click on the Close button, and the stack closes. Fine, it > works. But how can I bring it back??? Or maybe I've just lost all my > work > because I didn't save it to a file? > > > 2) Did anyone else notice that when you put some code between /* */ > then after that the editor will write EVERYTHING in purple, even stuff > outside the comment signs, and even after you delete the comment > signs? > > _______________________________________________________________________ > [freemail] extra 1GB-os postafi?kkal, ?nnek m?r van? http://freemail.hu > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From rishi at puredata.com.au Thu Aug 25 19:28:53 2005 From: rishi at puredata.com.au (Rishi Viner) Date: Fri, 26 Aug 2005 09:28:53 +1000 Subject: Revolution under Ubuntu Linux? In-Reply-To: <17919569178.20050825142720@ahsoftware.net> References: <013a01c5a99d$9255e6f0$0201a8c0@john> <17919569178.20050825142720@ahsoftware.net> Message-ID: <200508260928.53484.rishi@puredata.com.au> Mark, > I haven't figured out how to get it into the menu system, but that's > no doubt my unfamiliarity with Gnome. Yeah, I had to build my own menu option as well. I use Suse with KDE so I right click on the KDE 'start' menu button, click "Menu Editor" then popped a new launcher into 'Development' / 'GUI Designer'. Looking on a few RedHat GNOME machines here it looks like you have to go to the 'System' menu, then 'Personal Settings' then 'Menus' and you get a kind of file manager approach to building your menus. Kind of sucks to have to build this yourself, but I guess it is a positive to get to put things where you want them..? Once there it has been quick and easy to use. One problem I have is that I can't get an icon for Rev to use in the menu. I had to pick a suitable generic icon. Might have to work out how to make my own icon or convert one of Rev's... Cheers, -- Rishi Viner PUREDATA Australia www.puredata.com.au From briany at qldlearning.com Thu Aug 25 19:31:44 2005 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 25 Aug 2005 16:31:44 -0700 Subject: Where to put the ( ) ? In-Reply-To: References: Message-ID: Jason, I believe you want: put the value of clickLine into txtLocation instead of: > put the value of clickLine of field "tests" into txtLocation Just like the clickText, you don't need the "of field" qualifier, as there is only one "clickLine" at a time. HTH, Brian From gcsaba2 at freemail.hu Thu Aug 25 19:34:08 2005 From: gcsaba2 at freemail.hu (Gajo Csaba) Date: Fri, 26 Aug 2005 01:34:08 +0200 (CEST) Subject: How to accept a drag&drop item? In-Reply-To: <3b3fb262f756d1429580affad20c3e7f@qldlearning.com> Message-ID: Brian Yennie wrote: > > WOW, I didn't know that! That's amaizing! > > It does work from FireFox, unfortunately it won't work when dragged > > from Opera.. oh well... > > Try this: > > on dragDrop > answer keys(the dragData) > end dragDrop > > That should tell you what keys are available from Opera. I just used > "text" as an example that worked with FireFox, but there may be smarter > ways to find the URL content from different applications. > > FireFox, for example, gives me "text" and "unicode". > Amaizing.. really, it was a long time ago since I was thrilled by how easily something this complex can be done. I dragged some text from MS Word and it displayed 3 types... >From Opera I cannot drag. It's not only my application, it seems it won't drag to anywhere else but to itself and the desktop. Even the taskbar is not allowed. But no worries, this is not a problem at all ;) Thanks alot for the help :) Csaba _______________________________________________________________________ [freemail] extra 1GB-os postafi?kkal, ?nnek m?r van? http://freemail.hu From jacque at hyperactivesw.com Thu Aug 25 19:36:23 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 25 Aug 2005 18:36:23 -0500 Subject: How to accept a drag&drop item? In-Reply-To: References: Message-ID: <430E55F7.9080001@hyperactivesw.com> Gajo Csaba wrote: > > Hi, > > I was wondering if there's an easy solution to accepting dragged items > that are coming from another application. Specifically, I have a browser > window open, and from there I can drag the current link. If I drop it on > the desktop, it will turn into a link to that page. > And when it gets dropped on my application, I would like the URL to be > displayed in a text field. > > Is there an easy way to do this? I'm guessing I would have to access > some system properties because the link is coming from another > application, OR....? I would be really surprised if someone would say > that this can be done in 1-2 lines of code :) Well, sort of. :) on dragEnter set the acceptdrop to true end dragEnter on dragDrop put the dragdata["text"] into me end dragDrop Put the above into the field that will display the link. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From got at mindspring.com Thu Aug 25 19:36:48 2005 From: got at mindspring.com (Gordon Tillman) Date: Thu, 25 Aug 2005 18:36:48 -0500 Subject: Revolution under Ubuntu Linux? In-Reply-To: <200508260928.53484.rishi@puredata.com.au> References: <013a01c5a99d$9255e6f0$0201a8c0@john> <17919569178.20050825142720@ahsoftware.net> <200508260928.53484.rishi@puredata.com.au> Message-ID: If you are using Ubuntu, I recommend you install the "Smeg" application, which is a nice graphical way to add and edit menu items. For an icon, just select the revapp.ico file in the Sample Icons folder. --gordon On Aug 25, 2005, at 18:28, Rishi Viner wrote: > Mark, > > >> I haven't figured out how to get it into the menu system, but that's >> no doubt my unfamiliarity with Gnome. >> > > Yeah, I had to build my own menu option as well. I use Suse with > KDE so I > right click on the KDE 'start' menu button, click "Menu Editor" > then popped a > new launcher into 'Development' / 'GUI Designer'. Looking on a few > RedHat > GNOME machines here it looks like you have to go to the 'System' > menu, then > 'Personal Settings' then 'Menus' and you get a kind of file manager > approach > to building your menus. > > Kind of sucks to have to build this yourself, but I guess it is a > positive to > get to put things where you want them..? Once there it has been > quick and > easy to use. > > One problem I have is that I can't get an icon for Rev to use in > the menu. I > had to pick a suitable generic icon. Might have to work out how to > make my > own icon or convert one of Rev's... > > Cheers, > > -- > Rishi Viner > PUREDATA > Australia > > www.puredata.com.au > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From charles.hartman at conncoll.edu Thu Aug 25 19:39:13 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 25 Aug 2005 19:39:13 -0400 Subject: Two very simple questions In-Reply-To: <41b8b7387361f470c343e4d5ac0c78b0@qldlearning.com> References: <41b8b7387361f470c343e4d5ac0c78b0@qldlearning.com> Message-ID: <4F3B2679-E471-414F-B044-6CEC434CAF89@conncoll.edu> Unfortunately *all* comment syntaxes (syntaces??) confuse Colorize in this way. Clicking on Script | Colorize always seems to fix it, but it's kind of annoying to have to do that. Charles On Aug 25, 2005, at 7:29 PM, Brian Yennie wrote: > That does sound like a bug, but if it helps Transcript also accept > comments in the form > > ## this is a comment > > or > > -- this is a comment > > From the little I just played around, it looks like multiline > comments sometimes confuse the script coloring, and possibly /* */ > is less supported for single line comments as well. > > IIRC (and I might not), "--" is the original xTalk sytax, "##" is > borrowed (or similar to) other scripting languages, and /* */ is > more commonly found in lower-level languages (but acceptable in > most high level ones too). > > Apparently Transcript has tried to keep everyone happy here, > although it might have become a little odd to support 3 different > comment syntaxes. > > - Brian From rishi at puredata.com.au Thu Aug 25 19:47:24 2005 From: rishi at puredata.com.au (Rishi Viner) Date: Fri, 26 Aug 2005 09:47:24 +1000 Subject: Revolution under Ubuntu Linux? In-Reply-To: References: <013a01c5a99d$9255e6f0$0201a8c0@john> <200508260928.53484.rishi@puredata.com.au> Message-ID: <200508260947.24730.rishi@puredata.com.au> Gordon, > For an icon, just select the revapp.ico file in the Sample Icons folder. Unfortunately KDE doesn't want to play with ico files, so I didn't use this. But, your post made me realise all I would have to do is convert the ico to png format and I would be able to use it fine. Well, I just tried this and now have a propper Rev icon at last! Should have done it ages ago... Thanks for the motivation boost, -- Rishi Viner PUREDATA Australia www.puredata.com.au From alex at tweedly.net Thu Aug 25 19:55:02 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 26 Aug 2005 00:55:02 +0100 Subject: Two very simple questions In-Reply-To: <4F3B2679-E471-414F-B044-6CEC434CAF89@conncoll.edu> References: <41b8b7387361f470c343e4d5ac0c78b0@qldlearning.com> <4F3B2679-E471-414F-B044-6CEC434CAF89@conncoll.edu> Message-ID: <430E5A56.30502@tweedly.net> Charles Hartman wrote: > Unfortunately *all* comment syntaxes (syntaces??) confuse Colorize in > this way. Clicking on Script | Colorize always seems to fix it, but > it's kind of annoying to have to do that. > Often that helps - but some of the /* */ variations confuse it even after Script / Colorize ... /**/ causes persistent problem /* */ ok after script / colorize /* */ ok /* **/ causes persistent problem, even after script / colorize BZ 2844 records the cases I found - if you have any additional ones, please add them to the BZ so the RR guys know about them. (Mine all involve the closing part of the comment delimiter having an extra "*" - i.e. ... **/ ) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: 23/08/2005 From got at mindspring.com Thu Aug 25 20:00:09 2005 From: got at mindspring.com (Gordon Tillman) Date: Thu, 25 Aug 2005 19:00:09 -0500 Subject: Revolution under Ubuntu Linux? In-Reply-To: <200508260947.24730.rishi@puredata.com.au> References: <013a01c5a99d$9255e6f0$0201a8c0@john> <200508260928.53484.rishi@puredata.com.au> <200508260947.24730.rishi@puredata.com.au> Message-ID: <187238A4-3837-4A63-9152-A53CF3AD84C9@mindspring.com> Anytime! :-) On Aug 25, 2005, at 18:47, Rishi Viner wrote: > Well, I just tried this and > now have a propper Rev icon at last! Should have done it ages > ago... Thanks > for the motivation boost, Regards, -g From alex at tweedly.net Thu Aug 25 20:04:15 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 26 Aug 2005 01:04:15 +0100 Subject: Where to put the ( ) ? In-Reply-To: References: Message-ID: <430E5C7F.5050308@tweedly.net> Jason Vickers wrote: >Hi all, >I have a field with "list behavior" selected as a property. I want to be able to select the clickText and put it into a variable and simultaneously put the line number into a variable. The code for it is generating a compile error. > >When the card opens, I get the following error. > >compiling at 6:38:35 AM >Type Function: missing '(' >Object tests >Line put the value of clickLine of field "tests" into txtLocation >Hint > >There is no hint.... > >Here is the code for that: > >local txtLocation >on mouseDown > put the clickText into selectTest > put the value of clickLine of field "tests" into txtLocation >end mouseDown > > clickLine is a function - it should be used as either ... the clickline ... or ... clickline() .... I think you don't want the <> part - the example in the docs is simply put the value of the clickLine into textOfClickedLine -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: 23/08/2005 From webmaster at dreamscapesoftware.com Thu Aug 25 20:10:34 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 25 Aug 2005 19:10:34 -0500 Subject: Installers for Mac / Linux? In-Reply-To: <000001c5a983$7302f230$0201010a@proherps56yaxv> References: <000001c5a983$7302f230$0201010a@proherps56yaxv> Message-ID: <430E5DFA.70704@dreamscapesoftware.com> Scott Kane wrote: > However - if you are in the market > for a cheap Rev project installer then see: > http://downloads.runrev.com/stacks_apps/installgadget.php Or if you're in the market for a free installer that produces the the same exact installers that many companies already use, you can check out InnoSetup. It's free, customizable, codable, and works for all flavors of Windows. http://www.jrsoftware.org/isinfo.php Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com/ From jvickers2002 at hotmail.com Thu Aug 25 20:17:25 2005 From: jvickers2002 at hotmail.com (Jason Vickers) Date: Fri, 26 Aug 2005 08:17:25 +0800 Subject: Where to put the ( ) ? References: Message-ID: Thanks Brian. That didn't work until I put "the" in front of "clickLine". That part works now. Jason ----- Original Message ----- From: "Brian Yennie" To: "How to use Revolution" Sent: Friday, August 26, 2005 7:31 AM Subject: Re: Where to put the ( ) ? > Jason, > > I believe you want: > put the value of clickLine into txtLocation > > instead of: > >> put the value of clickLine of field "tests" into txtLocation > > Just like the clickText, you don't need the "of field" qualifier, as there > is only one "clickLine" at a time. > > HTH, > Brian > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From warren at howsoft.com Thu Aug 25 20:26:39 2005 From: warren at howsoft.com (Bob Warren) Date: Thu, 25 Aug 2005 21:26:39 -0300 Subject: [Slightly OT] Linspire Newsletter Discusses Linux Programming Message-ID: <01b501c5a9d4$dd5233c0$0201a8c0@john> Dan: I don't think it's even "slightly" OT! I found the same article so interesting, I sent a copy to Kevin and Mark with the following comment: I thought you might be interested in the attached article. Hopefully, it might soon be possible to say to the author: "With RR, general programming (at least) in Linux is easy". Although I find Linspire among the most promising of the Linuxes in terms of simplicity and practicality, like many current Linuxes it does not work 100%, at least not for me. For example, I didn't manage to get my network printer going. Also, since it aims at attracting users who are more familiar with the Windows interface, it offers KDE only which is the most similar to Windows. But as you might have seen on the List I recently, I stumbled across Ubuntu with the simpler and better organized Gnome interface, and not only did everything work, but RR looked very beautiful in it. The only thing that is holding me back regarding the full use of RR in Linux is the current lack of a browser control, which is not only important in terms of the kind of programs I write, but also important for the introduction of vector graphics (SVG) that RR's drawing facilities also lack. At the moment I am hanging fire in the hope that RR will see their way clear to solving the technical issues involved and giving us a browser in Linux as soon as possible. I wish I weren't the only one talking publicly about it. I think that RR could have a great future in Linux, and perhaps merits more attention than it seems to be getting. Bob >I've been experimenting for the past year or so with Linspire, a >desktop Linux distro that has taken a LOT of the pain and annoyance >out of trying to be a Linux *user*. I get their newsletters in email. >Today's by Tom Welch talked about the lack of usable drag-and-draw >user interface IDEs for Linux coding. SO I posted a note on their >discussion board about the subject, pointing out of course Rev (and, >in the interest of fairness, RealBASIC). >The article makes for an interesting read if you care about software >development on Linux: http://www.linspire.com/ >linspire_letter_archives.php?id=10 >Also, I suspect one or more Linux mags might buy a review of Rev on >Linux from someone more knowledgeable about Linux than I. From tg.lists at geistinteractive.com Thu Aug 25 20:28:49 2005 From: tg.lists at geistinteractive.com (Todd Geist) Date: Thu, 25 Aug 2005 17:28:49 -0700 Subject: Running Stand-alone as a service or hidden Message-ID: Hello, I thought I remember hearing that you can run a Rev app in the background or as a service or "hidden". I just don't want the users to see anything when it is running. Isn't this possible? How does one go about it? Thanks Todd -- Todd Geist ______________________________________ G e i s t i n t e r a c t i v e From revdan at danshafer.com Thu Aug 25 20:29:50 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 25 Aug 2005 17:29:50 -0700 Subject: [ANN] Shafer Media Offers Dan's Books in New Form, Upgrades Vol. 1 Message-ID: <99E9633D-0AFD-4FC8-AE96-82358BEBAA6C@danshafer.com> Fellow Revolutionaries: EXECUTIVE SUMMARY OF ANNOUNCEMENT I know you're busy like me so I don't want to force you to wade through six paragraphs to get to the bottom-line message. Here are the highlights of this announcement: * Shafer Media is now selling an updated version of my Vol. 1 "Software at the Speed of Thought" as a SmartEBook (electronic form, other goodies included, self-updating) * All of my Rev books will be released as SmartEBooks, effective immediately. * While they last, printed copies of the old Vol. 1 are available through my store (http://www.shafermediastore.com/tech_main.html) for $24.95 + shipping & handling, a savings of $12.05 over the old price. Now here's the deathless prose for those inclined to indulge: ======================================================================== ====================================== While a formal announcement will be released on Tuesday, I wanted to give the amazing members of this iist a heads-up about some exciting news concerning the publication of my ongoing series of books about Revolution. RunRev and my company, Shafer Media, have agreed that Shafer Media will become the official press of Revolution and assume responsibility for publishing, marketing, and distribution of the current and future titles in my "Software at the Speed of Thought" series, effective immediately. At the same time, Shafer Media is announcing a new, revised and slightly expanded version of the first volume in what was once planned as a three-volume set of books. The new edition of that volume is now available in electronic form only from http:// www.shafermediastore.com/tech_main.html. Over 100 corrections and clarifications have been made in this new release in response to feedback from dozens of readers. This eBook is available through the Shafer Media Store right now for Windows and OSX for $29.95. (An OS 9 version may happen if we can resolve some technical glitches.) Not only that (I'm starting to sound like a Ginzu knife salesman here, I know, but there's lots to say), all of these eBooks -- including the two released topical eBooks on Rev as a CGI and Rev Custom Properties -- are being delivered using innovative new SmartEBooks(tm) technology. For you as a reader, this means that the eBooks will keep themselves current automatically when you open them, just like software does. It also means many SmartEBooks will consist not only of PDF files but also of accompanying audio video, text, and software code files (source and/or binary) in a single downloadable package. For example, Volume 1 of the Rev series, when delivered as a SmartEBook, has all of the major sample stacks and laboratory exercises included as Rev stacks you can run, tweak, take apart, play with, and learn from. RunRev will continue to sell the book as a SmartEBook via their site store. All other titles in the series will be available only through the Shafer Media Store (http://www.shafermediastore.com). What about printed books, you ask? Well, we still have a limited number of copies of the print edition avaialble for sale. They, of course, do not have the additions and corrections I made in the second edition being released today as a SmartEBook. We plan to offer a print-on-demand solution for those who want a hard copy of the second edition but we are still searching for a reliable, affordable outlet for that product. Stay tuned for another announcement soon. Meanwhile, I'm dropping the price on the remaining printed copies from $37 to $24.95 plus shipping & handling while supplies last, which probably won't be long. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html From jvickers2002 at hotmail.com Thu Aug 25 20:45:24 2005 From: jvickers2002 at hotmail.com (Jason Vickers) Date: Fri, 26 Aug 2005 08:45:24 +0800 Subject: Where to put the ( ) ? References: <430E5C7F.5050308@tweedly.net> Message-ID: Alex, I now have the code correct, but it is not returning the line number of the field - it returns the text in that line. I thought clickLine was supposed to return the line number. Did I misread that part in the "help" section? But this happens when I run it from Revolution. When I build my standalone and get the clickLine of the field, my variable is empty. It is frustrating because the app worked a couple of days ago and just stopped working. I just put in the <> this today because everything had stopped working. Jason ----- Original Message ----- From: "Alex Tweedly" To: "How to use Revolution" Sent: Friday, August 26, 2005 8:04 AM Subject: Re: Where to put the ( ) ? > clickLine is a function - it should be used as either > ... the clickline ... > or > ... clickline() .... > > I think you don't want the <> part - the example in > the docs is simply > put the value of the clickLine into textOfClickedLine > > > -- > Alex Tweedly http://www.tweedly.net > From revdan at danshafer.com Thu Aug 25 20:45:42 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 25 Aug 2005 17:45:42 -0700 Subject: [OT] looking for obsolete Mac software In-Reply-To: <7001451dd490b5e6814dc417fab99b72@unimelb.edu.au> References: <20050824203043.EEEE6825494@mail.runrev.com> <7001451dd490b5e6814dc417fab99b72@unimelb.edu.au> Message-ID: My list as of System 7 doesn't have these. But there appears to be a two-year-old database of codes you can probably get into: http://www.angelfire.com/mac/tcdb/ On Aug 25, 2005, at 4:17 PM, Terry Judd wrote: > I've been asked to try and recover the data from a couple of files > created (in the early 90s) with some long forgotten Mac software. > All I've got to go on are the file types and creator codes (type > MrBK creator MrBK; type MCDB creator FIL2). Is there a searchable > database of types and creator codes out there somewhere? > > TIA > > 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 > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html From scott at proherp.com Thu Aug 25 20:54:11 2005 From: scott at proherp.com (Scott Kane) Date: Fri, 26 Aug 2005 10:54:11 +1000 Subject: Installers for Mac / Linux? In-Reply-To: <430E5DFA.70704@dreamscapesoftware.com> Message-ID: <000701c5a9d8$b1e6cc10$0201010a@proherps56yaxv> > Or if you're in the market for a free installer that produces the the > same exact installers that many companies already use, you > can check out > InnoSetup. It's free, customizable, codable, and works for > all flavors > of Windows. > > http://www.jrsoftware.org/isinfo.php Yes. I've used Jordans' installer on Win since version one beta. It's excellent and the ISTool that goes with it is superb. But it won't help on the Mac and *nix side of things... :-) Scott From ptrendler at bigpond.com Thu Aug 25 21:00:35 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Fri, 26 Aug 2005 11:00:35 +1000 Subject: [ANN] Shafer Media Offers Dan's Books in New Form, Upgrades Vol. 1 References: <99E9633D-0AFD-4FC8-AE96-82358BEBAA6C@danshafer.com> Message-ID: <00e101c5a9d9$948c57b0$0200000a@super> Dan, Just bought your new SmartEBook - but, the download is only 221 bytes. Help! Pat patrend at bigpond.com ----- Original Message ----- From: "Dan Shafer" To: "Revolution List" Sent: Friday, August 26, 2005 10:29 AM Subject: [ANN] Shafer Media Offers Dan's Books in New Form, Upgrades Vol. 1 > Fellow Revolutionaries: > > EXECUTIVE SUMMARY OF ANNOUNCEMENT > > I know you're busy like me so I don't want to force you to wade through > six paragraphs to get to the bottom-line message. Here are the highlights > of this announcement: > > * Shafer Media is now selling an updated version of my Vol. 1 "Software > at the Speed of Thought" as a SmartEBook (electronic form, other goodies > included, self-updating) > * All of my Rev books will be released as SmartEBooks, effective > immediately. > * While they last, printed copies of the old Vol. 1 are available through > my store (http://www.shafermediastore.com/tech_main.html) for $24.95 + > shipping & handling, a savings of $12.05 over the old price. > > Now here's the deathless prose for those inclined to indulge: > > ======================================================================== > ====================================== > > While a formal announcement will be released on Tuesday, I wanted to give > the amazing members of this iist a heads-up about some exciting news > concerning the publication of my ongoing series of books about > Revolution. > > RunRev and my company, Shafer Media, have agreed that Shafer Media will > become the official press of Revolution and assume responsibility for > publishing, marketing, and distribution of the current and future titles > in my "Software at the Speed of Thought" series, effective immediately. > > At the same time, Shafer Media is announcing a new, revised and slightly > expanded version of the first volume in what was once planned as a > three-volume set of books. The new edition of that volume is now > available in electronic form only from http:// > www.shafermediastore.com/tech_main.html. Over 100 corrections and > clarifications have been made in this new release in response to feedback > from dozens of readers. This eBook is available through the Shafer Media > Store right now for Windows and OSX for $29.95. (An OS 9 version may > happen if we can resolve some technical glitches.) > > Not only that (I'm starting to sound like a Ginzu knife salesman here, I > know, but there's lots to say), all of these eBooks -- including the two > released topical eBooks on Rev as a CGI and Rev Custom Properties -- are > being delivered using innovative new SmartEBooks(tm) technology. For you > as a reader, this means that the eBooks will keep themselves current > automatically when you open them, just like software does. It also means > many SmartEBooks will consist not only of PDF files but also of > accompanying audio video, text, and software code files (source and/or > binary) in a single downloadable package. For example, Volume 1 of the > Rev series, when delivered as a SmartEBook, has all of the major sample > stacks and laboratory exercises included as Rev stacks you can run, > tweak, take apart, play with, and learn from. > > RunRev will continue to sell the book as a SmartEBook via their site > store. All other titles in the series will be available only through the > Shafer Media Store (http://www.shafermediastore.com). > > What about printed books, you ask? Well, we still have a limited number > of copies of the print edition avaialble for sale. They, of course, do > not have the additions and corrections I made in the second edition being > released today as a SmartEBook. We plan to offer a print-on-demand > solution for those who want a hard copy of the second edition but we are > still searching for a reliable, affordable outlet for that product. Stay > tuned for another announcement soon. Meanwhile, I'm dropping the price on > the remaining printed copies from $37 to $24.95 plus shipping & handling > while supplies last, which probably won't be long. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Information Product Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.shafermediastore.com/tech_main.html > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.15/82 - Release Date: 25/08/2005 > > From jeff at siphonophore.com Thu Aug 25 21:03:29 2005 From: jeff at siphonophore.com (Jeffrey Reynolds) Date: Thu, 25 Aug 2005 21:03:29 -0400 Subject: [OT] looking for obsolete Mac software In-Reply-To: <20050826003845.3CCAA82550E@mail.runrev.com> References: <20050826003845.3CCAA82550E@mail.runrev.com> Message-ID: <1959bde3c7ce76f7c376c733fbb242fb@siphonophore.com> Might try apple directly. I use to register filetypes and creator codes with apple. they took a fair amount of information when you registered them. cheers, jeff On Aug 25, 2005, at 8:38 PM, use-revolution-request at lists.runrev.com wrote: > >> I've been asked to try and recover the data from a couple of files >> created (in the early 90s) with some long forgotten Mac software. >> All I've got to go on are the file types and creator codes (type >> MrBK creator MrBK; type MCDB creator FIL2). Is there a searchable >> database of types and creator codes out there somewhere? >> >> TIA From psahores at easynet.fr Thu Aug 25 21:11:39 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 26 Aug 2005 03:11:39 +0200 Subject: Rev cgi & PHP - new question (shell command) In-Reply-To: <430E2F2A.83F83F9E@Club-Internet.fr> References: <430E2533.946243D7@Club-Internet.fr> <430E294E.4080805@tweedly.net> <430E2F2A.83F83F9E@Club-Internet.fr> Message-ID: <2C6CA3F7-D7BF-4F4C-9645-05F3F1CC861A@easynet.fr> Le 25 ao?t 05 ? 22:51, jbv a ?crit : > > in the past I've tried to access various URLs through "get URL" but > it never worked... could it be related to some firewall / server > settings ? No ! You just need to set the constant "sockettimoutinterval" to a suffisant high rate (aka 1000, as a test starting point) and you will see that "get URL" will work like a charm. Best, > > Thanks, > JB > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours skype : psahores psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From mark at maseurope.net Thu Aug 25 21:09:56 2005 From: mark at maseurope.net (Mark Smith) Date: Fri, 26 Aug 2005 02:09:56 +0100 Subject: Where to put the ( ) ? In-Reply-To: References: <430E5C7F.5050308@tweedly.net> Message-ID: You want 'word 2 of the clickline'. The clickline will be something like 'line 4 of fld "myField"'. Cheers, Mark On 26 Aug 2005, at 01:45, Jason Vickers wrote: > Alex, > I now have the code correct, but it is not returning the line number > of the > field - it returns the text in that line. I thought clickLine was > supposed > to return the line number. Did I misread that part in the "help" > section? But this happens when I run it from Revolution. > > When I build my standalone and get the clickLine of the field, my > variable is empty. > > It is frustrating because the app worked a couple of days ago and just > stopped working. I just put in the <> this today > because everything had stopped working. > > Jason > > > ----- Original Message ----- From: "Alex Tweedly" > To: "How to use Revolution" > Sent: Friday, August 26, 2005 8:04 AM > Subject: Re: Where to put the ( ) ? > > > >> clickLine is a function - it should be used as either >> ... the clickline ... >> or >> ... clickline() .... >> >> I think you don't want the <> part - the example in >> the docs is simply >> put the value of the clickLine into textOfClickedLine >> >> >> -- >> Alex Tweedly http://www.tweedly.net >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com From mwieder at ahsoftware.net Thu Aug 25 21:40:14 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Aug 2005 18:40:14 -0700 Subject: Running Stand-alone as a service or hidden In-Reply-To: References: Message-ID: <034742717.20050825184014@ahsoftware.net> Todd- Thursday, August 25, 2005, 5:28:49 PM, you wrote: > I thought I remember hearing that you can run a Rev app in the background or > as a service or "hidden". I just don't want the users to see anything when > it is running. > Isn't this possible? How does one go about it? Since you're saying "service", I assume you mean Windows. Here's what I do: on preOpenStack local tCommandLine -- we're being called from a commandline in a batch file. -- the -s commandline option here means "silent" -- myApp -s put lower($1) into tCommandLine switch char 2 of theCommandLine case "s" -- if you just want to stay resident, then the next line -- may be all you need. Untested, though... hide this stack -- do something and exit -- my initialization stuff is in openStack openStack doSomething quit break default end switch end preOpenStack -- -Mark Wieder mwieder at ahsoftware.net From tsj at unimelb.edu.au Thu Aug 25 21:42:28 2005 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 26 Aug 2005 11:42:28 +1000 Subject: [OT] looking for obsolete Mac software In-Reply-To: <20050826003845.08F898254F5@mail.runrev.com> References: <20050826003845.08F898254F5@mail.runrev.com> Message-ID: <779a4cf432962fa21fcbc8d5144ac224@unimelb.edu.au> Thanks Dan I'll take a look. Cheers, Terry... > From: Dan Shafer > Date: 26 August 2005 10:45:42 AM GMT+10:00 > To: How to use Revolution > Subject: Re: [OT] looking for obsolete Mac software > Reply-To: How to use Revolution > > > My list as of System 7 doesn't have these. But there appears to be a > two-year-old database of codes you can probably get into: > > http://www.angelfire.com/mac/tcdb/ > > > On Aug 25, 2005, at 4:17 PM, Terry Judd wrote: > >> I've been asked to try and recover the data from a couple of files >> created (in the early 90s) with some long forgotten Mac software. All >> I've got to go on are the file types and creator codes (type MrBK >> creator MrBK; type MCDB creator FIL2). Is there a searchable database >> of types and creator codes out there somewhere? >> >> TIA >> >> 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 webmaster at dreamscapesoftware.com Thu Aug 25 22:07:11 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 25 Aug 2005 21:07:11 -0500 Subject: Installers for Mac / Linux? In-Reply-To: <000701c5a9d8$b1e6cc10$0201010a@proherps56yaxv> References: <000701c5a9d8$b1e6cc10$0201010a@proherps56yaxv> Message-ID: <430E794F.4020807@dreamscapesoftware.com> Scott Kane wrote: > Yes. I've used Jordans' installer on Win since version > one beta. It's excellent and the ISTool that goes with > it is superb. But it won't help on the Mac and *nix side > of things... :-) This is true. I think 1 question has to be answered though. Does your program on the Mac and Unix side require itself to be installed? Let me use an example. I had to create an installer for JPEGCompress so it can create the necessary icons in the Quick Launch bar, the Desktop, and the Program Groups. Also, on Windows it is common that an Uninstaller be included. However, on the Mac side, it's really not that necessary because traditionally Mac programs were contained within 1 folder. To remove the program you simply drag the folder to the trash, empty it, then it's gone. So if you are looking for something to create a single, multi-platform installer, then you are probably out of luck. My suggestion would be to follow what is traditional for the platform. A setup from for Windows. A DMG for MacOS X. And a gzip file (or whatever is used) for Unix. Or, if your program is being distributed on CD, create your own installer! Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com/ From scott at proherp.com Thu Aug 25 22:18:11 2005 From: scott at proherp.com (Scott Kane) Date: Fri, 26 Aug 2005 12:18:11 +1000 Subject: Installers for Mac / Linux? In-Reply-To: <430E794F.4020807@dreamscapesoftware.com> Message-ID: <000001c5a9e4$6df29820$0100a8c0@proherps56yaxv> > This is true. I think 1 question has to be answered though. > Does your > program on the Mac and Unix side require itself to be installed? Hi Derek, Yeah - I agree. But I wasn't the one asking about installers. I was answering. Scott From tg.lists at geistinteractive.com Thu Aug 25 22:19:09 2005 From: tg.lists at geistinteractive.com (Todd Geist) Date: Thu, 25 Aug 2005 19:19:09 -0700 Subject: Running Stand-alone as a service or hidden In-Reply-To: <034742717.20050825184014@ahsoftware.net> Message-ID: Thanks Mark! But I guess what I want to do is more like a Daemon. I want my Stack to be open and running but not appear to the user. I am going to communicate with it with TCPIP. I want to send it some Data and some commands and then get a response back. Does that make sense? Will your technique work in that scenario? Todd On 8/25/05 6:40 PM, "Mark Wieder" wrote: > Todd- > > Thursday, August 25, 2005, 5:28:49 PM, you wrote: > >> I thought I remember hearing that you can run a Rev app in the background or >> as a service or "hidden". I just don't want the users to see anything when >> it is running. > >> Isn't this possible? How does one go about it? > > Since you're saying "service", I assume you mean Windows. > Here's what I do: -- Todd Geist ______________________________________ G e i s t i n t e r a c t i v e From webmaster at dreamscapesoftware.com Thu Aug 25 22:33:06 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 25 Aug 2005 21:33:06 -0500 Subject: Installers for Mac / Linux? In-Reply-To: <000001c5a9e4$6df29820$0100a8c0@proherps56yaxv> References: <000001c5a9e4$6df29820$0100a8c0@proherps56yaxv> Message-ID: <430E7F62.7090309@dreamscapesoftware.com> Scott Kane wrote: > Yeah - I agree. But I wasn't the one asking about > installers. I was answering. Yeah, my email is still a little funky so I don't know who asked the original question. But that's ok though. Our answers will be plastered on the list web site for years to come. We've made our marks in history. :) Derek Bump Dreamscape Software _______________________________________________ Compress Images Easily with JPEGCompress http://www.dreamscapesoftware.com/ From sarahr at genesearch.com.au Thu Aug 25 22:34:30 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 26 Aug 2005 12:34:30 +1000 Subject: Two very simple questions In-Reply-To: References: Message-ID: > 1) I'm in the process of developing an application. I put all the > buttons, > create a complex GUI, and write the Close button's script as > > close stack "myStack" > > OK, now I want to test if this really works. So I switch to the > testing > mode, and click on the Close button, and the stack closes. Fine, it > works. But how can I bring it back??? Or maybe I've just lost all > my work > because I didn't save it to a file? Add another line to your close button's script so that it saves the stack before closing it. That will make sure you can't loose anything. A regular save routine is always useful. > > > 2) Did anyone else notice that when you put some code between /* */ > then after that the editor will write EVERYTHING in purple, even stuff > outside the comment signs, and even after you delete the comment > signs? Bugzilla #284 lists this bug and also suggests a workaround. Cheers, Sarah From scott at proherp.com Thu Aug 25 22:39:35 2005 From: scott at proherp.com (Scott Kane) Date: Fri, 26 Aug 2005 12:39:35 +1000 Subject: Installers for Mac / Linux? In-Reply-To: <430E7F62.7090309@dreamscapesoftware.com> Message-ID: <000101c5a9e7$6c0b5a30$0100a8c0@proherps56yaxv> > But that's ok though. Our answers will be plastered on the list web > site for years to come. We've made our marks in history. :) LOL! Must admit that's a new thought to me. Scott From simplsol at aol.com Thu Aug 25 22:55:52 2005 From: simplsol at aol.com (simplsol at aol.com) Date: Thu, 25 Aug 2005 22:55:52 -0400 Subject: Saluting the Menu Maven Message-ID: <8C77800CE377C6C-A84-EF33@FWM-R35.sysops.aol.com> I was out of town last Saturday when Jeanne DeVoto presented the menu tutorial and have just finished reading the chat log and reviewing the demos. My first impression was "WOW!" That was also my second, third, and fourth impression. This was very well done, and extremely helpful. I wish I knew this two years ago... Anyone reading this list for a while will recognize that Jeanne knows her stuff, I was not surprised to see a high level of experience and expertise in the tutorial. More impressive was her ability to communicate complexities clearly, simply, patiently and constructively; she is a very good teacher! You might want to check out the tutorial even if you think you already know all about menus. Thank you, Jeanne. Paul Looney PS One thing not covered was the stack resizing problem which has been mentioned occasionally on this list. I fought with this for over two years. I now know the problem appears when trying to add menus to multi-card stacks. I have been able to fix it by making a copy of the problem stack, deleting all but the first card, then creating the desired menus and importing the cards. From rishi at puredata.com.au Thu Aug 25 23:12:32 2005 From: rishi at puredata.com.au (Rishi Viner) Date: Fri, 26 Aug 2005 13:12:32 +1000 Subject: Installers for Mac / Linux? In-Reply-To: <430E794F.4020807@dreamscapesoftware.com> References: <000701c5a9d8$b1e6cc10$0201010a@proherps56yaxv> <430E794F.4020807@dreamscapesoftware.com> Message-ID: <200508261312.32181.rishi@puredata.com.au> On Fri, 26 Aug 2005 12:07 pm, Derek Bump wrote: > My suggestion would be to follow what is traditional for the platform. > A setup from for Windows. A DMG for MacOS X. And a gzip file (or > whatever is used) for Unix. Linux packages are often installed using the RPM system (originally RedHat Package Manager). Free, well documented and supported on most distributions. Have a look here as a start: http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/RPM-HOWTO.html HTH -- Rishi Viner PUREDATA Australia www.puredata.com.au From chipp at chipp.com Thu Aug 25 23:18:10 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 25 Aug 2005 22:18:10 -0500 Subject: Debugger Trouble! In-Reply-To: References: Message-ID: <430E89F2.9010205@chipp.com> Just a thought, make sure debug mode is turned on. David Burgun wrote: > Hi, > > The debugger has suddenly stopped stopping on breakpoints! It doesn't > stop even if I hard code a "breakpoint" into the script! What is the > probably cause of this and how can I get the debugger to stop on > breakpoints? From chipp at chipp.com Thu Aug 25 23:24:36 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 25 Aug 2005 22:24:36 -0500 Subject: Two very simple questions In-Reply-To: References: Message-ID: <430E8B74.8000607@chipp.com> Try this instead: Select the lines you wish to comment out, then under the Script menu of the script editor, choose 'Comment.' You can uncomment the same way. It's quick and colors correctly. Jason Vickers wrote: > > I am having the same issue with all the text turning purple when I put > /* */ in the code. > > Jason From chipp at chipp.com Thu Aug 25 23:26:57 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 25 Aug 2005 22:26:57 -0500 Subject: Running Stand-alone as a service or hidden In-Reply-To: <034742717.20050825184014@ahsoftware.net> References: <034742717.20050825184014@ahsoftware.net> Message-ID: <430E8C01.8040401@chipp.com> Cool Mark, Remember to set your stack decorations to empty so it won't show up on the taskbar. -Chipp Mark Wieder wrote: > Todd- > > Thursday, August 25, 2005, 5:28:49 PM, you wrote: > > >>I thought I remember hearing that you can run a Rev app in the background or >>as a service or "hidden". I just don't want the users to see anything when >>it is running. From revdan at danshafer.com Thu Aug 25 23:54:10 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 25 Aug 2005 20:54:10 -0700 Subject: [ANN] Shafer Media Offers Dan's Books in New Form, Upgrades Vol. 1 In-Reply-To: <00e101c5a9d9$948c57b0$0200000a@super> References: <99E9633D-0AFD-4FC8-AE96-82358BEBAA6C@danshafer.com> <00e101c5a9d9$948c57b0$0200000a@super> Message-ID: Pat..... Hmmmmmmm. Something clearly went wrong here. Can you tell me what version of what OS you're running and what file name you got when you downloaded? I tested all of this eight ways from Sunday but there's always a ninth. dan On Aug 25, 2005, at 6:00 PM, Pat Trendler wrote: > Dan, > > Just bought your new SmartEBook - but, the download is only 221 > bytes. Help! > > Pat > patrend at bigpond.com > > ----- Original Message ----- From: "Dan Shafer" > To: "Revolution List" > Sent: Friday, August 26, 2005 10:29 AM > Subject: [ANN] Shafer Media Offers Dan's Books in New Form, > Upgrades Vol. 1 > > > >> Fellow Revolutionaries: >> >> EXECUTIVE SUMMARY OF ANNOUNCEMENT >> >> I know you're busy like me so I don't want to force you to wade >> through six paragraphs to get to the bottom-line message. Here >> are the highlights of this announcement: >> >> * Shafer Media is now selling an updated version of my Vol. 1 >> "Software at the Speed of Thought" as a SmartEBook (electronic >> form, other goodies included, self-updating) >> * All of my Rev books will be released as SmartEBooks, effective >> immediately. >> * While they last, printed copies of the old Vol. 1 are available >> through my store (http://www.shafermediastore.com/tech_main.html) >> for $24.95 + shipping & handling, a savings of $12.05 over the >> old price. >> >> Now here's the deathless prose for those inclined to indulge: >> >> ===================================================================== >> === ====================================== >> >> While a formal announcement will be released on Tuesday, I wanted >> to give the amazing members of this iist a heads-up about some >> exciting news concerning the publication of my ongoing series of >> books about Revolution. >> >> RunRev and my company, Shafer Media, have agreed that Shafer >> Media will become the official press of Revolution and assume >> responsibility for publishing, marketing, and distribution of the >> current and future titles in my "Software at the Speed of >> Thought" series, effective immediately. >> >> At the same time, Shafer Media is announcing a new, revised and >> slightly expanded version of the first volume in what was once >> planned as a three-volume set of books. The new edition of that >> volume is now available in electronic form only from http:// >> www.shafermediastore.com/tech_main.html. Over 100 corrections and >> clarifications have been made in this new release in response to >> feedback from dozens of readers. This eBook is available through >> the Shafer Media Store right now for Windows and OSX for $29.95. >> (An OS 9 version may happen if we can resolve some technical >> glitches.) >> >> Not only that (I'm starting to sound like a Ginzu knife salesman >> here, I know, but there's lots to say), all of these eBooks -- >> including the two released topical eBooks on Rev as a CGI and Rev >> Custom Properties -- are being delivered using innovative new >> SmartEBooks(tm) technology. For you as a reader, this means that >> the eBooks will keep themselves current automatically when you >> open them, just like software does. It also means many >> SmartEBooks will consist not only of PDF files but also of >> accompanying audio video, text, and software code files (source >> and/or binary) in a single downloadable package. For example, >> Volume 1 of the Rev series, when delivered as a SmartEBook, has >> all of the major sample stacks and laboratory exercises included >> as Rev stacks you can run, tweak, take apart, play with, and >> learn from. >> >> RunRev will continue to sell the book as a SmartEBook via their >> site store. All other titles in the series will be available only >> through the Shafer Media Store (http://www.shafermediastore.com). >> >> What about printed books, you ask? Well, we still have a limited >> number of copies of the print edition avaialble for sale. They, >> of course, do not have the additions and corrections I made in >> the second edition being released today as a SmartEBook. We plan >> to offer a print-on-demand solution for those who want a hard >> copy of the second edition but we are still searching for a >> reliable, affordable outlet for that product. Stay tuned for >> another announcement soon. Meanwhile, I'm dropping the price on >> the remaining printed copies from $37 to $24.95 plus shipping & >> handling while supplies last, which probably won't be long. >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Dan Shafer, Information Product Consultant and Author >> http://www.shafermedia.com >> Get my book, "Revolution: Software at the Speed of Thought" >> From http://www.shafermediastore.com/tech_main.html >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG Anti-Virus. >> Version: 7.0.344 / Virus Database: 267.10.15/82 - Release Date: >> 25/08/2005 >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ptrendler at bigpond.com Fri Aug 26 00:07:56 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Fri, 26 Aug 2005 14:07:56 +1000 Subject: [ANN] Shafer Media Offers Dan's Books in New Form, Upgrades Vol. 1 References: <99E9633D-0AFD-4FC8-AE96-82358BEBAA6C@danshafer.com><00e101c5a9d9$948c57b0$0200000a@super> Message-ID: <011c01c5a9f3$c456b110$0200000a@super> filename: Software_at_the_Speed_of_Thought.PDF 1KB Adobe Acrobat 7.0 Document XP Pro SP2 IE 6.0.2900.2180 Tried 3 times with same result. Pat patrend at bigpond.com ----- Original Message ----- From: "Dan Shafer" To: "How to use Revolution" Sent: Friday, August 26, 2005 1:54 PM Subject: Re: [ANN] Shafer Media Offers Dan's Books in New Form,Upgrades Vol. 1 > Pat..... > > Hmmmmmmm. > > Something clearly went wrong here. Can you tell me what version of what > OS you're running and what file name you got when you downloaded? > > I tested all of this eight ways from Sunday but there's always a ninth. > > dan > > On Aug 25, 2005, at 6:00 PM, Pat Trendler wrote: > >> Dan, >> >> Just bought your new SmartEBook - but, the download is only 221 bytes. >> Help! >> >> Pat >> patrend at bigpond.com >> >> ----- Original Message ----- From: "Dan Shafer" >> To: "Revolution List" >> Sent: Friday, August 26, 2005 10:29 AM >> Subject: [ANN] Shafer Media Offers Dan's Books in New Form, Upgrades >> Vol. 1 >> >> >> >>> Fellow Revolutionaries: >>> >>> EXECUTIVE SUMMARY OF ANNOUNCEMENT >>> >>> I know you're busy like me so I don't want to force you to wade >>> through six paragraphs to get to the bottom-line message. Here are the >>> highlights of this announcement: >>> >>> * Shafer Media is now selling an updated version of my Vol. 1 >>> "Software at the Speed of Thought" as a SmartEBook (electronic form, >>> other goodies included, self-updating) >>> * All of my Rev books will be released as SmartEBooks, effective >>> immediately. >>> * While they last, printed copies of the old Vol. 1 are available >>> through my store (http://www.shafermediastore.com/tech_main.html) for >>> $24.95 + shipping & handling, a savings of $12.05 over the old price. >>> >>> Now here's the deathless prose for those inclined to indulge: >>> >>> ===================================================================== >>> === ====================================== >>> >>> While a formal announcement will be released on Tuesday, I wanted to >>> give the amazing members of this iist a heads-up about some exciting >>> news concerning the publication of my ongoing series of books about >>> Revolution. >>> >>> RunRev and my company, Shafer Media, have agreed that Shafer Media >>> will become the official press of Revolution and assume responsibility >>> for publishing, marketing, and distribution of the current and future >>> titles in my "Software at the Speed of Thought" series, effective >>> immediately. >>> >>> At the same time, Shafer Media is announcing a new, revised and >>> slightly expanded version of the first volume in what was once planned >>> as a three-volume set of books. The new edition of that volume is now >>> available in electronic form only from http:// >>> www.shafermediastore.com/tech_main.html. Over 100 corrections and >>> clarifications have been made in this new release in response to >>> feedback from dozens of readers. This eBook is available through the >>> Shafer Media Store right now for Windows and OSX for $29.95. (An OS 9 >>> version may happen if we can resolve some technical glitches.) >>> >>> Not only that (I'm starting to sound like a Ginzu knife salesman here, >>> I know, but there's lots to say), all of these eBooks -- including the >>> two released topical eBooks on Rev as a CGI and Rev Custom >>> Properties -- are being delivered using innovative new SmartEBooks(tm) >>> technology. For you as a reader, this means that the eBooks will keep >>> themselves current automatically when you open them, just like >>> software does. It also means many SmartEBooks will consist not only of >>> PDF files but also of accompanying audio video, text, and software >>> code files (source and/or binary) in a single downloadable package. >>> For example, Volume 1 of the Rev series, when delivered as a >>> SmartEBook, has all of the major sample stacks and laboratory >>> exercises included as Rev stacks you can run, tweak, take apart, play >>> with, and learn from. >>> >>> RunRev will continue to sell the book as a SmartEBook via their site >>> store. All other titles in the series will be available only through >>> the Shafer Media Store (http://www.shafermediastore.com). >>> >>> What about printed books, you ask? Well, we still have a limited >>> number of copies of the print edition avaialble for sale. They, of >>> course, do not have the additions and corrections I made in the second >>> edition being released today as a SmartEBook. We plan to offer a >>> print-on-demand solution for those who want a hard copy of the second >>> edition but we are still searching for a reliable, affordable outlet >>> for that product. Stay tuned for another announcement soon. Meanwhile, >>> I'm dropping the price on the remaining printed copies from $37 to >>> $24.95 plus shipping & handling while supplies last, which probably >>> won't be long. >>> >>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> Dan Shafer, Information Product Consultant and Author >>> http://www.shafermedia.com >>> Get my book, "Revolution: Software at the Speed of Thought" >>> From http://www.shafermediastore.com/tech_main.html >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Anti-Virus. >>> Version: 7.0.344 / Virus Database: 267.10.15/82 - Release Date: >>> 25/08/2005 >>> >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.15/82 - Release Date: 25/08/2005 > > From kray at sonsothunder.com Fri Aug 26 00:11:07 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 25 Aug 2005 23:11:07 -0500 Subject: Saluting the Menu Maven In-Reply-To: <8C77800CE377C6C-A84-EF33@FWM-R35.sysops.aol.com> Message-ID: On 8/25/05 9:55 PM, "simplsol at aol.com" wrote: > I was out of town last Saturday when Jeanne DeVoto presented the menu > tutorial and have just finished reading the chat log and reviewing the > demos. > My first impression was "WOW!" That was also my second, third, and > fourth impression. This was very well done, and extremely helpful. I > wish I knew this two years ago... Anyone reading this list for a while > will recognize that Jeanne knows her stuff, I was not surprised to see > a high level of experience and expertise in the tutorial. More > impressive was her ability to communicate complexities clearly, simply, > patiently and constructively; she is a very good teacher! You might > want to check out the tutorial even if you think you already know all > about menus. Paul, I just checked out Jeanne's stack and you're right, it's awesome! Way to go Jeanne! BTW: The only addition I'd make to what Jeanne said is that when you want to find out what the currently selected menu item is for a menu button, you should probably check the 'selectedText' property of the button instead of the 'label' property. The reason I say this is that the label of a button can be changed (for example, to truncate the selected menu item and add an ellipsis to it so it doesn't overlap the width of the button), but the selectedText doesn't change. Of course if you're not doing anything that changes the label, checking the label is just as good... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ptrendler at bigpond.com Fri Aug 26 00:14:25 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Fri, 26 Aug 2005 14:14:25 +1000 Subject: [ANN] Shafer Media Offers Dan's Books in New Form, Upgrades Vol. 1 References: <99E9633D-0AFD-4FC8-AE96-82358BEBAA6C@danshafer.com><00e101c5a9d9$948c57b0$0200000a@super> Message-ID: <012e01c5a9f4$ac48e560$0200000a@super> Dan, Just got an email from Softseller (Roger Harris), saying sorry download link was incorrect and that he had fixed it. However, I still got the same result. Have emailed back to him. Pat patrend at bigpond.com ----- Original Message ----- From: "Dan Shafer" To: "How to use Revolution" Sent: Friday, August 26, 2005 1:54 PM Subject: Re: [ANN] Shafer Media Offers Dan's Books in New Form,Upgrades Vol. 1 > Pat..... > > Hmmmmmmm. > > Something clearly went wrong here. Can you tell me what version of what > OS you're running and what file name you got when you downloaded? > > I tested all of this eight ways from Sunday but there's always a ninth. > > dan > > On Aug 25, 2005, at 6:00 PM, Pat Trendler wrote: > >> Dan, >> >> Just bought your new SmartEBook - but, the download is only 221 bytes. >> Help! >> >> Pat >> patrend at bigpond.com >> >> ----- Original Message ----- From: "Dan Shafer" >> To: "Revolution List" >> Sent: Friday, August 26, 2005 10:29 AM >> Subject: [ANN] Shafer Media Offers Dan's Books in New Form, Upgrades >> Vol. 1 >> >> >> >>> Fellow Revolutionaries: >>> >>> EXECUTIVE SUMMARY OF ANNOUNCEMENT >>> >>> I know you're busy like me so I don't want to force you to wade >>> through six paragraphs to get to the bottom-line message. Here are the >>> highlights of this announcement: >>> >>> * Shafer Media is now selling an updated version of my Vol. 1 >>> "Software at the Speed of Thought" as a SmartEBook (electronic form, >>> other goodies included, self-updating) >>> * All of my Rev books will be released as SmartEBooks, effective >>> immediately. >>> * While they last, printed copies of the old Vol. 1 are available >>> through my store (http://www.shafermediastore.com/tech_main.html) for >>> $24.95 + shipping & handling, a savings of $12.05 over the old price. >>> >>> Now here's the deathless prose for those inclined to indulge: >>> >>> ===================================================================== >>> === ====================================== >>> >>> While a formal announcement will be released on Tuesday, I wanted to >>> give the amazing members of this iist a heads-up about some exciting >>> news concerning the publication of my ongoing series of books about >>> Revolution. >>> >>> RunRev and my company, Shafer Media, have agreed that Shafer Media >>> will become the official press of Revolution and assume responsibility >>> for publishing, marketing, and distribution of the current and future >>> titles in my "Software at the Speed of Thought" series, effective >>> immediately. >>> >>> At the same time, Shafer Media is announcing a new, revised and >>> slightly expanded version of the first volume in what was once planned >>> as a three-volume set of books. The new edition of that volume is now >>> available in electronic form only from http:// >>> www.shafermediastore.com/tech_main.html. Over 100 corrections and >>> clarifications have been made in this new release in response to >>> feedback from dozens of readers. This eBook is available through the >>> Shafer Media Store right now for Windows and OSX for $29.95. (An OS 9 >>> version may happen if we can resolve some technical glitches.) >>> >>> Not only that (I'm starting to sound like a Ginzu knife salesman here, >>> I know, but there's lots to say), all of these eBooks -- including the >>> two released topical eBooks on Rev as a CGI and Rev Custom >>> Properties -- are being delivered using innovative new SmartEBooks(tm) >>> technology. For you as a reader, this means that the eBooks will keep >>> themselves current automatically when you open them, just like >>> software does. It also means many SmartEBooks will consist not only of >>> PDF files but also of accompanying audio video, text, and software >>> code files (source and/or binary) in a single downloadable package. >>> For example, Volume 1 of the Rev series, when delivered as a >>> SmartEBook, has all of the major sample stacks and laboratory >>> exercises included as Rev stacks you can run, tweak, take apart, play >>> with, and learn from. >>> >>> RunRev will continue to sell the book as a SmartEBook via their site >>> store. All other titles in the series will be available only through >>> the Shafer Media Store (http://www.shafermediastore.com). >>> >>> What about printed books, you ask? Well, we still have a limited >>> number of copies of the print edition avaialble for sale. They, of >>> course, do not have the additions and corrections I made in the second >>> edition being released today as a SmartEBook. We plan to offer a >>> print-on-demand solution for those who want a hard copy of the second >>> edition but we are still searching for a reliable, affordable outlet >>> for that product. Stay tuned for another announcement soon. Meanwhile, >>> I'm dropping the price on the remaining printed copies from $37 to >>> $24.95 plus shipping & handling while supplies last, which probably >>> won't be long. >>> >>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> Dan Shafer, Information Product Consultant and Author >>> http://www.shafermedia.com >>> Get my book, "Revolution: Software at the Speed of Thought" >>> From http://www.shafermediastore.com/tech_main.html >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Anti-Virus. >>> Version: 7.0.344 / Virus Database: 267.10.15/82 - Release Date: >>> 25/08/2005 >>> >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.15/82 - Release Date: 25/08/2005 > > From mwieder at ahsoftware.net Fri Aug 26 00:45:59 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Aug 2005 21:45:59 -0700 Subject: Running Stand-alone as a service or hidden In-Reply-To: <430E8C01.8040401@chipp.com> References: <034742717.20050825184014@ahsoftware.net> <430E8C01.8040401@chipp.com> Message-ID: <7045888654.20050825214559@ahsoftware.net> Chipp- Thursday, August 25, 2005, 8:26:57 PM, you wrote: > Remember to set your stack decorations to empty so it won't show up on > the taskbar. Aha! I was wondering what the trick was... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Aug 26 00:52:04 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Aug 2005 21:52:04 -0700 Subject: Two very simple questions In-Reply-To: <430E8B74.8000607@chipp.com> References: <430E8B74.8000607@chipp.com> Message-ID: <1846253649.20050825215204@ahsoftware.net> Chipp- Thursday, August 25, 2005, 8:24:36 PM, you wrote: > Try this instead: > Select the lines you wish to comment out, then under the Script menu of > the script editor, choose 'Comment.' You can uncomment the same way. > It's quick and colors correctly. Yes. Sort of. Once things go wonky, though, they stay wonky. Your revAltCleanStack.rev plugin stack is the only thing that clears this up for me. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Aug 26 01:17:46 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Aug 2005 22:17:46 -0700 Subject: OLPC Message-ID: <17447795075.20050825221746@ahsoftware.net> All- Since runrev on linux distros has become a topic lately, I thought I'd shoot this one out. The Media Lab at MIT has a research project called OLPC (One Laptop Per Child) to provide a million $100 linux laptops to students around the world. One of the Ubuntu developers has recently become part of the project and mentioned this in his blog, which is how I found out about it. Since runrev works so well on the Unbuntu platform, this seems like a prime opportunity to get at least a player distributed to a million laptops, and possibly a site-license deal to an educational market. I'm also copying Kevin and Ro on this. http://laptop.media.mit.edu/ -- -Mark Wieder mwieder at ahsoftware.net From jperryl at ecs.fullerton.edu Fri Aug 26 02:35:18 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 25 Aug 2005 23:35:18 -0700 (PDT) Subject: [ANN] Shafer Media Offers Dan's Books in New Form, Upgrades Vol. 1 In-Reply-To: <99E9633D-0AFD-4FC8-AE96-82358BEBAA6C@danshafer.com> Message-ID: Dan, Awesome!!! Judy On Thu, 25 Aug 2005, Dan Shafer wrote: > Fellow Revolutionaries: > > EXECUTIVE SUMMARY OF ANNOUNCEMENT > > I know you're busy like me so I don't want to force you to wade > through six paragraphs to get to the bottom-line message. Here are > the highlights of this announcement: > > * Shafer Media is now selling an updated version of my Vol. 1 > "Software at the Speed of Thought" as a SmartEBook (electronic form, > other goodies included, self-updating) > * All of my Rev books will be released as SmartEBooks, effective > immediately. > * While they last, printed copies of the old Vol. 1 are available > through my store (http://www.shafermediastore.com/tech_main.html) for > $24.95 + shipping & handling, a savings of $12.05 over the old price. > > Now here's the deathless prose for those inclined to indulge: > > ======================================================================== > ====================================== > > While a formal announcement will be released on Tuesday, I wanted to > give the amazing members of this iist a heads-up about some exciting > news concerning the publication of my ongoing series of books about > Revolution. > > RunRev and my company, Shafer Media, have agreed that Shafer Media > will become the official press of Revolution and assume > responsibility for publishing, marketing, and distribution of the > current and future titles in my "Software at the Speed of Thought" > series, effective immediately. > > At the same time, Shafer Media is announcing a new, revised and > slightly expanded version of the first volume in what was once > planned as a three-volume set of books. The new edition of that > volume is now available in electronic form only from http:// > www.shafermediastore.com/tech_main.html. Over 100 corrections and > clarifications have been made in this new release in response to > feedback from dozens of readers. This eBook is available through the > Shafer Media Store right now for Windows and OSX for $29.95. (An OS 9 > version may happen if we can resolve some technical glitches.) > > Not only that (I'm starting to sound like a Ginzu knife salesman > here, I know, but there's lots to say), all of these eBooks -- > including the two released topical eBooks on Rev as a CGI and Rev > Custom Properties -- are being delivered using innovative new > SmartEBooks(tm) technology. For you as a reader, this means that the > eBooks will keep themselves current automatically when you open them, > just like software does. It also means many SmartEBooks will consist > not only of PDF files but also of accompanying audio video, text, and > software code files (source and/or binary) in a single downloadable > package. For example, Volume 1 of the Rev series, when delivered as a > SmartEBook, has all of the major sample stacks and laboratory > exercises included as Rev stacks you can run, tweak, take apart, play > with, and learn from. > > RunRev will continue to sell the book as a SmartEBook via their site > store. All other titles in the series will be available only through > the Shafer Media Store (http://www.shafermediastore.com). > > What about printed books, you ask? Well, we still have a limited > number of copies of the print edition avaialble for sale. They, of > course, do not have the additions and corrections I made in the > second edition being released today as a SmartEBook. We plan to offer > a print-on-demand solution for those who want a hard copy of the > second edition but we are still searching for a reliable, affordable > outlet for that product. Stay tuned for another announcement soon. > Meanwhile, I'm dropping the price on the remaining printed copies > from $37 to $24.95 plus shipping & handling while supplies last, > which probably won't be long. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Information Product Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.shafermediastore.com/tech_main.html > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jvickers2002 at hotmail.com Fri Aug 26 03:00:12 2005 From: jvickers2002 at hotmail.com (Jason Vickers) Date: Fri, 26 Aug 2005 15:00:12 +0800 Subject: Where to put the ( ) ? References: <430E5C7F.5050308@tweedly.net> Message-ID: Mark, I'll write this one down in case I need it in the future. I didn't use it, though. I rewrote the code for my other buttons changing some of the IF statement orders and it works. It is kind of strange, really, because I tested the application a few days ago and it all worked fine. I made some cosmetic changes to the card yesterday and nothing worked. Like I said, after I rewrote the code for each button it all worked. Jason ----- Original Message ----- From: "Mark Smith" To: "How to use Revolution" Sent: Friday, August 26, 2005 9:09 AM Subject: Re: Where to put the ( ) ? > You want 'word 2 of the clickline'. The clickline will be something like > 'line 4 of fld "myField"'. > > Cheers, > > Mark > On 26 Aug 2005, at 01:45, Jason Vickers wrote: > > From jvickers2002 at hotmail.com Fri Aug 26 03:19:02 2005 From: jvickers2002 at hotmail.com (Jason Vickers) Date: Fri, 26 Aug 2005 15:19:02 +0800 Subject: Two very simple questions References: <430E8B74.8000607@chipp.com> Message-ID: Chip, I was using /* */ for the comments in the script. I've changed back to -- to make the comments. I liked that /**/ because it was so much simpler... I'll check out your suggestion. I do like easy... Thanks for the response, Jason ----- Original Message ----- From: "Chipp Walters" To: "How to use Revolution" Sent: Friday, August 26, 2005 11:24 AM Subject: Re: Two very simple questions > Try this instead: > > Select the lines you wish to comment out, then under the Script menu of > the script editor, choose 'Comment.' You can uncomment the same way. It's > quick and colors correctly. > > Jason Vickers wrote: >> >> I am having the same issue with all the text turning purple when I put /* >> */ in the code. >> >> Jason > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revolution at jaedworks.com Fri Aug 26 03:00:18 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 26 Aug 2005 00:00:18 -0700 Subject: Saluting the Menu Maven In-Reply-To: <8C77800CE377C6C-A84-EF33@FWM-R35.sysops.aol.com> References: <8C77800CE377C6C-A84-EF33@FWM-R35.sysops.aol.com> Message-ID: At 10:55 PM -0400 8/25/2005, simplsol at aol.com wrote: >I was out of town last Saturday when Jeanne DeVoto presented the >menu tutorial and have just finished reading the chat log and >reviewing the demos. > My first impression was "WOW!" Thanks . Jacque really deserves 90% or better of the credit here - she made it all easy, prepared the templates and project-managed the whole thing, not to mention hosting the online conf. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From revolution at jaedworks.com Fri Aug 26 03:42:50 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 26 Aug 2005 00:42:50 -0700 Subject: Saluting the Menu Maven In-Reply-To: References: Message-ID: At 11:11 PM -0500 8/25/2005, Ken Ray wrote: >BTW: The only addition I'd make to what Jeanne said is that when you want to >find out what the currently selected menu item is for a menu button, you >should probably check the 'selectedText' property of the button instead of >the 'label' property. The reason I say this is that the label of a button >can be changed (for example, to truncate the selected menu item and add an >ellipsis to it so it doesn't overlap the width of the button), but the >selectedText doesn't change. Of course if you're not doing anything that >changes the label, checking the label is just as good... You're right, this is an excellent tip (so much I repeat the whole thing to make sure everyone reads it at least once ;-). Per Jacque's suggestion, I tried to keep the stuff in the stack to fairly basic things - for new developers, who've created some objects and have a basic knowledge of Revolution, but aren't necessarily experts. (I'm flattered that expert users found something new/valuable in it!) So there are a lot of tips and tricks that I didn't include in order to make sure the basic information got through without overloading people. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From dick.kriesel at mail.com Fri Aug 26 04:09:56 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 26 Aug 2005 01:09:56 -0700 Subject: Saluting the Menu Maven In-Reply-To: Message-ID: On 8/26/05 12:42 AM, "Jeanne A. E. DeVoto" wrote: > there are a lot of tips and tricks that I didn't include > in order to make sure the basic information got through > without overloading people Tantalizing! Please, Jeanne, would you share the rest of tips and tricks too? -- Dick From patrend at bigpond.com Fri Aug 26 05:15:33 2005 From: patrend at bigpond.com (Pat Trendler) Date: Fri, 26 Aug 2005 19:15:33 +1000 Subject: Dan's new ebook Message-ID: <018401c5aa1e$b8f54630$0200000a@super> I think I must have been the first to try out the new way to buy Dan's book and had a slight prob, so if you have been reading the prev emails this is to let you know that everything now is working fine. But, more importantly, to tell you if you don't have this book yet - then buy it now. I don't know what the equivalent is of "can't put it down" (maybe "can't click the close box"). There's not only a great deal of information, but it's great reading too. Well worth every cent. Great for newbies, in-betweens and oldies. A very happy customer. (normally a grumpy old woman - bitching about everything) Pat patrend at bigpond.com From scott at proherp.com Fri Aug 26 05:26:04 2005 From: scott at proherp.com (Scott Kane) Date: Fri, 26 Aug 2005 19:26:04 +1000 Subject: Dan's new ebook In-Reply-To: <018401c5aa1e$b8f54630$0200000a@super> Message-ID: <000001c5aa20$3441f3a0$0201010a@proherps56yaxv> G'day Pat, > A very happy customer. (normally a grumpy old woman - bitching about > everything) Looks like I'll have to save some pocket money then... Scott From gcsaba2 at freemail.hu Fri Aug 26 06:00:13 2005 From: gcsaba2 at freemail.hu (Gajo Csaba) Date: Fri, 26 Aug 2005 12:00:13 +0200 (CEST) Subject: Two very simple questions Message-ID: Btw. while we're at the subject of bugs, I took a screenshot of another one: http://upl.silentwhisper.net/uplfolders/upload9/screenshot_65812.gif That text box and the revDocLibrary button appears "after some time". I don't know how to reproduce it, but it happenned to me on more than just one occasion. Usually I have some application that I'm writing, and I switch over to the browser to see something, then perhaps switch to playing some music, then I switch back to Revolution and there it is. And it can't be removed, the button remains there above the dictionary list box, and to see what's underneath the button I have to click on a list item to select it, and then it will display its text. _______________________________________________________________________ [freemail] extra 1GB-os postafi?kkal, ?nnek m?r van? http://freemail.hu From rrevolution at softhome.net Fri Aug 26 06:08:54 2005 From: rrevolution at softhome.net (Revolution) Date: Fri, 26 Aug 2005 13:08:54 +0300 Subject: label : set a string as the label of a label Message-ID: <528342124.20050826130854@softhome.net> Friday, August 26, 2005 1:08:22 PM (GMT +02:00) Hi, how do I set a string as a label of a label? 10x I'm a newbie, so, sorry. regards, Adrian C. From klaus at major-k.de Fri Aug 26 06:09:27 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 26 Aug 2005 12:09:27 +0200 Subject: Two very simple questions In-Reply-To: References: Message-ID: J? napot Gajo, > Btw. while we're at the subject of bugs, I took a screenshot of > another > one: > > http://upl.silentwhisper.net/uplfolders/upload9/screenshot_65812.gif > > That text box and the revDocLibrary button appears "after some > time". I > don't know how to reproduce it, but it happenned to me on more than > just one occasion. Usually I have some application that I'm > writing, and > I switch over to the browser to see something, then perhaps switch to > playing some music, then I switch back to Revolution and there it > is. And > it can't be removed, the button remains there above the dictionary > list > box, and to see what's underneath the button I have to click on a list > item to select it, and then it will display its text. this only happens when you select "Show invisbile objects" from the "View" menu. And this will of course show ALL invisible objects in the docs etc.., too :-) Already in BugZilla! Szervusz from germany Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Fri Aug 26 06:12:34 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 26 Aug 2005 12:12:34 +0200 Subject: label : set a string as the label of a label In-Reply-To: <528342124.20050826130854@softhome.net> References: <528342124.20050826130854@softhome.net> Message-ID: Hi Adrian > Friday, August 26, 2005 1:08:22 PM (GMT +02:00) > > Hi, > > how do I set a string as a label of a label? > > 10x set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" set the label of fld "your label field here" to "New label" ;-) A "Label" field is just an ordinary field which is not editable and has some more properties (showborder etc...) "pre"-set. > I'm a newbie, so, sorry. No need to excuse! > regards, > Adrian C. Regards Klaus Major klaus at major-k.de http://www.major-k.de From jvalle at 1234web.net Fri Aug 26 06:17:34 2005 From: jvalle at 1234web.net (jvalle at 1234web.net) Date: Fri, 26 Aug 2005 12:17:34 +0200 Subject: Two very simple questions In-Reply-To: References: Message-ID: <20050826121631.49E4.JVALLE@1234web.net> Hi Csaba, unfortunately I can't help you, I have no experience whit those tools. Thanks, Jose > > > Btw. while we're at the subject of bugs, I took a screenshot of another > one: > > http://upl.silentwhisper.net/uplfolders/upload9/screenshot_65812.gif > > That text box and the revDocLibrary button appears "after some time". I > don't know how to reproduce it, but it happenned to me on more than > just one occasion. Usually I have some application that I'm writing, and > I switch over to the browser to see something, then perhaps switch to > playing some music, then I switch back to Revolution and there it is. And > it can't be removed, the button remains there above the dictionary list > box, and to see what's underneath the button I have to click on a list > item to select it, and then it will display its text. > > _______________________________________________________________________ > [freemail] extra 1GB-os postafi?kkal, ?nnek m?r van? http://freemail.hu > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From alex at tweedly.net Fri Aug 26 06:19:51 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 26 Aug 2005 11:19:51 +0100 Subject: Where to put the ( ) ? In-Reply-To: References: <430E5C7F.5050308@tweedly.net> Message-ID: <430EECC7.5000000@tweedly.net> Jason Vickers wrote: > Alex, > I now have the code correct, but it is not returning the line number > of the > field - it returns the text in that line. I thought clickLine was > supposed > to return the line number. Did I misread that part in the "help" > section? But this happens when I run it from Revolution. > > When I build my standalone and get the clickLine of the field, my > variable is empty. > > It is frustrating because the app worked a couple of days ago and just > stopped working. I just put in the <> this today > because everything had stopped working. > clickLine() gives a chunk expression describing the selected line value of clickLine() therefore is the content of that line As Mark said - it sounds like you want "word 2 of clickLine()" -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.15/80 - Release Date: 23/08/2005 From jvalle at 1234web.net Fri Aug 26 06:34:34 2005 From: jvalle at 1234web.net (jvalle at 1234web.net) Date: Fri, 26 Aug 2005 12:34:34 +0200 Subject: Two very simple questions In-Reply-To: <20050826121631.49E4.JVALLE@1234web.net> References: <20050826121631.49E4.JVALLE@1234web.net> Message-ID: <20050826123301.49EC.JVALLE@1234web.net> Sorry, previous message, was a mistake. Jose From 36degrees at runrev.com Fri Aug 26 07:02:34 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Fri, 26 Aug 2005 12:02:34 +0100 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 In-Reply-To: References: Message-ID: <1125054154.8612.171.camel@rachmaninov> > > repeat while(x+1) < 10 > > put word(x+1) of "This is a test" > > > >Although this is consistent, it still *looks* wrong to me... it looks like > >"while" and "word" are functions in the example above. Is it just me, or is > >this a bug that has been in the engine for a long time? > > Well, it's been in the engine a long time. I'm not sure I'd > categorize it as a bug, per se... more of a "forgiveness" feature of > the parser. This kind of forgiveness appears in other areas too - for > example, you can write "firstVar&&secondVar" with no spaces, or "get > rect of field 1" (with no "the") and it will work. Indeed, the engine is a little too forgiving in places but there are actually two separate issues here - one related to tokenisation and one related to parsing. In regards to things such as "firstVar&&secondVar" and "word(x+1)" then this is quite standard in the way the first step of parsing (tokenisation) is performed. In any language's character-set a certain set of characters will be defined as 'delimiters' that always terminate a previous token and begin a new one. In transcript the delimiters are (more or less): { | } ~ ^ [ \ ] ; : < = > / * ( ) & % # " ! [ + plus a few high bit-set 'Mac' characters which I can't type in Linux ] All of these delimiter characters are considered tokens in their own right except: - " which starts a string - # which starts a comment until the end of line - '--' which starts a comment until the end of line - /* which starts a comment until */ After splitting up by these delimiters the engine throws away all white- space (, and ) and comments and is then left with a sequence of tokens. This means that a string such as: word(1+tVar[100])of("abc def ghi") is split up as: 'word' '(' '1' '+' 'tVar' '[' '100' ']' ')' 'of' '(' '"abc def ghi"')' The 'the' issue is slightly different as this is do with a later stage of processing - that of parsing (where the stream of tokens is built into the actual commands and functions to be executed). This is a particular case where the engine is a little lapse in making a noise (historically this was to help enable porting SuperCard and HyperCard stacks to Revolution). Indeed, I am reliably informed that Scott Raney always used to periodically remind people to always use 'the' as a prefix for property accesses and I will continue this trend: please always use 'the'. Indeed, caveat-those-that-do-not-use-the-the :o) Just to clarify, 'the' should always be used when accessing properties (it is already mandatory when using the property syntax form of engine functions). So you should write: set the cCustomRect of me to the rect of me *not* set cCustomRect of me to rect of me And you should write: put the dontUseQT *not* put dontUseQT > I think the upside is that the syntax is a little looser, but the > downside is that someone may get used to an erroneous way of writing > code, only to get into trouble if it gets tightened up down the > line.... As Jeanne looks into her crystal ball ;o) Overall, the engine at present is quite forgiving in what syntax you give it and this is as much a curse as it is a blessing. My general advice is to always follow the syntax as specified in the documentation *including* making sure you use appropriate connecting keywords. [ I'd also hope to convince people to stop using the shortened form of control type keywords over time but I fear that if I am too vocal about this I might run the risk of being pummeled with fruit ;o) ] The motivation for giving this advice is a very pragmatic one: the tighter the syntax of Transcript becomes, the more powerful it can be in the future. The eventual result being a great reduction in the number of lines of code you need to write to solve a particular problem. Warmest Regards, Mark. ------------------------------------------------------------------ Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From rp011s7075 at blueyonder.co.uk Fri Aug 26 07:36:35 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Fri, 26 Aug 2005 12:36:35 +0100 Subject: Disclosure Triangles in Fields Message-ID: <81324BAC-CF59-49AA-B637-864301259CDC@blueyonder.co.uk> > Hello Everyone, > > How do you provide disclosure triangles in a field? > Have a look at: http://revolution.lexicall.org/stacks_education.php (the education stacks gallery) Last item in the list: treeview. or go to stack url (http://revolution.lexicall.org/stacks/education/ tools_plugins/tree_view.rev) (make sure it is in one line) Best, Marielle ------------------------------------------------------------------------ ------------------------ Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From klaus at major-k.de Fri Aug 26 07:37:45 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 26 Aug 2005 13:37:45 +0200 Subject: label : set a string as the label of a label In-Reply-To: References: <528342124.20050826130854@softhome.net> Message-ID: <8B6151BF-E95A-4D45-B5CE-9DB7A73D2671@major-k.de> Hi Adrian and all, > Hi Adrian >> Friday, August 26, 2005 1:08:22 PM (GMT +02:00) >> >> Hi, >> >> how do I set a string as a label of a label? >> >> 10x > > set the label of fld "your label field here" to "New label" > set the label of fld "your label field here" to "New label" > set the label of fld "your label field here" to "New label" > set the label of fld "your label field here" to "New label" > set the label of fld "your label field here" to "New label" > set the label of fld "your label field here" to "New label" > set the label of fld "your label field here" to "New label" > set the label of fld "your label field here" to "New label" > set the label of fld "your label field here" to "New label" > set the label of fld "your label field here" to "New label" this is 10 times rubbish :-) Sorry, but i mixed fields with buttons, which can have labels... Fields do NOT have a label property. Simply write: put "New label text here..." into fld "your label field here" I'm getting old... Regards Klaus Major klaus at major-k.de http://www.major-k.de From rp011s7075 at blueyonder.co.uk Fri Aug 26 08:26:08 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Fri, 26 Aug 2005 13:26:08 +0100 Subject: use-revolution Digest, Vol 23, Issue 49 In-Reply-To: <20050815020853.D5CE3824F0E@mail.runrev.com> References: <20050815020853.D5CE3824F0E@mail.runrev.com> Message-ID: <36963923-9C33-4042-8810-F6323F04AB63@blueyonder.co.uk> > 1. Have any of you done an implementation of the Prisoner's Dilemma > in Rev? Richard, There is a web-based version of it: http://serendip.brynmawr.edu/playground/pd.html And some reference material: http://serendip.brynmawr.edu/playground/pdref.html Marielle From scott at proherp.com Fri Aug 26 08:32:55 2005 From: scott at proherp.com (Scott Kane) Date: Fri, 26 Aug 2005 22:32:55 +1000 Subject: Transparent Images Message-ID: <000001c5aa3a$4baf4550$0201010a@proherps56yaxv> Hi folks, I've tried in vain to get image transparency on buttons in Rev. The pink color used in other IDE's are not transparent in Rev. Nor is a white background. Can anybody suggest a way to set the transparency color in images imported into Rev? Kind Regards, Scott From revolution at derbrill.de Fri Aug 26 09:12:24 2005 From: revolution at derbrill.de (Malte Brill) Date: Fri, 26 Aug 2005 15:12:24 +0200 Subject: Transparent Images In-Reply-To: <20050826100344.6D96C825587@mail.runrev.com> Message-ID: <0B424C8F-1633-11DA-83E3-0030659A795C@derbrill.de> Hi Scott, the best way is to import images that have an alpha channel. e.g. png or .gif files. I prefer png files, as gif has many disadvantages. You might be interested in this small tutorial: http://www.derbrill.de/revstack/pngvsgif.rev.zip or in the messagebox: go stack URL "http://www.derbrill.de/revstack/pngvsgif.rev" If it is for existing images, you could try playing around with ink (see ink in the dictionary) However, preparing the images in an image editor gives better results. Hope that helps, Malte >Hi folks, >I've tried in vain to get image transparency >on buttons in Rev. The pink color used in >other IDE's are not transparent in Rev. Nor >is a white background. Can anybody suggest >a way to set the transparency color in images >imported into Rev? ------------------------------------------------------------------------ ------------ ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum Help flood victims from Switzerland: http://www.derbrill.de From rev at armbase.com Fri Aug 26 09:31:23 2005 From: rev at armbase.com (rev at armbase.com) Date: Fri, 26 Aug 2005 14:31:23 +0100 Subject: parse a line into fields Message-ID: <20050826143123.uls5c896zossogo4@webmail.armbase.com> Hi All. I've read a binary file containing entries in a database and put each record on a line in a field. I dont know how to write in a wee square so imagine the 9 is a square. The fields has records in it like this 999oppn9999date9999loca9999rslt9999fltr9999note9999rec1999rec2 999rec399rec4999rec599rec6 Now the number of squares can be variable (normally from 2->4) and the line can have blank spaces in it (not in amongst the squares) It seems like the squares are the delimiters. The first entries are the field names (eg 6 entries) the later ones (again 6 entries) are the data. So I could get my data by counting the number of entries in the line, divide by two, put the result into a variable varentries --and put the entries into a field via put item varentries+1 into firstitem put firstitem into field 1 put firstitem+1 into firstitem etc etc But how do I ignore the squares and have them as an entry delimiter. Heeeeeeeeelp :-) Cheers Bob From eric.chatonet at sosmartsoftware.com Fri Aug 26 09:39:43 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 26 Aug 2005 15:39:43 +0200 Subject: parse a line into fields In-Reply-To: <20050826143123.uls5c896zossogo4@webmail.armbase.com> References: <20050826143123.uls5c896zossogo4@webmail.armbase.com> Message-ID: Hi Bob, I would first check that the squares mean all the same char: In the message box: put charToNum("9") with some "9" picked here and there. If it's the same char (I think so): it's the delimiter (when you have 1, 2 or 3 "9", it probably means that the data are empty): replace "9" with tab in tDataOutput put tDataOutput into fld "I want to see it" set the tabstops of the field according to its contents :-) Hope this helps. Le 26 ao?t 05 ? 15:31, rev at armbase.com a ?crit : > I've read a binary file containing entries in a database and put > each record on > a line in a field. > > I dont know how to write in a wee square so imagine the 9 is a square. > > The fields has records in it like this > 999oppn9999date9999loca9999rslt9999fltr9999note9999rec1999rec2 > 999rec399rec4999rec599rec6 > Now the number of squares can be variable (normally from 2->4) and > the line can > have blank spaces in it (not in amongst the squares) > > It seems like the squares are the delimiters. The first entries are > the field > names (eg 6 entries) the later ones (again 6 entries) are the data. > So I could get my data by counting the number of entries in the line, > divide by two, > put the result into a variable varentries > --and put the entries into a field via > put item varentries+1 into firstitem > put firstitem into field 1 > put firstitem+1 into firstitem > etc etc > > But how do I ignore the squares and have them as an entry delimiter. Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From rev at armbase.com Fri Aug 26 09:48:47 2005 From: rev at armbase.com (rev at armbase.com) Date: Fri, 26 Aug 2005 14:48:47 +0100 Subject: parse a line into fields In-Reply-To: References: <20050826143123.uls5c896zossogo4@webmail.armbase.com> Message-ID: <20050826144847.y98aedi76s4s488c@webmail.armbase.com> Quoting Eric Chatonet : > Hi Bob, Hi Eric > > I would first check that the squares mean all the same char: Yes I'm certain it is the same char. > In the message box: put charToNum("9") with some "9" picked here and there. > If it's the same char (I think so): it's the delimiter (when you have > 1, 2 or 3 "9", it probably means that the data are empty): > replace "9" with tab in tDataOutput > put tDataOutput into fld "I want to see it" > set the tabstops of the field according to its contents :-) :-) I'm afraid I'm completely lost. Been working in a hospital for the past while and my brain is not xtalking. :-) I'll need to work on this I think. :-) Thanks Bob > Hope this helps. > > Le 26 ao?t 05 ? 15:31, rev at armbase.com a ?crit : > >> I've read a binary file containing entries in a database and put >> each record on >> a line in a field. >> >> I dont know how to write in a wee square so imagine the 9 is a square. >> >> The fields has records in it like this >> 999oppn9999date9999loca9999rslt9999fltr9999note9999rec1999rec2 >> 999rec399rec4999rec599rec6 >> Now the number of squares can be variable (normally from 2->4) and >> the line can >> have blank spaces in it (not in amongst the squares) >> >> It seems like the squares are the delimiters. The first entries are >> the field >> names (eg 6 entries) the later ones (again 6 entries) are the data. >> So I could get my data by counting the number of entries in the line, >> divide by two, >> put the result into a variable varentries >> --and put the entries into a field via >> put item varentries+1 into firstitem >> put firstitem into field 1 >> put firstitem+1 into firstitem >> etc etc >> >> But how do I ignore the squares and have them as an entry delimiter. > > Best Regards from Paris, > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > > Free plugins and tutorials on my website > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rev at armbase.com Fri Aug 26 09:51:09 2005 From: rev at armbase.com (rev at armbase.com) Date: Fri, 26 Aug 2005 14:51:09 +0100 Subject: parse a line into fields In-Reply-To: <20050826144847.y98aedi76s4s488c@webmail.armbase.com> References: <20050826143123.uls5c896zossogo4@webmail.armbase.com> <20050826144847.y98aedi76s4s488c@webmail.armbase.com> Message-ID: <20050826145109.whfcc2b94wc4gwog@webmail.armbase.com> Quoting rev at armbase.com: How do you copy the text of a field to the clipboard. I can then paste it into the next mail and show you the text. Only 6 lines long. Cheers Bob > Quoting Eric Chatonet : > >> Hi Bob, > > Hi Eric >> >> I would first check that the squares mean all the same char: > > Yes I'm certain it is the same char. > >> In the message box: put charToNum("9") with some "9" picked here and there. >> If it's the same char (I think so): it's the delimiter (when you >> have 1, 2 or 3 "9", it probably means that the data are empty): >> replace "9" with tab in tDataOutput >> put tDataOutput into fld "I want to see it" >> set the tabstops of the field according to its contents :-) > > :-) I'm afraid I'm completely lost. Been working in a hospital for the past > while and my brain is not xtalking. :-) > > I'll need to work on this I think. :-) > > > Thanks > Bob > >> Hope this helps. >> >> Le 26 ao?t 05 ? 15:31, rev at armbase.com a ?crit : >> >>> I've read a binary file containing entries in a database and put >>> each record on >>> a line in a field. >>> >>> I dont know how to write in a wee square so imagine the 9 is a square. >>> >>> The fields has records in it like this >>> 999oppn9999date9999loca9999rslt9999fltr9999note9999rec1999rec2 >>> 999rec399rec4999rec599rec6 >>> Now the number of squares can be variable (normally from 2->4) and >>> the line can >>> have blank spaces in it (not in amongst the squares) >>> >>> It seems like the squares are the delimiters. The first entries are >>> the field >>> names (eg 6 entries) the later ones (again 6 entries) are the data. >>> So I could get my data by counting the number of entries in the line, >>> divide by two, >>> put the result into a variable varentries >>> --and put the entries into a field via >>> put item varentries+1 into firstitem >>> put firstitem into field 1 >>> put firstitem+1 into firstitem >>> etc etc >>> >>> But how do I ignore the squares and have them as an entry delimiter. >> >> Best Regards from Paris, >> >> Eric Chatonet. >> ---------------------------------------------------------------- >> So Smart Software >> >> For institutions, companies and associations >> Built-to-order applications: management, multimedia, internet, etc. >> Windows, Mac OS and Linux... With the French touch >> >> Free plugins and tutorials on my website >> ---------------------------------------------------------------- >> Web site http://www.sosmartsoftware.com/ >> Email eric.chatonet at sosmartsoftware.com/ >> Phone 33 (0)1 43 31 77 62 >> Mobile 33 (0)6 20 74 50 86 >> ---------------------------------------------------------------- >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dburgun at dsl.pipex.com Fri Aug 26 09:59:44 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 26 Aug 2005 14:59:44 +0100 Subject: Setting the Border Color In-Reply-To: References: <20050826143123.uls5c896zossogo4@webmail.armbase.com> Message-ID: Hi, How do I set the Border Color for a Field? I have the following code on a field: on dragEnter set the dropAccept to true set the borderColor of the target to "green" pass dragEnter end dragEnter But the color doesn't change! I have tried this from the IDE and the only Color I seem to be able to change and have it show it the Foreground Color? Any ideas? Thanks a lot and have a Great Weekend! All the Best Dave From eric.chatonet at sosmartsoftware.com Fri Aug 26 10:04:01 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 26 Aug 2005 16:04:01 +0200 Subject: Setting the Border Color In-Reply-To: References: <20050826143123.uls5c896zossogo4@webmail.armbase.com> Message-ID: <5FDEFD97-97FB-4B26-B273-5221B69E076F@sosmartsoftware.com> Hi Dave, The borderColor feature is only available when the threeD property of the field is set to false :-) Le 26 ao?t 05 ? 15:59, David Burgun a ?crit : > How do I set the Border Color for a Field? > > I have the following code on a field: > > on dragEnter > set the dropAccept to true > set the borderColor of the target to "green" > pass dragEnter > end dragEnter > > > But the color doesn't change! I have tried this from the IDE and > the only Color I seem to be able to change and have it show it the > Foreground Color? Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From kray at sonsothunder.com Fri Aug 26 10:04:02 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 26 Aug 2005 09:04:02 -0500 Subject: parse a line into fields In-Reply-To: <20050826143123.uls5c896zossogo4@webmail.armbase.com> Message-ID: On 8/26/05 8:31 AM, "rev at armbase.com" wrote: > Hi All. > > I've read a binary file containing entries in a database and put each record > on > a line in a field. > > I dont know how to write in a wee square so imagine the 9 is a square. > > The fields has records in it like this > 999oppn9999date9999loca9999rslt9999fltr9999note9999rec1999rec2 > 999rec399rec4999rec599rec6 > Now the number of squares can be variable (normally from 2->4) and the line > can > have blank spaces in it (not in amongst the squares) You can use a variation of the code I mentioned a few days ago... at that time, I was trying to convert space runs of 1 or more spaces to only be 1 space. You can use the same approach for converting your box characters to some other delimiter (like a tab) for easy processing. Something likes this (assuming your boxes are something like numToChar(1)): put replaceText(tData,numToChar(1) & "+",tab) into tData HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Fri Aug 26 10:06:15 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 26 Aug 2005 09:06:15 -0500 Subject: Setting the Border Color In-Reply-To: Message-ID: On 8/26/05 8:59 AM, "David Burgun" wrote: > Hi, > > How do I set the Border Color for a Field? > > I have the following code on a field: > > on dragEnter > set the dropAccept to true Uh, this is "acceptDrop". That should fix it... BTW: Don't forget to reset the borderColor on dragLeave... something like this: on dragEnter set the acceptDrop to true set the borderColor of the target to green pass dragEnter end dragEnter on dragLeave set the borderColor of the target to "" end dragLeave HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Fri Aug 26 10:13:32 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 26 Aug 2005 09:13:32 -0500 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 In-Reply-To: <1125054154.8612.171.camel@rachmaninov> Message-ID: On 8/26/05 6:02 AM, "Mark Waddingham" <36degrees at runrev.com> wrote: > Indeed, the engine is a little too forgiving in places but there are > actually two separate issues here - one related to tokenisation and one > related to parsing. Thanks for the clarification, Mark... it really helps me understand what's going on. > [ I'd also hope to convince people to stop using the shortened form of > control type keywords over time but I fear that if I am too vocal about > this I might run the risk of being pummeled with fruit ;o) ] How about the opposite? Stop using the *long* form... it means less typing and you get the same effect (see your subject line)... (he said, dodging fruit) ;-) > The motivation for giving this advice is a very pragmatic one: the > tighter the syntax of Transcript becomes, the more powerful it can be in > the future. The eventual result being a great reduction in the number of > lines of code you need to write to solve a particular problem. Agreed. Thanks, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From rev at armbase.com Fri Aug 26 10:18:32 2005 From: rev at armbase.com (rev at armbase.com) Date: Fri, 26 Aug 2005 15:18:32 +0100 Subject: parse a line into fields In-Reply-To: References: Message-ID: <20050826151832.kuwsjqru8s0c8sgw@webmail.armbase.com> Quoting Ken Ray : Hi Eric and Ken (and other of course) >> have blank spaces in it (not in amongst the squares) Here is a gif of the field http://www.armbase.com/squares.gif All the best Bob > > You can use a variation of the code I mentioned a few days ago... at that > time, I was trying to convert space runs of 1 or more spaces to only be 1 > space. You can use the same approach for converting your box characters to > some other delimiter (like a tab) for easy processing. > > Something likes this (assuming your boxes are something like numToChar(1)): > > put replaceText(tData,numToChar(1) & "+",tab) into tData > > HTH, > > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at proherp.com Fri Aug 26 10:19:19 2005 From: scott at proherp.com (Scott Kane) Date: Sat, 27 Aug 2005 00:19:19 +1000 Subject: Transparent Images In-Reply-To: <0B424C8F-1633-11DA-83E3-0030659A795C@derbrill.de> Message-ID: <000001c5aa49$2f267070$0201010a@proherps56yaxv> Hi Malte > Hi Scott, the best way is to import images that have an alpha > channel. > e.g. png or .gif files. I prefer png files, as gif has many > disadvantages. You might be interested in this small tutorial: Thanks for this I'll check it out in the morning (it's 12:18 am Saturday here). :-) Scott From rp011s7075 at blueyonder.co.uk Fri Aug 26 11:02:11 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Fri, 26 Aug 2005 16:02:11 +0100 Subject: Spell Checker Message-ID: <8C4CC0B4-41A5-4B00-8533-6DEB9E76EEA9@blueyonder.co.uk> > BTW, where do you guys get the words list ? You can try this: http://lexicall.org/repository/listing.php? material=data&category=words&language=english (make sure it is in one line) And, for instance select the MRC database. Marielle ------------------------------------------------------------------------ ---------------------------------------- Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From rp011s7075 at blueyonder.co.uk Fri Aug 26 11:04:51 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Fri, 26 Aug 2005 16:04:51 +0100 Subject: Spell Checker Message-ID: <29266029-5C8B-466E-B983-CAB9A93385E0@blueyonder.co.uk> > well, that's very kind; but I guess it's english words only... > actually I'm looking for the same kind of thing in french... > any clue ? Easy enough: http://lexicall.org/repository/listing.php? material=data&category=words&language=french (yes, same line but with french defined as language rather than english) Choose brulex or lexique (the lexique.org website has been very often down this month, you may have to try a few days in a row). Best, Marielle ------------------------------------------------------------------------ -------------------------------- Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From jeff at siphonophore.com Fri Aug 26 11:07:02 2005 From: jeff at siphonophore.com (Jeffrey Reynolds) Date: Fri, 26 Aug 2005 11:07:02 -0400 Subject: Mac Classic standalones In-Reply-To: <20050826144154.2ABB28255B5@mail.runrev.com> References: <20050826144154.2ABB28255B5@mail.runrev.com> Message-ID: Is the Mac Classic Rev2.5 engine still functional to build standalone apps from Rev2.6 (osx)? Is there going to be a rev2.6 mac classic engine? thanks jeff reyonlds From gcanyon at inspiredlogic.com Fri Aug 26 11:09:57 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri, 26 Aug 2005 08:09:57 -0700 Subject: Debugger Trouble! In-Reply-To: <430E29DA.4090404@hyperactivesw.com> References: <430E29DA.4090404@hyperactivesw.com> Message-ID: <2B557F75-1E08-4434-99E1-79813735EC5B@inspiredlogic.com> On Aug 25, 2005, at 1:28 PM, J. Landman Gay wrote: > on test > put "abc" into myString > add 1 to mystring -- error condition > get doSomething(myString) > end test Someone has to say it -- this is where static typing would come in handy... That or a smarter compiler that can see the (somewhat obvious) problem with this code. From rjb at robelko.com Fri Aug 26 10:43:36 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 26 Aug 2005 16:43:36 +0200 Subject: parse a line into fields In-Reply-To: <20050826151832.kuwsjqru8s0c8sgw@webmail.armbase.com> References: <20050826151832.kuwsjqru8s0c8sgw@webmail.armbase.com> Message-ID: >Quoting Ken Ray : > >Hi Eric and Ken (and other of course) > >>>have blank spaces in it (not in amongst the squares) > >Here is a gif of the field >http://www.armbase.com/squares.gif > >All the best >Bob Bob, to make sure what's going on make a button with a following script put "theNameOfYourField" into f -- insert your field name here put empty into v get line (the hilitedlines of fld f) of fld f -- or just get line 1 repeat for each char i in it if chartonum(i)<32 then -- control character put "[" & chartonum(i) & "]" after v else if chartonum(i)>126 then -- high-ascii put "[" & chartonum(i) & slash & i & "]" after v else -- normal character put i after v end if end repeat answer v This will allow you to analyse what you have there in your lines. Then you can use 'replace' to get rid of those characters replacing each run with a single tab. Robert From pevensen at siboneylg.com Fri Aug 26 11:21:32 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Fri, 26 Aug 2005 10:21:32 -0500 Subject: Profiles Message-ID: <6.2.1.2.2.20050826101753.06887008@exchange.slg.com> Is anyone here using profiles? The htmlText in my fields keeps getting blown away (set to "

") when I switch profiles. It is very annoying. I'm not sure if it is a bug or if I'm doing something wrong. I have a field with 3 profiles: "Master", "LevelA", and "LevelB". The htmlText is different between LevelA and LevelB. I get it set up properly. Type 'revSetStackProfile "LevelB"' in the message box, and then the htmlText for LevelB gets set to "

" Any thoughts? I've finally given up and created two fields, one for LevelA and one for LevelB, and make appropriate one invisible when that profile is active. While this works, it is klugey. Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From rev at armbase.com Fri Aug 26 11:31:10 2005 From: rev at armbase.com (rev at armbase.com) Date: Fri, 26 Aug 2005 16:31:10 +0100 Subject: parse a line into fields In-Reply-To: References: <20050826151832.kuwsjqru8s0c8sgw@webmail.armbase.com> Message-ID: <20050826163110.vylnvrec5wswwkko@webmail.armbase.com> Quoting Robert Brenstein : Hi there > > Bob, to make sure what's going on make a button with a following script > > put "theNameOfYourField" into f -- insert your field name here > put empty into v > get line (the hilitedlines of fld f) of fld f -- or just get line 1 > repeat for each char i in it > if chartonum(i)<32 then -- control character > put "[" & chartonum(i) & "]" after v > else if chartonum(i)>126 then -- high-ascii > put "[" & chartonum(i) & slash & i & "]" after v > else -- normal character > put i after v > end if > end repeat > answer v OK it is now clearer The lines look like [0][6]oppn[0][0][0][2]date[0][0][0][3]etc etc In other words... The data items are not in brackets. So the data items are chartonum >126 I assume it could be parsed per line by taking only the items without a bounding []. I could then for example set the item delimiter to ], ignore the item if it starts with [ ? Would that work? All the best bob > > This will allow you to analyse what you have there in your lines. > Then you can use 'replace' to get rid of those characters replacing > each run with a single tab. > > Robert > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Fri Aug 26 11:32:34 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 26 Aug 2005 08:32:34 -0700 Subject: Mac Classic standalones In-Reply-To: References: <20050826144154.2ABB28255B5@mail.runrev.com> Message-ID: <63FB5D27-8058-4EA5-A5C9-6DA902873C50@danshafer.com> Yes and I don't know. On Aug 26, 2005, at 8:07 AM, Jeffrey Reynolds wrote: > Is the Mac Classic Rev2.5 engine still functional to build > standalone apps from Rev2.6 (osx)? Is there going to be a rev2.6 > mac classic engine? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html From eric.chatonet at sosmartsoftware.com Fri Aug 26 11:37:53 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 26 Aug 2005 17:37:53 +0200 Subject: parse a line into fields In-Reply-To: <20050826163110.vylnvrec5wswwkko@webmail.armbase.com> References: <20050826151832.kuwsjqru8s0c8sgw@webmail.armbase.com> <20050826163110.vylnvrec5wswwkko@webmail.armbase.com> Message-ID: <91FFB486-2C84-42AF-B986-0DAC482E8673@sosmartsoftware.com> Hi Bob, That's not completely true: all accentuated vowels, ligatures, some signs like the copyright symbol and many other ones have an ASCII code greater than 126. Le 26 ao?t 05 ? 17:31, rev at armbase.com a ?crit : > OK it is now clearer > > The lines look like > [0][6]oppn[0][0][0][2]date[0][0][0][3]etc etc > > In other words... The data items are not in brackets. > > So the data items are chartonum >126 Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From simplsol at aol.com Fri Aug 26 12:16:35 2005 From: simplsol at aol.com (simplsol at aol.com) Date: Fri, 26 Aug 2005 12:16:35 -0400 Subject: Saluting the Menu Maven In-Reply-To: References: <8C77800CE377C6C-A84-EF33@FWM-R35.sysops.aol.com> Message-ID: <8C77870AA60E2EF-CE4-B82A@FWM-R38.sysops.aol.com> JAED, brilliant, talented.....and gracious! Of course Jacque is the patron saint of xCarding. A measure of how good she is, is the way we all take her for granted. Paul Looney PS What do you think of adding an "Addenda" page to the scripting conference stacks? This could serve for all those minor afterthoughts, corrections, additions, etc. It could only be edited by the author of the conference and additions would be chronological. For instance: Ken had a suggestion after the conference about button menus. He could submit it to Jeanne. If Jeanne thought this was a good idea she could add it to the addenda page, crediting Ken and dating the addition. Anyone reviewing menus could call up this conference and see if anything had been added since the last visit. This would help keep the conference material correct and current longer without rewriting the entire stack. It would also generate input from people who have something valuable to contribute but lack the copious knowledge, time, or talent to do the whole conference themselves. It would be easier to find comments like Ken's in an addenda conference stack than searching all of the How to use Revolution archives. The tutorials would become even more valuable over time. And when the time came to rewrite one of the tutorials, the addenda information would be conveniently accessible to the tutorial author. -----Original Message----- From: Jeanne A. E. DeVoto To: How to use Revolution Cc: simplsol at aol.com Sent: Fri, 26 Aug 2005 00:00:18 -0700 Subject: Re: Saluting the Menu Maven At 10:55 PM -0400 8/25/2005, simplsol at aol.com wrote:? >I was out of town last Saturday when Jeanne DeVoto presented the >menu tutorial and have just finished reading the chat log and >reviewing the demos.? > My first impression was "WOW!"? ? Thanks . Jacque really deserves 90% or better of the credit here - she made it all easy, prepared the templates and project-managed the whole thing, not to mention hosting the online conf.? -- jeanne a. e. devoto ~ revolution at jaedworks.com? http://www.jaedworks.com? From mwieder at ahsoftware.net Fri Aug 26 12:28:41 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 26 Aug 2005 09:28:41 -0700 Subject: parse a line into fields In-Reply-To: References: Message-ID: <1581803963.20050826092841@ahsoftware.net> Ken- Friday, August 26, 2005, 7:04:02 AM, you wrote: > Something likes this (assuming your boxes are something like numToChar(1)): > put replaceText(tData,numToChar(1) & "+",tab) into tData Even if it's not numToChar(1), how about put char 1 of tData into tDelimiter put replaceText(tData, tDelimiter & "+", tab) into tData -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Aug 26 12:36:02 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 26 Aug 2005 09:36:02 -0700 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 In-Reply-To: References: Message-ID: <1182245378.20050826093602@ahsoftware.net> Ken- Friday, August 26, 2005, 7:13:32 AM, you wrote: > How about the opposite? Stop using the *long* form... it means less typing > and you get the same effect (see your subject line)... (he said, dodging > fruit) ;-) ...in that case *all* my stacks would stop working... A Modest Proposal: How about if we eliminate both and enforce just a single-character typing convention for objects and numeric values only for object identification? That way "field 3 of card 7" would come out to "f3c7" for a minimum of typing. The engine's parser would, of course, separate these into separate tokens "f 3 c 7" and be quite happy. Developers would have to type just four characters and the code would be much more readable because there's just one way to describe an object instead of two. The engine's parser would also run faster because it wouldn't have to discriminate between two different forms of object description. -- -Mark Wieder mwieder at ahsoftware.net From harvey.toyama at qlogic.com Fri Aug 26 12:38:48 2005 From: harvey.toyama at qlogic.com (Harvey Toyama) Date: Fri, 26 Aug 2005 09:38:48 -0700 Subject: Dan's books -- where can I get chapters 13 - 20, 22-24, etc ? Message-ID: Hi List, I bought "Software the Speed of Thought" a while ago. I just downloaded the two smartbooks from the ShaferMedia site. The book contains chapters 1-12, and the two smartbooks cover chapters 21 and 25. Anyone have a release schedule for the other chapters? -- Harvey -- Harvey Toyama QLogic Corporation 949-389-7601 From jvickers2002 at hotmail.com Fri Aug 26 12:46:31 2005 From: jvickers2002 at hotmail.com (Jason Vickers) Date: Sat, 27 Aug 2005 00:46:31 +0800 Subject: Two very simple questions References: Message-ID: Gajo, I get that one a lot. I'm pretty sure that happens because you have "Show Invisible Objects" enabled under view. Go into the menu --> view and make sure "Show Invisible Objects" is not selected. That will hide that field and button in the Reference Document. When you exit the ref document and want to see your invisibles again, re-enable "Show Invisible Objects". hth Jason ----- Original Message ----- From: "Gajo Csaba" To: Sent: Friday, August 26, 2005 6:00 PM Subject: Re: Two very simple questions Btw. while we're at the subject of bugs, I took a screenshot of another one: http://upl.silentwhisper.net/uplfolders/upload9/screenshot_65812.gif That text box and the revDocLibrary button appears "after some time". I don't know how to reproduce it, but it happenned to me on more than just one occasion. Usually I have some application that I'm writing, and I switch over to the browser to see something, then perhaps switch to playing some music, then I switch back to Revolution and there it is. And it can't be removed, the button remains there above the dictionary list box, and to see what's underneath the button I have to click on a list item to select it, and then it will display its text. _______________________________________________________________________ [freemail] extra 1GB-os postafi?kkal, ?nnek m?r van? http://freemail.hu _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From rjb at robelko.com Fri Aug 26 12:43:44 2005 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 26 Aug 2005 18:43:44 +0200 Subject: parse a line into fields In-Reply-To: <20050826163110.vylnvrec5wswwkko@webmail.armbase.com> References: <20050826151832.kuwsjqru8s0c8sgw@webmail.armbase.com> <20050826163110.vylnvrec5wswwkko@webmail.armbase.com> Message-ID: >Quoting Robert Brenstein : >Hi there >> >>Bob, to make sure what's going on make a button with a following script >> >>put "theNameOfYourField" into f -- insert your field name here >>put empty into v >>get line (the hilitedlines of fld f) of fld f -- or just get line 1 >>repeat for each char i in it >> if chartonum(i)<32 then -- control character >> put "[" & chartonum(i) & "]" after v >> else if chartonum(i)>126 then -- high-ascii >> put "[" & chartonum(i) & slash & i & "]" after v >> else -- normal character >> put i after v >> end if >>end repeat >>answer v > >OK it is now clearer > >The lines look like >[0][6]oppn[0][0][0][2]date[0][0][0][3]etc etc > >In other words... The data items are not in brackets. > >So the data items are chartonum >126 > >I assume it could be parsed per line by taking >only the items without a bounding >[]. I could then for example set the item >delimiter to ], ignore the item if it >starts with [ ? > >Would that work? > >All the best >bob No. Items with chartonum over 126 would include the actual character after slash. For example, [138/?]. The numbers in square brackets are ascii values of the control characters that you have. The bottom line of this exercise is that your squares are different control characters not a single one. How to proceed depends on a few things. Somehow, it seems to me that the data from the database is not really binary. If so, you can read it as text and Rev's engine will strip all the null characters for you. Then you can replace the remaining control characters with tabs like follows: get url ("file://" & filePath) replace numtochar(6) with tab in it replace numtochar(2) with tab in it replace numtochar(3) with tab in it It seems that there is a single non-null control character between each item, so the result will display nicely in a field with tabstops set accordingly. Should you get duplicate tabs, you could reduce them with replace tab&tab with tab in it Robert From see3d at writeme.com Fri Aug 26 13:00:25 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 26 Aug 2005 13:00:25 -0400 Subject: Saluting the Menu Maven In-Reply-To: <8C77870AA60E2EF-CE4-B82A@FWM-R38.sysops.aol.com> References: <8C77800CE377C6C-A84-EF33@FWM-R35.sysops.aol.com> <8C77870AA60E2EF-CE4-B82A@FWM-R38.sysops.aol.com> Message-ID: This is a good idea. One item that comes to mind for every conference is that the author usually has a prepared monologue of what they are going to present at the conference. I find it very choppy and hard to read in the broken up conference format. I have taken to editing the conference log to put the monologue back into a regular paragraph style. It becomes like a new tutorial card in the stack that way. It would be nice if the author was able to put in the monologue as intended into the stack (with corrections). Dennis On Aug 26, 2005, at 12:16 PM, simplsol at aol.com wrote: > JAED, brilliant, talented.....and gracious! > Of course Jacque is the patron saint of xCarding. A measure of how > good she is, is the way we all take her for granted. > Paul Looney > PS What do you think of adding an "Addenda" page to the scripting > conference stacks? This could serve for all those minor > afterthoughts, corrections, additions, etc. It could only be edited > by the author of the conference and additions would be > chronological. For instance: > Ken had a suggestion after the conference about button menus. He > could submit it to Jeanne. If Jeanne thought this was a good idea > she could add it to the addenda page, crediting Ken and dating the > addition. Anyone reviewing menus could call up this conference and > see if anything had been added since the last visit. > This would help keep the conference material correct and current > longer without rewriting the entire stack. > It would also generate input from people who have something > valuable to contribute but lack the copious knowledge, time, or > talent to do the whole conference themselves. > It would be easier to find comments like Ken's in an addenda > conference stack than searching all of the How to use Revolution > archives. > The tutorials would become even more valuable over time. > And when the time came to rewrite one of the tutorials, the > addenda information would be conveniently accessible to the > tutorial author. > > -----Original Message----- > From: Jeanne A. E. DeVoto > To: How to use Revolution > Cc: simplsol at aol.com > Sent: Fri, 26 Aug 2005 00:00:18 -0700 > Subject: Re: Saluting the Menu Maven > > At 10:55 PM -0400 8/25/2005, simplsol at aol.com wrote: > >I was out of town last Saturday when Jeanne DeVoto presented the > >menu tutorial and have just finished reading the chat log and > >> reviewing the demos. >> > > My first impression was "WOW!" > > Thanks . Jacque really deserves 90% or better of the credit > here - she made it all easy, prepared the templates and project- > managed the whole thing, not to mention hosting the online conf. > -- jeanne a. e. devoto ~ revolution at jaedworks.com > http://www.jaedworks.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rp011s7075 at blueyonder.co.uk Fri Aug 26 13:10:07 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Fri, 26 Aug 2005 18:10:07 +0100 Subject: Help with webdesign (was: I need help!!!) Message-ID: <377D1C0C-DDE5-4705-94D1-A967E8C20177@blueyonder.co.uk> > first of all Im new to html but I like learning it.I > sometimes stay on my website looking for ways to > improve it.but i don't make the things that are in my > site.I want to make the template,the > pictures,everything so I can truly say that I did my > very own site.but I need help,because I only started > about 4 weeks ago on html.I know theres other > languages out there but html is cool...its practically > unlimited to any resource.please somebody give me > somewhere to start at.thank you. Hi Jose, You will find links on webdesign on the revolution-education wiki: http://revolution.lexicall.org/wiki/tiki-index.php?page=TechnologiesWeb The secret to good web-design: use of templates. For this, you need at least CSS. Eventually CSS+PHP. You will find plenty of CSS templates at: http://revolution.lexicall.org/wiki/tiki-index.php?page=StandardsCSS The best way to learn: (1) Find some good tutorials (see the links above), to get a general idea. (2) Find inspiration (see the links above for that) (3) Use mozilla and the toolbar that let you re-edit the css of anypage. Download the extension "Edit CSS" at: https://addons.mozilla.org/quicksearch.php?q=css§ion=A (4) Find good reference websites to check out. My favourite is: http://www.w3schools.com/html/default.asp (5) don't forget to use validator tools (see the links above). What looks great on your computer may look completely awkward on other computers (as I recently discovered for my lexicall.org website... I had checked 6 different browsers... but then I forgot about some IE idiosyncrasies and about 65% of the users browser the web with IE6... that is the only browser that doesn't fully conform to the w3 standards) Best, Marielle PS. Yeah, I am reading all the digests I had no time to read over the past weeks, one after the other. ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From jacque at hyperactivesw.com Fri Aug 26 13:09:00 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 26 Aug 2005 12:09:00 -0500 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 In-Reply-To: <1182245378.20050826093602@ahsoftware.net> References: <1182245378.20050826093602@ahsoftware.net> Message-ID: <430F4CAC.1090305@hyperactivesw.com> Mark Wieder wrote: > Ken- > > Friday, August 26, 2005, 7:13:32 AM, you wrote: > > >>How about the opposite? Stop using the *long* form... it means less typing >>and you get the same effect (see your subject line)... (he said, dodging >>fruit) ;-) > > > ...in that case *all* my stacks would stop working... > > > > A Modest Proposal: > > How about if we eliminate both and enforce just a single-character > typing convention for objects and numeric values only for object > identification? That way "field 3 of card 7" would come out to "f3c7" > for a minimum of typing. The engine's parser would, of course, > separate these into separate tokens "f 3 c 7" and be quite happy. > Developers would have to type just four characters and the code would > be much more readable because there's just one way to describe an > object instead of two. The engine's parser would also run faster > because it wouldn't have to discriminate between two different forms > of object description. > > > HEAVE. SPLAT!! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Fri Aug 26 13:09:23 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 26 Aug 2005 12:09:23 -0500 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 In-Reply-To: <1182245378.20050826093602@ahsoftware.net> Message-ID: On 8/26/05 11:36 AM, "Mark Wieder" wrote: > Ken- > > Friday, August 26, 2005, 7:13:32 AM, you wrote: > >> How about the opposite? Stop using the *long* form... it means less typing >> and you get the same effect (see your subject line)... (he said, dodging >> fruit) ;-) > > ...in that case *all* my stacks would stop working... > > > > A Modest Proposal: > > How about if we eliminate both and enforce just a single-character > typing convention for objects and numeric values only for object > identification? That way "field 3 of card 7" would come out to "f3c7" > for a minimum of typing. The engine's parser would, of course, > separate these into separate tokens "f 3 c 7" and be quite happy. > Developers would have to type just four characters and the code would > be much more readable because there's just one way to describe an > object instead of two. The engine's parser would also run faster > because it wouldn't have to discriminate between two different forms > of object description. > > See now you're getting dangerously close to dot notation: set c7.f3.name to "Ken" (Hey! Who threw the watermelon?) ;-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From mcdomi at free.fr Fri Aug 26 13:09:36 2005 From: mcdomi at free.fr (Dom) Date: Fri, 26 Aug 2005 19:09:36 +0200 Subject: [FR] [EN] Arcade engine In-Reply-To: Message-ID: <1h1w5m3.11wirhx1i8tdsyM%mcdomi@free.fr> Marielle Lange wrote: > Il y qqes liens dans le revolution-education wiki vers du code pour > d?tection de collision / A few links on code for collision d?tection at: > http://revolution.lexicall.org/wiki/tiki-index.php? > page=TechniquesGamesPhysics > > Not really related, the latest more important addition to the wiki is > a page on visual programming languages, with plenty of links to open > source code: > http://revolution.lexicall.org/wiki/tiki-index.php? > page=TechniquesVisualProgramming > (I did a bit of homework for the following project: > http://revolution.lexicall.org/projects/overview/ ) > > The most important doesn't mean the only one. If use your login, you > may discover that more than 100 pages have been changed since your > last visit. Hello Marielle, I tried to subscribe to the "Ed" List once or twice, with no luck... Or have I missed something? -- Revolutionario From jacque at hyperactivesw.com Fri Aug 26 13:12:08 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 26 Aug 2005 12:12:08 -0500 Subject: Saluting the Menu Maven In-Reply-To: <8C77870AA60E2EF-CE4-B82A@FWM-R38.sysops.aol.com> References: <8C77800CE377C6C-A84-EF33@FWM-R35.sysops.aol.com> <8C77870AA60E2EF-CE4-B82A@FWM-R38.sysops.aol.com> Message-ID: <430F4D68.5070900@hyperactivesw.com> simplsol at aol.com wrote: > JAED, brilliant, talented.....and gracious! > Of course Jacque is the patron saint of xCarding. A measure of how good > she is, is the way we all take her for granted. Thank you. I will frame this and look at it on bad days. :) > Paul Looney > PS What do you think of adding an "Addenda" page to the scripting > conference stacks? This could serve for all those minor afterthoughts, > corrections, additions, etc. It could only be edited by the author of > the conference and additions would be chronological. I was thinking exactly the same thing when I first saw your comment, and again when Ken added his. Since I kind of doubt that people are using the "Notes" card at the end, I was thinking of putting additions in there. Of course, then folks have to remember to go look there. But it seems like a logical place to put it, and the card already exists. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION at barncard.com Fri Aug 26 13:14:22 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 26 Aug 2005 10:14:22 -0700 Subject: Disclosure Triangles in Fields In-Reply-To: <81324BAC-CF59-49AA-B637-864301259CDC@blueyonder.co.uk> References: <81324BAC-CF59-49AA-B637-864301259CDC@blueyonder.co.uk> Message-ID: There is a ready to use example in the Objects library.... >>Hello Everyone, >> >>How do you provide disclosure triangles in a field? >> > > From stephenREVOLUTION at barncard.com Fri Aug 26 13:12:30 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 26 Aug 2005 10:12:30 -0700 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 In-Reply-To: <1125054154.8612.171.camel@rachmaninov> References: <1125054154.8612.171.camel@rachmaninov> Message-ID: Thanks, Mark for those insights on the engine - the more we know how it works, the more we can get out of rev! sqb > > > repeat while(x+1) < 10 >> > put word(x+1) of "This is a test" >> > >> >Although this is consistent, it still *looks* wrong to me... it looks like >> >"while" and "word" are functions in the example above. Is it just me, or is > > >this a bug that has been in the engine for a long time? > >Mark. From eric.chatonet at sosmartsoftware.com Fri Aug 26 13:16:45 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 26 Aug 2005 19:16:45 +0200 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 In-Reply-To: <1182245378.20050826093602@ahsoftware.net> References: <1182245378.20050826093602@ahsoftware.net> Message-ID: <112267CB-0E3D-453D-A955-253A6275C630@sosmartsoftware.com> Hi Mark, f3 c7? Sunk! ;-) Le 26 ao?t 05 ? 18:36, Mark Wieder a ?crit : > A Modest Proposal: > > How about if we eliminate both and enforce just a single-character > typing convention for objects and numeric values only for object > identification? That way "field 3 of card 7" would come out to "f3c7" > for a minimum of typing. The engine's parser would, of course, > separate these into separate tokens "f 3 c 7" and be quite happy. > Developers would have to type just four characters and the code would > be much more readable because there's just one way to describe an > object instead of two. The engine's parser would also run faster > because it wouldn't have to discriminate between two different forms > of object description. Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From gcsaba2 at freemail.hu Fri Aug 26 13:22:51 2005 From: gcsaba2 at freemail.hu (Gajo Csaba) Date: Fri, 26 Aug 2005 19:22:51 +0200 (CEST) Subject: How to pass a message to a substack (or back)? Message-ID: Hi, I have the main stack, and when I want to add a new item to a list a new dialog/substack is opened. Here the user can enter some information, and when he clicks on the OK button I want to send that information back to the main stack, so it would appear in the list. How can I do it? I tried declaring a variable global but it seems I overestimated its globality, cause the other script can't see it. I also tried creating a message in one stack, and then I call that from another stack, but the message can't be found from there. How can I do this? Thanks, Csaba _______________________________________________________________________ [freemail] extra 1GB-os postafi?kkal, ?nnek m?r van? http://freemail.hu From revdan at danshafer.com Fri Aug 26 13:32:23 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 26 Aug 2005 10:32:23 -0700 Subject: Dan's books -- where can I get chapters 13 - 20, 22-24, etc ? In-Reply-To: References: Message-ID: <87C57EF2-C70A-4ABF-9886-2C70AA20FD3F@danshafer.com> The chapter numbering is an artifact of the old publishing model, Harvey. I am not planning to release full volumes 2 & 3, but rather individual topic discussions like the two you downloaded. The chapter numbers on those will go away at some point; I kept them this way for now to avoid more confusion than I was already causing! The printing SmartEBook is in final editing now and should be released "Real Soon Now" (ancient software term meaning "when the programmer finally releases the damn stuff"). More will follow every 1-3 weeks thereafter as long as demand keeps up and I don't run out of topics. On Aug 26, 2005, at 9:38 AM, Harvey Toyama wrote: > Hi List, > > I bought "Software the Speed of Thought" a while ago. I just > downloaded > the two smartbooks from the ShaferMedia site. The book contains > chapters > 1-12, and the two smartbooks cover chapters 21 and 25. > > > > Anyone have a release schedule for the other chapters? > > > > -- Harvey > > -- > > Harvey Toyama > > QLogic Corporation > > 949-389-7601 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html From eric.chatonet at sosmartsoftware.com Fri Aug 26 13:37:27 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 26 Aug 2005 19:37:27 +0200 Subject: How to pass a message to a substack (or back)? In-Reply-To: References: Message-ID: <4177E9F4-1438-4667-A079-41D4C7657579@sosmartsoftware.com> Hi Gabo, You could check the following entries in the docs: modal - command dialogData - property This combination will let you to run a handler displaying a custom window (using the modal command) where the user will have to make a choice to go on, then get back his choice (using the dialogData) in the same handler and finally perform the process you want according to the value of the dialogData. Le 26 ao?t 05 ? 19:22, Gajo Csaba a ?crit : > I have the main stack, and when I want to add a new item to a list a > new dialog/substack is opened. Here the user can enter some > information, and when he clicks on the OK button I want to send that > information back to the main stack, so it would appear in the list. > How > can I do it? > > I tried declaring a variable global but it seems I overestimated its > globality, cause the other script can't see it. I also tried > creating a > message in one stack, and then I call that from another stack, but the > message can't be found from there. Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From soapdog at mac.com Fri Aug 26 13:45:13 2005 From: soapdog at mac.com (Andre Garzia) Date: Fri, 26 Aug 2005 14:45:13 -0300 Subject: terms... (Re: Dan's books -- where can I get chapters 13 - 20, 22-24, etc ?) In-Reply-To: <87C57EF2-C70A-4ABF-9886-2C70AA20FD3F@danshafer.com> References: <87C57EF2-C70A-4ABF-9886-2C70AA20FD3F@danshafer.com> Message-ID: On Aug 26, 2005, at 2:32 PM, Dan Shafer wrote: > The printing SmartEBook is in final editing now and should be > released "Real Soon Now" (ancient software term meaning "when the > programmer finally releases the damn stuff"). More will follow > every 1-3 weeks thereafter as long as demand keeps up and I don't > run out of topics. > Back when I was coursing engineering in the Catholic University of Rio de Janeiro, I was a junior worker at a lab. There we used terms like that to the point of making stamps to use on paper forms. It was an experimental robotics lab, meaning, we broke computers like elephants in a china shop. Everytime something exploded we needed to fill a paper form with two main fields, one was labeled: "Problem:" meaning why the hell the thing was not functioning, the second "Solution:" meaning, if the thing was not destroyed and we managed to get it back working, how we solved the problem. We had two stamps made for this, one was: OGK (Only God Knows...), when every thing failed we stamped this on the problem field. If the thing came back aline we had a stamp: "IFI" (It Fixed Itself) meaning we had not the slightest clue on why the thing was working again... fun times... I still remember the teacher putting on my schedule for a day "Andre, please water the binary tree...", he would play those tricks on the rookies, like "All you hookies, grab this plastic bags, go to the wall on the second floor, you all know that the particle accelerator passes thru it, we need some free electrons for our new experiements, your job is to put this bags next to the wall till they fill up with the free electrons that misses the turn on the second corridor, then bring it back..." I miss it sometimes... cheers andre From bnz2 at cdc.gov Fri Aug 26 13:48:00 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 26 Aug 2005 13:48:00 -0400 Subject: How to pass a message to a substack (or back)? Message-ID: <64878EF567131D4596246171F75FD4A974462C@m-epo-1.epo.cdc.gov> Also - if you were to use global variables, they should work. Just remember that they need to be delcared for each script. Button in Substack: On Mousedown Global myGlobalVar Put "5" into myGlobalVar End Mousedown Button in mainstack: On mousedown Global myGlobalVar Answer myGlobalvar End mousedown With the above configuration, if you press the button in the substack first, the information will be retrieved from the global variable when you press the button in the mainstack. Notice how myGlobalVar is declared as a global in both scripts - this is necessary. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Gajo Csaba Sent: Friday, August 26, 2005 1:23 PM To: use-revolution at lists.runrev.com Subject: How to pass a message to a substack (or back)? Hi, I have the main stack, and when I want to add a new item to a list a new dialog/substack is opened. Here the user can enter some information, and when he clicks on the OK button I want to send that information back to the main stack, so it would appear in the list. How can I do it? I tried declaring a variable global but it seems I overestimated its globality, cause the other script can't see it. I also tried creating a message in one stack, and then I call that from another stack, but the message can't be found from there. How can I do this? Thanks, Csaba _______________________________________________________________________ [freemail] extra 1GB-os postafi?kkal, ?nnek m?r van? http://freemail.hu _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Fri Aug 26 13:50:13 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 26 Aug 2005 19:50:13 +0200 Subject: How to pass a message to a substack (or back)? In-Reply-To: References: Message-ID: <895E8E21-A476-413A-9B4E-4C8A98890DF2@major-k.de> Hi Gajo, > Hi, > > I have the main stack, and when I want to add a new item to a list a > new dialog/substack is opened. Here the user can enter some > information, and when he clicks on the OK button I want to send that > information back to the main stack, so it would appear in the list. this is a list on some card, a variable or custom property? > How can I do it? Try this in your script in your mainstack: ... ask "Enter new list item:" with "New list item :-)" ## or whatever you want to ask the user... if it <> empty then if fld "list field" of cd x <> empty then put CR & it after fld x of cd y else put it into fld x of cd y end if ... or something like this, if i understood you correctly ;-) You can also put this into a handler in your mainstack: on append2mylist what if fld "list field" of cd x <> empty then put CR & it after fld x of cd y ##append 2 field else put it into fld x of cd y ##fill field end if end append2mylist ...and call it from any other (sub)stack: ... ask ... ## or not ask... if it <> empty then send "append2mylist" && it to stack "mainstack goes here..." end if ... > I tried declaring a variable global but it seems I overestimated its > globality, cause the other script can't see it. I also tried > creating a > message in one stack, and then I call that from another stack, but the > message can't be found from there. > > How can I do this? > > Thanks, Csaba Regards Klaus Major klaus at major-k.de http://www.major-k.de From simplsol at aol.com Fri Aug 26 13:53:24 2005 From: simplsol at aol.com (simplsol at aol.com) Date: Fri, 26 Aug 2005 13:53:24 -0400 Subject: Conference Stacks (was menu maven) Message-ID: <8C7787E305A36D8-CE4-C3E2@FWM-R38.sysops.aol.com> Jacque, You wrote: "Since I kind of doubt that people are using the "Notes" card at the end, I was thinking of putting additions in there. Of course, then folks have to remember to go look there. But it seems like a logical place to put it, and the card already exists." I agree. Another benefit of eliminating the Notes card, as we know it now, is people will not be randomly changing the stacks. There will be one "official" stack on the Rev server which will always have the latest info - this will encourage browsing rather than downloading. Everything will be in sync. I also think it is important to have a "gate-keeper". Someone should review, filter, and possibly consolidate, the additions. I believe the best person to do this is the conference author. Paul Looney PS I hope you don't have to refer to that framed "for bad days" compliment too often. From harvey.toyama at qlogic.com Fri Aug 26 13:54:41 2005 From: harvey.toyama at qlogic.com (Harvey Toyama) Date: Fri, 26 Aug 2005 10:54:41 -0700 Subject: Dan's books -- where can I get chapters 13 - 20, 22-24, etc ? Message-ID: Hi Dan, Thanks for the clarification. Please do exagerate any sense of demand. I look forward to other chapters. -- Harvey -- -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Dan Shafer Sent: Friday, August 26, 2005 10:32 AM To: How to use Revolution Subject: Re: Dan's books -- where can I get chapters 13 - 20, 22-24, etc ? The chapter numbering is an artifact of the old publishing model, Harvey. I am not planning to release full volumes 2 & 3, but rather individual topic discussions like the two you downloaded. The chapter numbers on those will go away at some point; I kept them this way for now to avoid more confusion than I was already causing! The printing SmartEBook is in final editing now and should be released "Real Soon Now" (ancient software term meaning "when the programmer finally releases the damn stuff"). More will follow every 1-3 weeks thereafter as long as demand keeps up and I don't run out of topics. On Aug 26, 2005, at 9:38 AM, Harvey Toyama wrote: > Hi List, > > I bought "Software the Speed of Thought" a while ago. I just > downloaded > the two smartbooks from the ShaferMedia site. The book contains > chapters > 1-12, and the two smartbooks cover chapters 21 and 25. > > > > Anyone have a release schedule for the other chapters? > > > > -- Harvey > > -- > > Harvey Toyama > > QLogic Corporation > > 949-389-7601 > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Fri Aug 26 14:05:50 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 26 Aug 2005 11:05:50 -0700 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 In-Reply-To: <1182245378.20050826093602@ahsoftware.net> References: <1182245378.20050826093602@ahsoftware.net> Message-ID: Don't like that. Looks like APL to me. A major point of Transcript is to be easily HUMAN readable. Consider a rotten apple thrown. > >A Modest Proposal: > >How about if we eliminate both and enforce just a single-character >typing convention for objects and numeric values only for object >identification? That way "field 3 of card 7" would come out to "f3c7" >for a minimum of typing. The engine's parser would, of course, >separate these into separate tokens "f 3 c 7" and be quite happy. >Developers would have to type just four characters and the code would >be much more readable because there's just one way to describe an >object instead of two. The engine's parser would also run faster >because it wouldn't have to discriminate between two different forms >of object description. > > > >-- >-Mark Wieder From bnz2 at cdc.gov Fri Aug 26 14:21:13 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 26 Aug 2005 14:21:13 -0400 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 Message-ID: <64878EF567131D4596246171F75FD4A99681D1@m-epo-1.epo.cdc.gov> I want more ways of addressing an object. I could really use an altname property. Put 8 into field altname "myField" This way I can address a field by either its name or its altname. I have a definite use for that. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Stephen Barncard Sent: Friday, August 26, 2005 2:06 PM To: How to use Revolution Subject: Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 Don't like that. Looks like APL to me. A major point of Transcript is to be easily HUMAN readable. Consider a rotten apple thrown. > >A Modest Proposal: > >How about if we eliminate both and enforce just a single-character >typing convention for objects and numeric values only for object >identification? That way "field 3 of card 7" would come out to "f3c7" >for a minimum of typing. The engine's parser would, of course, >separate these into separate tokens "f 3 c 7" and be quite happy. >Developers would have to type just four characters and the code would >be much more readable because there's just one way to describe an >object instead of two. The engine's parser would also run faster >because it wouldn't have to discriminate between two different forms >of object description. > > > >-- >-Mark Wieder _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Fri Aug 26 14:21:13 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Aug 2005 11:21:13 -0700 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 In-Reply-To: <430F4CAC.1090305@hyperactivesw.com> References: <1182245378.20050826093602@ahsoftware.net> <430F4CAC.1090305@hyperactivesw.com> Message-ID: <430F5D99.3020904@fourthworld.com> J. Landman Gay wrote: > Mark Wieder wrote: > >>> How about the opposite? Stop using the *long* form... it means less >>> typing and you get the same effect (see your subject line)... >> >> A Modest Proposal: >> >> How about if we eliminate both and enforce just a single-character >> typing convention for objects and numeric values only for object >> identification? That way "field 3 of card 7" would come out to "f3c7" >> for a minimum of typing. ... > > HEAVE. SPLAT!! > That was pretty much my reaction to the suggest of eliminating the more efficient form of object tokens. I write my own script editor so it's not hard for me to make my own replace routine on save. But I fear for Mr. Waddingham when the citizens storm the Edinburgh offices with torches and pitchforks after discovering that the code style they've been using for years is no longer supported. ;) I like Mark, I don't want to see any harm come to him. I appreciate the relationship between the size of the token table and execution efficiency. But does this one really affect speed? It would seem more of a compilation issue than execution, since "button" and "btn" could both be tokenized to the same internal symbol. Maybe this calls for a transition from runtime compilation to up-front compilation (at least as an option), which might open many other doors besides.... -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From scott at tactilemedia.com Fri Aug 26 14:27:01 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 26 Aug 2005 11:27:01 -0700 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 In-Reply-To: <64878EF567131D4596246171F75FD4A99681D1@m-epo-1.epo.cdc.gov> Message-ID: Recently, Lynch, Jonathan wrote: > I want more ways of addressing an object. I could really use an altname > property. > > Put 8 into field altname "myField" > > This way I can address a field by either its name or its altname. I have > a definite use for that. Currently you can address a field by its name, id and number. What need do you have that would require another form of address? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ambassador at fourthworld.com Fri Aug 26 14:27:38 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Aug 2005 11:27:38 -0700 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 In-Reply-To: References: <1125054154.8612.171.camel@rachmaninov> Message-ID: <430F5F1A.7000003@fourthworld.com> Stephen Barncard wrote: > Thanks, Mark for those insights on the engine - the more we know how it > works, the more we can get out of rev! > > sqb > >> > > repeat while(x+1) < 10 >> >>> > put word(x+1) of "This is a test" >>> > >>> >Although this is consistent, it still *looks* wrong to me... it >>> looks like >>> >"while" and "word" are functions in the example above. Is it just >>> me, or is >> >> > >this a bug that has been in the engine for a long time? >> >> Mark. An interesting exercise that can also have practical application is to play with the token chunk type, e.g.: get "put MyFunc(tSomeArray[tKey]) into fld 2" repeat for each token tToken in it put tToken &cr after tList end repeat put tList Yields: put MyFunc ( tSomeArray [ tKey ] ) into fld 2 -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Fri Aug 26 14:34:47 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Aug 2005 11:34:47 -0700 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 In-Reply-To: <64878EF567131D4596246171F75FD4A99681D1@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A99681D1@m-epo-1.epo.cdc.gov> Message-ID: <430F60C7.9050707@fourthworld.com> Lynch, Jonathan wrote: > I want more ways of addressing an object. I could really use an altname > property. > > Put 8 into field altname "myField" > > This way I can address a field by either its name or its altname. I have > a definite use for that. I'll bite: How? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From bnz2 at cdc.gov Fri Aug 26 14:38:04 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 26 Aug 2005 14:38:04 -0400 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 Message-ID: <64878EF567131D4596246171F75FD4A974462D@m-epo-1.epo.cdc.gov> I have a table object that consists of fields which serve as cells, inside of groups which serve as rows, inside of a group which is the table. Each Row is named group mRow_1, mRow_2, mRow_3 etc... When you drag a row so that it is moved in between two other rows, its name is changed. Each row holds a customproperty describing the location of information in another stack. When you type in the other stack, the change is reflected instantly in the table. To do this, it goes to the table in question, and looks for the row containing the appropriate custom property, than changes the text in that row. It works great, and I cannot see any slowness. However, if I had a couple hundred rows, I think there would be some slowness with having to search for the appropriate row on every single keystroke. See, I cannot tell it to make a change to the row by its name without first searching for the row that contains that name, because its name may change as rows are added, deleted, or moved. I could do it by its altid property - but I don't trust altID - it makes me nervous because it is addressed through the same commands as the ID property. If it was addressed like this: Field altID 100 - well, that would work fine. But as it is set up right now, it can get confused between field id 100 and field altid 100. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Scott Rossi Sent: Friday, August 26, 2005 2:27 PM To: How to use Revolution Subject: Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 Recently, Lynch, Jonathan wrote: > I want more ways of addressing an object. I could really use an altname > property. > > Put 8 into field altname "myField" > > This way I can address a field by either its name or its altname. I have > a definite use for that. Currently you can address a field by its name, id and number. What need do you have that would require another form of address? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Fri Aug 26 14:49:29 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Aug 2005 11:49:29 -0700 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 In-Reply-To: <64878EF567131D4596246171F75FD4A974462D@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A974462D@m-epo-1.epo.cdc.gov> Message-ID: <430F6439.6010807@fourthworld.com> Lynch, Jonathan wrote: > I have a table object that consists of fields which serve as cells, > inside of groups which serve as rows, inside of a group which is the > table. > > Each Row is named group mRow_1, mRow_2, mRow_3 etc... > > When you drag a row so that it is moved in between two other rows, its > name is changed. Each row holds a customproperty describing the location > of information in another stack. > > When you type in the other stack, the change is reflected instantly in > the table. To do this, it goes to the table in question, and looks for > the row containing the appropriate custom property, than changes the > text in that row. > > It works great, and I cannot see any slowness. However, if I had a > couple hundred rows, I think there would be some slowness with having to > search for the appropriate row on every single keystroke. > > See, I cannot tell it to make a change to the row by its name without > first searching for the row that contains that name, because its name > may change as rows are added, deleted, or moved. > > I could do it by its altid property - but I don't trust altID - it makes > me nervous because it is addressed through the same commands as the ID > property. If it was addressed like this: Field altID 100 - well, that > would work fine. But as it is set up right now, it can get confused > between field id 100 and field altid 100. I think altID is the way to go because it also lets you reference things numerically, which seems well suited to what you're doing. I was playing with the altID last week and got over my own trepidation about it. My big question was how the lookup happens, whether the engine searches both IDs of each object or searches ID for all and then altID for all -- turns out it's the former. For example: 1. Make two buttons 2. Set the altID of the first button to the ID of the second (let's assume that second ID is "1002") 3. Run this in the Message Box: select btn id 1002 Result: the first button is selected At first this sounds like a recipe for disaster, but there are only two things to keep in mind to use it effectively: a) Each stack has a single ID incrementer for all objects, and it starts at a very low number (1001?) b) Valid ID numbers go up to 2 billion So if you establish a base ID well above a million you should never conflict with the engine's ID numbering scheme (unless of course you have more than a million objects, but then you'll have other problems to deal with ). This means once you've set the altIDs you can do something like this: put 1000000 into tBaseID repeat with i = 1 to 100 get the whateverProperty of fld ID (tBaseID+i) end repeat -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From bnz2 at cdc.gov Fri Aug 26 14:54:00 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 26 Aug 2005 14:54:00 -0400 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 Message-ID: <64878EF567131D4596246171F75FD4A974462E@m-epo-1.epo.cdc.gov> My software creates and deletes tons of objects on the fly. I just looked at a new field's prop inspector, and its id was 97807 Oh dear... What happens if I hit the limit on id length? -----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, August 26, 2005 2:49 PM To: How to use Revolution Subject: Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 Lynch, Jonathan wrote: > I have a table object that consists of fields which serve as cells, > inside of groups which serve as rows, inside of a group which is the > table. > > Each Row is named group mRow_1, mRow_2, mRow_3 etc... > > When you drag a row so that it is moved in between two other rows, its > name is changed. Each row holds a customproperty describing the location > of information in another stack. > > When you type in the other stack, the change is reflected instantly in > the table. To do this, it goes to the table in question, and looks for > the row containing the appropriate custom property, than changes the > text in that row. > > It works great, and I cannot see any slowness. However, if I had a > couple hundred rows, I think there would be some slowness with having to > search for the appropriate row on every single keystroke. > > See, I cannot tell it to make a change to the row by its name without > first searching for the row that contains that name, because its name > may change as rows are added, deleted, or moved. > > I could do it by its altid property - but I don't trust altID - it makes > me nervous because it is addressed through the same commands as the ID > property. If it was addressed like this: Field altID 100 - well, that > would work fine. But as it is set up right now, it can get confused > between field id 100 and field altid 100. I think altID is the way to go because it also lets you reference things numerically, which seems well suited to what you're doing. I was playing with the altID last week and got over my own trepidation about it. My big question was how the lookup happens, whether the engine searches both IDs of each object or searches ID for all and then altID for all -- turns out it's the former. For example: 1. Make two buttons 2. Set the altID of the first button to the ID of the second (let's assume that second ID is "1002") 3. Run this in the Message Box: select btn id 1002 Result: the first button is selected At first this sounds like a recipe for disaster, but there are only two things to keep in mind to use it effectively: a) Each stack has a single ID incrementer for all objects, and it starts at a very low number (1001?) b) Valid ID numbers go up to 2 billion So if you establish a base ID well above a million you should never conflict with the engine's ID numbering scheme (unless of course you have more than a million objects, but then you'll have other problems to deal with ). This means once you've set the altIDs you can do something like this: put 1000000 into tBaseID repeat with i = 1 to 100 get the whateverProperty of fld ID (tBaseID+i) end repeat -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Fri Aug 26 15:00:41 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Aug 2005 12:00:41 -0700 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 In-Reply-To: <64878EF567131D4596246171F75FD4A974462E@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A974462E@m-epo-1.epo.cdc.gov> Message-ID: <430F66D9.8000607@fourthworld.com> Lynch, Jonathan wrote: > My software creates and deletes tons of objects on the fly. > > I just looked at a new field's prop inspector, and its id was 97807 Watch out! Only 999,902,193 IDs left to go. :) I'm not sure what happens if the engine runs out of IDs. Mr. Waddingham, what's the word? Is there any way your software could reuse those objects? Is it necessary to do all that in a single stack? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From bnz2 at cdc.gov Fri Aug 26 15:07:11 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 26 Aug 2005 15:07:11 -0400 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 Message-ID: <64878EF567131D4596246171F75FD4A974462F@m-epo-1.epo.cdc.gov> No way to re-use - the data is stored in custom props and displayed in tables. The tables are constantly deleted and created as needed. If I did not do this, the program could easily wind up occupying gigabites of ram when it is running. How does the program keep track of id counts? I would think it would be safe as a standalone. Surely a standalone which never saves stacks (all data stored externally) would not have the ability to keep a running track of its ids? -----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, August 26, 2005 3:01 PM To: How to use Revolution Subject: Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 Lynch, Jonathan wrote: > My software creates and deletes tons of objects on the fly. > > I just looked at a new field's prop inspector, and its id was 97807 Watch out! Only 999,902,193 IDs left to go. :) I'm not sure what happens if the engine runs out of IDs. Mr. Waddingham, what's the word? Is there any way your software could reuse those objects? Is it necessary to do all that in a single stack? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From dick.kriesel at mail.com Fri Aug 26 15:50:52 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 26 Aug 2005 12:50:52 -0700 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 In-Reply-To: <430F6439.6010807@fourthworld.com> Message-ID: On 8/26/05 11:49 AM, "Richard Gaskin" wrote: > I think altID is the way to go because it also lets you reference things > numerically > b) Valid ID numbers go up to 2 billion Valid altID numbers go up to only 65535. create button repeat with i = 65535 to 65537 set the altID of it to i put the altID of it & cr after msg end repeat The above puts the following: 65535 0 1 I could not find a BugZilla entry about altID. Does anyone else think there should be one? Should it be a bug report or an enhancement request? -- Dick From ambassador at fourthworld.com Fri Aug 26 16:25:07 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Aug 2005 13:25:07 -0700 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 In-Reply-To: References: Message-ID: <430F7AA3.5040307@fourthworld.com> Dick Kriesel wrote: > On 8/26/05 11:49 AM, "Richard Gaskin" wrote: > > >>I think altID is the way to go because it also lets you reference things >>numerically > > > >>b) Valid ID numbers go up to 2 billion > > > Valid altID numbers go up to only 65535. > > create button > repeat with i = 65535 to 65537 > set the altID of it to i > put the altID of it & cr after msg > end repeat > > The above puts the following: > > 65535 > 0 > 1 > > I could not find a BugZilla entry about altID. Does anyone else think there > should be one? Should it be a bug report or an enhancement request? Excellent catch, Dick. I had no idea that the altID would use a completely different scheme from the ID. I would think that would be an enhancement request, and given the number of people who would use it (you, me, and Jonathan) I think we can guess when it would be implemented. ;) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From CSZASZ at kcs.kana.k12.wv.us Fri Aug 26 16:26:26 2005 From: CSZASZ at kcs.kana.k12.wv.us (CHARLES W SZASZ) Date: Fri, 26 Aug 2005 16:26:26 -0400 Subject: Dan Shafer's E-books Message-ID: Have anybody heard what is propose for those of us who originally paid for three volumes of Dan's Revolution book? I have the first book as PDF and the two chapters. I am hoping that the original purchasers of all three volumes of Dan's books do not have to pay again for these books. Charles Szasz Lead School Psychologist and Section 504 Coordinator Kanawha County Schools (304) 348-7770, Ext. 347 From bnz2 at cdc.gov Fri Aug 26 16:26:56 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 26 Aug 2005 16:26:56 -0400 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 Message-ID: <64878EF567131D4596246171F75FD4A99681D7@m-epo-1.epo.cdc.gov> Why does the alt id need to be an integer? And it should be addressed in this form: Field altID xyz not file ID xyz Would you guys agree? -----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, August 26, 2005 4:25 PM To: How to use Revolution Subject: Re: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 Dick Kriesel wrote: > On 8/26/05 11:49 AM, "Richard Gaskin" wrote: > > >>I think altID is the way to go because it also lets you reference things >>numerically > > > >>b) Valid ID numbers go up to 2 billion > > > Valid altID numbers go up to only 65535. > > create button > repeat with i = 65535 to 65537 > set the altID of it to i > put the altID of it & cr after msg > end repeat > > The above puts the following: > > 65535 > 0 > 1 > > I could not find a BugZilla entry about altID. Does anyone else think there > should be one? Should it be a bug report or an enhancement request? Excellent catch, Dick. I had no idea that the altID would use a completely different scheme from the ID. I would think that would be an enhancement request, and given the number of people who would use it (you, me, and Jonathan) I think we can guess when it would be implemented. ;) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Fri Aug 26 16:28:18 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Aug 2005 13:28:18 -0700 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 In-Reply-To: <64878EF567131D4596246171F75FD4A974462F@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A974462F@m-epo-1.epo.cdc.gov> Message-ID: <430F7B62.4060903@fourthworld.com> Lynch, Jonathan wrote: > No way to re-use - the data is stored in custom props and displayed in > tables. The tables are constantly deleted and created as needed. If I > did not do this, the program could easily wind up occupying gigabites of > ram when it is running. If you reuse the objects there would be no additional objects cluttering memory. If the issue is the prop data, why not just clear the custom props when re-using the objects? > How does the program keep track of id counts? I would think it would be > safe as a standalone. Surely a standalone which never saves stacks (all > data stored externally) would not have the ability to keep a running > track of its ids? In my limited testing it seems the engine maintains a single record of the last ID used, incremented when an object is created. Since a standalone doesn't save, then you'd be safe to the degree a user would never make more than 64000 objects in a given session (see Dick's post about my mistake on altIDs -- only built-in IDs have a range of 2 billion; altIDs are limited to 65535). -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Fri Aug 26 16:43:14 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Aug 2005 13:43:14 -0700 Subject: Installers for Mac / Linux? In-Reply-To: <430E794F.4020807@dreamscapesoftware.com> References: <000701c5a9d8$b1e6cc10$0201010a@proherps56yaxv> <430E794F.4020807@dreamscapesoftware.com> Message-ID: <430F7EE2.1010006@fourthworld.com> Derek Bump wrote: > My suggestion would be to follow what is traditional for the platform. A > setup from for Windows. A DMG for MacOS X. Amen, brother. I love DMGs for many reasons, not the least of which is that it liberates us from the strange pricing practices of so many installer vendors: There are a couple that have a one-time fee for their Windows version, but require annual per-product fees for their Mac version. Since these companies started out on the Mac I'm surprised they've chosen to add to the "Mac tax", but homey don't that game anymore -- it's DMGs all the way for me, and adios to anti-Mac pricing. With one vendor, moving to DMGs has also helped me stop rewarding dumb behavior: they allow you to purchase a new license quickly and conveniently online, but renewals require downloading a PDF, printing it, faxing the physical document back to them, and waiting until the next morning when their staff arrives to process their fax orders. When I wrote to ask if renewals could be made as simple as new purchases, their answer amounted to "Because that's how we do things." So this is how I do things: I make DMGs, and they're not my vendor anymore. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From jeff at siphonophore.com Fri Aug 26 16:49:46 2005 From: jeff at siphonophore.com (Jeffrey Reynolds) Date: Fri, 26 Aug 2005 16:49:46 -0400 Subject: Mac Classic standalones In-Reply-To: <20050826165623.7981C8255C6@mail.runrev.com> References: <20050826165623.7981C8255C6@mail.runrev.com> Message-ID: <9516f18a52dbbf8120099883dad41430@siphonophore.com> hmm, well i have tried using the rev2.5 engine installed in my rev2.6 osx authoring system (using rev to uncompress the os92.5 rev as jacque advised and installed in the engines folder) and when i build apps with the os9 engine they appear to be pretty much non functional. openstack scripts dont seem to work at all and other things are not functioning. the same stack build in osx standalone works great. this is material that was from older code, so is not asking the 2.5 engine for the os9 to be doing anything that should be 2.6 specific. also created a test stack from scratch in 2.6 and have the same problem with the 2.5 ox9 standalone. the os9 standalones build fine from osx 2.6 authoring system, they just dont function properly after booting. not sure what i am doing wrong... thanks jeff On Aug 26, 2005, at 12:56 PM, use-revolution-request at lists.runrev.com wrote: > Yes and I don't know. > > > On Aug 26, 2005, at 8:07 AM, Jeffrey Reynolds wrote: > >> Is the Mac Classic Rev2.5 engine still functional to build >> standalone apps from Rev2.6 (osx)? Is there going to be a rev2.6 >> mac classic engine? From jacque at hyperactivesw.com Fri Aug 26 17:11:34 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 26 Aug 2005 16:11:34 -0500 Subject: Conference Stacks (was menu maven) In-Reply-To: <8C7787E305A36D8-CE4-C3E2@FWM-R38.sysops.aol.com> References: <8C7787E305A36D8-CE4-C3E2@FWM-R38.sysops.aol.com> Message-ID: <430F8586.2000300@hyperactivesw.com> simplsol at aol.com wrote: > Jacque, > You wrote: > "Since I kind of doubt that people are using the "Notes" card at the > end, I was thinking of putting additions in there. Of course, then folks > have to remember to go look there. But it seems like a logical place to > put it, and the card already exists." > > I agree. Another benefit of eliminating the Notes card, as we know it > now, is people will not be randomly changing the stacks. There will be > one "official" stack on the Rev server which will always have the latest > info - this will encourage browsing rather than downloading. Everything > will be in sync. Theoretically it's supposed to be like that now. Originally the Notes card was just for the user's personal copy, so unless someone is distributing theirs privately I don't think there will be much conflict. The "official" stack is the one on the server. > > I also think it is important to have a "gate-keeper". Someone should > review, filter, and possibly consolidate, the additions. I believe the > best person to do this is the conference author. That would be helpful. They could send me the additions in an email and I could add them to the "official" copy on the server. > Paul Looney > PS I hope you don't have to refer to that framed "for bad days" > compliment too often. Me too! :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdan at danshafer.com Fri Aug 26 17:45:12 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 26 Aug 2005 14:45:12 -0700 Subject: Mac Classic standalones In-Reply-To: <9516f18a52dbbf8120099883dad41430@siphonophore.com> References: <20050826165623.7981C8255C6@mail.runrev.com> <9516f18a52dbbf8120099883dad41430@siphonophore.com> Message-ID: <0848C3F9-1807-4C04-9038-E5D77A583D68@danshafer.com> Hmmmmmmm. This may explain why my SmartEBooks don't work in OS9 either. I'm going to go build those standalones in Rev 2.5 and see if they work then. I'll report back. On Aug 26, 2005, at 1:49 PM, Jeffrey Reynolds wrote: > hmm, well i have tried using the rev2.5 engine installed in my > rev2.6 osx authoring system (using rev to uncompress the os92.5 rev > as jacque advised and installed in the engines folder) and when i > build apps with the os9 engine they appear to be pretty much non > functional. openstack scripts dont seem to work at all and other > things are not functioning. the same stack build in osx standalone > works great. this is material that was from older code, so is not > asking the 2.5 engine for the os9 to be doing anything that should > be 2.6 specific. also created a test stack from scratch in 2.6 and > have the same problem with the 2.5 ox9 standalone. > > the os9 standalones build fine from osx 2.6 authoring system, they > just dont function properly after booting. > > not sure what i am doing wrong... > > thanks > > jeff > > On Aug 26, 2005, at 12:56 PM, use-revolution- > request at lists.runrev.com wrote: > > >> Yes and I don't know. >> >> >> On Aug 26, 2005, at 8:07 AM, Jeffrey Reynolds wrote: >> >> >>> Is the Mac Classic Rev2.5 engine still functional to build >>> standalone apps from Rev2.6 (osx)? Is there going to be a rev2.6 >>> mac classic engine? >>> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html From revdan at danshafer.com Fri Aug 26 17:59:25 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 26 Aug 2005 14:59:25 -0700 Subject: Dan Shafer's E-books In-Reply-To: References: Message-ID: Charles..... Having sent me a private email on this subject, I wish you had waited for me to reply before posting this in the general forum. Back when the decision was jointly made by me and RunRev to abandon the idea of producing Vol 2 & 3 of the series as printed books, I wrote every registered member of the RevPros community in advance of the announcement and laid out very carefully our offer. All those who were members of the RevPros community received their full year's membership in that community as promised. All of them are also entitled to FREE copies of EVERY SmartEBook I publish on the subject of Revolution until at least 10 such books have been released. Finally, everyone who joined at the highest level of $197 are still entitled to use their one hour of consultation time with me any time in the 12 months after the community was closed in February. Furthermore, anyone who joined the community at any level and was not satisfied that this plan results in them feeling that they've been treated not just fairly but generously, is encouraged to contact me via private email and arrange for a full or partial refund. On Aug 26, 2005, at 1:26 PM, CHARLES W SZASZ wrote: > Have anybody heard what is propose for those of us who originally > paid for three volumes of Dan's > Revolution book? I have the first book as PDF and the two > chapters. I am hoping that the original > purchasers of all three volumes of Dan's books do not have to pay > again for these books. > > Charles Szasz > Lead School Psychologist and Section 504 Coordinator > Kanawha County Schools > (304) 348-7770, Ext. 347 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revolution at derbrill.de Fri Aug 26 17:58:37 2005 From: revolution at derbrill.de (Malte Brill) Date: Fri, 26 Aug 2005 23:58:37 +0200 Subject: Mac Classic standalones In-Reply-To: <20050826183842.E1181825606@mail.runrev.com> Message-ID: <8E019AA5-167C-11DA-83E3-0030659A795C@derbrill.de> > the os9 standalones build fine from osx 2.6 authoring system, they > just dont function properly after booting. > > not sure what i am doing wrong... > > thanks > > jeff Hi Jeff, there is nothing you do wrong. I can confirm this behaviour. I only was able to build for 9 under 2.5. In 2.6 builts my stacks open, but hang. All the best, Malte ------------------------------------------------------------------------ ------------ ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum help flood victims from Switzerland: www.derbrill.de From revdan at danshafer.com Fri Aug 26 18:40:34 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 26 Aug 2005 15:40:34 -0700 Subject: Mac Classic standalones In-Reply-To: <0848C3F9-1807-4C04-9038-E5D77A583D68@danshafer.com> References: <20050826165623.7981C8255C6@mail.runrev.com> <9516f18a52dbbf8120099883dad41430@siphonophore.com> <0848C3F9-1807-4C04-9038-E5D77A583D68@danshafer.com> Message-ID: <8B80D8E9-C9F6-4E0F-A71E-94134C809C31@danshafer.com> Confirmed. I can build this application under Rev 2.5.1 for OS9 and it works exactly as expected. If I build the same app under 2.6, it comes up with a blank window and stares at me. Huge problem, obviously, but glad I kept 2.5.1 around. On Aug 26, 2005, at 2:45 PM, Dan Shafer wrote: > Hmmmmmmm. This may explain why my SmartEBooks don't work in OS9 > either. I'm going to go build those standalones in Rev 2.5 and see > if they work then. > > I'll report back. > > > On Aug 26, 2005, at 1:49 PM, Jeffrey Reynolds wrote: > > >> hmm, well i have tried using the rev2.5 engine installed in my >> rev2.6 osx authoring system (using rev to uncompress the os92.5 >> rev as jacque advised and installed in the engines folder) and >> when i build apps with the os9 engine they appear to be pretty >> much non functional. openstack scripts dont seem to work at all >> and other things are not functioning. the same stack build in osx >> standalone works great. this is material that was from older code, >> so is not asking the 2.5 engine for the os9 to be doing anything >> that should be 2.6 specific. also created a test stack from >> scratch in 2.6 and have the same problem with the 2.5 ox9 standalone. >> >> the os9 standalones build fine from osx 2.6 authoring system, they >> just dont function properly after booting. >> >> not sure what i am doing wrong... >> >> thanks >> >> jeff >> >> On Aug 26, 2005, at 12:56 PM, use-revolution- >> request at lists.runrev.com wrote: >> >> >> >>> Yes and I don't know. >>> >>> >>> On Aug 26, 2005, at 8:07 AM, Jeffrey Reynolds wrote: >>> >>> >>> >>>> Is the Mac Classic Rev2.5 engine still functional to build >>>> standalone apps from Rev2.6 (osx)? Is there going to be a rev2.6 >>>> mac classic engine? >>>> >>>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Information Product Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.shafermediastore.com/tech_main.html > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html From tg.lists at geistinteractive.com Fri Aug 26 23:37:16 2005 From: tg.lists at geistinteractive.com (Todd Geist) Date: Fri, 26 Aug 2005 20:37:16 -0700 Subject: What Just got Clicked Message-ID: Hello, I have been playing around with ChartMaker from Flexible Learning. It is a very cool little tool! -- Todd Geist ______________________________________ G e i s t i n t e r a c t i v e Once my chart is created, I would like to be able to "drill down" on the graph elements. So I need to know which of the slices of pie I just clicked on. The chart is a group of graphics and fields. And I know I can add MouseUp Handlers to the the graphics, but the Chart is recreated each time the data is refreshed so it would wipe out my handlers. Is there some way either to add the MouseUp Handlers via script after the chart is in place? Or is there some way for the card to know which slice of the pie was clicked On? Is there some property that is set with each object that a message passes through? I am flailing about here :<( Does any of this make sense? Thanks Todd -- Todd Geist ______________________________________ G e i s t i n t e r a c t i v e From davecalk at intergate.com Sat Aug 27 00:11:09 2005 From: davecalk at intergate.com (Dave Calkins) Date: Fri, 26 Aug 2005 21:11:09 -0700 Subject: when do you use a hard space today? / Text Handling Features In-Reply-To: <20050816155218.055A682507F@mail.runrev.com> References: <20050816155218.055A682507F@mail.runrev.com> Message-ID: On Aug 16, 2005, at 8:52 AM, use-revolution-request at lists.runrev.com wrote: > Subject: Re: when do you use a hard space today? > Reply-To: How to use Revolution > > > At 4:29 PM -0700 8/15/2005, Erik Hansen wrote: >> --- Ken Ray wrote: >>> Hardly ever... the only times I've used it has >>> been in web pages to get >>> things to line up. >> >> so it is an HTML thing. > > Not just HTML; you can use a non-breaking space whenever you don't > want a line to break. For example, between a title (Dr., Mr., etc.) > and the name; or between the characters of an equation where you want > the equation all on one line for readability. I know this thread is over a week old, but ... (on this list, that's a long time) Another place where I use them is when I want to create an indented paragraph in a report. Normally extra Tabs and Spaces are filtered out from a line when they are the first character in a wrapped line, unless the first char of the wrapped line is a hard space. This allows the tab(s) to indent the paragraph so that things will line up. Not the best solution because they have to be filtered out if the text is edited. but I haven't found a better option. I believe that there are a couple of text handling features that would greatly enhance Rev and many types of applications that we work with. I know it would make a big difference to me. A. An indent paragraph textStyle property. An indent paragraph textStyle property would allow a paragraph, ie line, or chunk of text to indent to a tab stop or margin as if you were adjusting the leftmargin of only a portion of a field. I could see this being done in one of a number of ways. 1. Allow the leftMargin / rightMargin be applied to chunks of text. ie. set the leftMargin of line 3 of fld "WhichField" to 10 set the rightMargin of line 4 to 5 of fld "WhichField" to 10 set the leftRightMargin of line 6 of fld "WhichField" to 10,50 or 2. Creating a property that is applied to a chuck of text, similar to textStyle, Font, or color, but which indents the text. ie. set the leftIndent of line 2 of fld "WhichField" to 10 really the same as above but with a different name. or 3. Create a constant that is similar to the space constant, but a space would be interpreted as a tab (one for each constant) when it is before each "wrapped" element of a line. Presently this can sort of be done by jumping through all kinds of hoops in order to create the look of an indented paragraph in a report, by putting a hard space & a tab before the first character in each wrapped portion of a line. Normally extra Tabs and Spaces are filtered out from a line when they are the first character in a wrapped line, so the hard space is required to allow the tab(s) to indent the paragraph. This is not truly a solution because if the user edits the report by adding or subtracting text from the document, all of the formating is screwed up. All of the hard space / tabs have to be filtered out of the text and then the text has to be reinitialized. Not a good / professional solution from the standpoint of the client. Bugzilla # 3088 http://support.runrev.com/bugdatabase/show_bug.cgi?id=3088 B. A textAlign property that would be able to be applied to chunks of text, just like font, size, color, and style (bold, italic, etc.) are, not just to an entire field. A textAlign property that would be able to be applied to chunks of text, just like font, size, color, and style (bold, italic, etc.) are, not just to an entire field. ie. set the textAlign of line 1 of field "Results Notification" to center This would make normal text report / text document generation tons easlier. You would not have to create a form, a group etc. in order to do something that is common and easly done in 90 percent of the applications out there. Bugzilla # 3087 http://support.runrev.com/bugdatabase/show_bug.cgi?id=3087 Several years ago, before bugzilla, this request was made and there were a bunch of people supporting the request, but nothing ever came of it. Please consider adding these few textStyle enhancement features. Dave Calkins From dick.kriesel at mail.com Sat Aug 27 00:12:42 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 26 Aug 2005 21:12:42 -0700 Subject: What Just got Clicked In-Reply-To: Message-ID: On 8/26/05 8:37 PM, "Todd Geist" wrote: > Or is there some way for the card to know which slice of the pie was clicked > On? Is there some property that is set with each object that a message > passes through? > > I am flailing about here :<( If you knew the ChartMaker controls, and if they pass mouseUp, your card script could check the target. on mouseUp switch the short name of the target case break case break end switch end mouseUp Still flailing? -- Dick From jacque at hyperactivesw.com Sat Aug 27 00:40:07 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 26 Aug 2005 23:40:07 -0500 Subject: when do you use a hard space today? / Text Handling Features In-Reply-To: References: <20050816155218.055A682507F@mail.runrev.com> Message-ID: <430FEEA7.3030602@hyperactivesw.com> Dave Calkins wrote: > I believe that there are a couple of text handling features that would > greatly enhance Rev and many types of applications that we work with. I > know it would make a big difference to me. > > > A. An indent paragraph textStyle property. See the "firstIndent" property in the docs. If that is what you mean, you can probably cancel the Bugzilla entry. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dick.kriesel at mail.com Sat Aug 27 00:45:44 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 26 Aug 2005 21:45:44 -0700 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 In-Reply-To: <430F7AA3.5040307@fourthworld.com> Message-ID: BugZilla 3089: make the range of altIDs match the range of object IDs And it already has a vote! (One vote was all I had left.) -- Dick On 8/26/05 1:25 PM, "Richard Gaskin" wrote: > Dick Kriesel wrote: >> On 8/26/05 11:49 AM, "Richard Gaskin" wrote: >> >> >>> I think altID is the way to go because it also lets you reference things >>> numerically >> >> >> >>> b) Valid ID numbers go up to 2 billion >> >> >> Valid altID numbers go up to only 65535. >> >> create button >> repeat with i = 65535 to 65537 >> set the altID of it to i >> put the altID of it & cr after msg >> end repeat >> >> The above puts the following: >> >> 65535 >> 0 >> 1 >> >> I could not find a BugZilla entry about altID. Does anyone else think there >> should be one? Should it be a bug report or an enhancement request? > > Excellent catch, Dick. I had no idea that the altID would use a > completely different scheme from the ID. > > I would think that would be an enhancement request, and given the number > of people who would use it (you, me, and Jonathan) I think we can guess > when it would be implemented. ;) > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From tg.lists at geistinteractive.com Sat Aug 27 01:08:59 2005 From: tg.lists at geistinteractive.com (Todd Geist) Date: Fri, 26 Aug 2005 22:08:59 -0700 Subject: What Just got Clicked In-Reply-To: Message-ID: Thanks Dick I am trying another approach, but I am stuck again. Isn't there a way to iterate through the controls in a group? Repeat for Control in group ID ? do some stuff End repeat Or some thing like that Thanks Todd On 8/26/05 8:37 PM, "Todd Geist" wrote: > Hello, > > I have been playing around with ChartMaker from Flexible Learning. It is a > very cool little tool! -- Todd Geist ______________________________________ G e i s t i n t e r a c t i v e From ps1 at softseven.org Sat Aug 27 01:14:39 2005 From: ps1 at softseven.org (Paul Salyers) Date: Sat, 27 Aug 2005 00:14:39 -0500 Subject: help on open file Message-ID: <6.1.1.1.2.20050827000630.025e2a48@softseven.org> Dear RunRev programmers I have the need to open a word file from the app. I have the word file on my same path as my rev app. but using the suggested command it do not work, any reason why? This is the programming line I'm using: on mouseUp launch "textfile.doc" end mouseUp the textfile.doc will not open from within the app. Anyone know why? Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From ambassador at fourthworld.com Sat Aug 27 01:45:58 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Aug 2005 22:45:58 -0700 Subject: help on open file In-Reply-To: <6.1.1.1.2.20050827000630.025e2a48@softseven.org> References: <6.1.1.1.2.20050827000630.025e2a48@softseven.org> Message-ID: <430FFE16.9080404@fourthworld.com> Paul Salyers wrote: > Dear RunRev programmers > > I have the need to open a word file from the app. I have the word file > on my same path as my rev app. but using the suggested command it do not > work, any reason why? > > This is the programming line I'm using: > > on mouseUp > launch "textfile.doc" > end mouseUp > > the textfile.doc will not open from within the app. > > Anyone know why? From the docs: caunch command Starts up an application, optionally opening a document in the application. Syntax launch [documentPath with] applicationPath Examples launch "SimpleText" launch "/Documents/Projects/test.txt" with myApp launch it with (field "Application") Description Use the launch command to start an application for the user to use. Parameters: The documentPath is the location and name of a file to open with the specified application. If no path is specified, the launch command assumes that the file is in the defaultFolder. The applicationPath is the location and name of the application to start up. If no path is specified, the launch command assumes that the application is in the defaultFolder. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From tariel at mac.com Sat Aug 27 02:04:23 2005 From: tariel at mac.com (Tariel Gogoberidze) Date: Sat, 27 Aug 2005 02:04:23 -0400 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cdc2 of wd w2 In-Reply-To: <20050826183842.B32C1825605@mail.runrev.com> References: <20050826183842.B32C1825605@mail.runrev.com> Message-ID: <08d0d3816ed49baaa8178a6012f92119@mac.com> On Fri, 26 Aug 2005 11:49:29 Richard Gaskin wrote > > b) Valid ID numbers go up to 2 billion > > So if you establish a base ID well above a million you should never > conflict with the engine's ID numbering scheme (unless of course you > have more than a million objects, but then you'll have other problems > to > > deal with ). > > This means once you've set the altIDs you can do something like this: > > put 1000000 into tBaseID > repeat with i = 1 to 100 > get the whateverProperty of fld ID (tBaseID+i) > end repeat > > Just keep in mind when dealing with altID that it has a limit of 65535. If you set the altID of button 1 to 65536 put the altID of button 1 --> you'll get 0 best regards Tariel From scott at tactilemedia.com Sat Aug 27 02:08:48 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 26 Aug 2005 23:08:48 -0700 Subject: What Just got Clicked 2 - Who Sent The Message In-Reply-To: Message-ID: I'm stealing the title of another email, regarding how to determine what object sent a message. I have a button that sends a message to the card and executes a script in the card script. When the script is done, I'd like to send a "done" message back to the button, or to any other object that calls the card script. Is the executionContexts function the right way to go about this, or is there another method to determine which control sends a message to another? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From chipp at chipp.com Sat Aug 27 02:20:54 2005 From: chipp at chipp.com (Chipp Walters) Date: Sat, 27 Aug 2005 01:20:54 -0500 Subject: What Just got Clicked 2 - Who Sent The Message In-Reply-To: References: Message-ID: <43100646.3060309@chipp.com> how about appending the target to the handler/function call, that way it knows where to 'send done' back to. -Chipp Scott Rossi wrote: > I'm stealing the title of another email, regarding how to determine what > object sent a message. > > I have a button that sends a message to the card and executes a script in > the card script. When the script is done, I'd like to send a "done" message > back to the button, or to any other object that calls the card script. Is > the executionContexts function the right way to go about this, or is there > another method to determine which control sends a message to another? From scott at tactilemedia.com Sat Aug 27 02:28:20 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 26 Aug 2005 23:28:20 -0700 Subject: What Just got Clicked 2 - Who Sent The Message In-Reply-To: <43100646.3060309@chipp.com> Message-ID: >> I have a button that sends a message to the card and executes a script in >> the card script. When the script is done, I'd like to send a "done" message >> back to the button, or to any other object that calls the card script. Is >> the executionContexts function the right way to go about this, or is there >> another method to determine which control sends a message to another? > how about appending the target to the handler/function call, that way it > knows where to 'send done' back to. Thanks Chipp. I thought about that method, but was wondering if the executionContexts gives you that for free (of course there is a bit of parsing to do). Or is it better not to rely on this (last I heard it was undocumented) function. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From rp011s7075 at blueyonder.co.uk Sat Aug 27 04:19:33 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Sat, 27 Aug 2005 09:19:33 +0100 Subject: Rev-Ed mailing list (wasRe: [FR] [EN] Arcade engine) Message-ID: Hello Dom, That's an excellent idea (to register to the education list). We need more of you educators there. About your problems. I guess that you mean you tried to fill the form there: http://lists.runrev.com/mailman/listinfo/education-revolution And this didn't get your registered. Strange. I had myself no problem to register. Best is to contact Ro or Heather Nagey (heather at runrev.com) if a manual subscription is needed. Marielle ------------------------------------------------------------------------ ------------------------------------------------ Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From scott at proherp.com Sat Aug 27 07:36:05 2005 From: scott at proherp.com (Scott Kane) Date: Sat, 27 Aug 2005 21:36:05 +1000 Subject: Database Query Builder Message-ID: <000401c5aafb$884873d0$0201010a@proherps56yaxv> Hi folks, I'm using altSQLLite for the database. One thing I can't seem to get right is the path to the table (it's in the same path as the executable). The Database Query Builder only takes a fixed path for the location of the database. i.e. "C:\MyFolder\MyApp\mytable.db" Is there a way to overcome this? I've read the doc's - for both the Database Query Builder and altSQL and I seem to be missing something. Note - I've posted this here and not as a direct support request to Altuit because it seems to be more a Rev issue than an alSQL issue - but of course I could be wrong - that's happened before. Scott From bill at bluewatermaritime.com Sat Aug 27 08:07:27 2005 From: bill at bluewatermaritime.com (Bill) Date: Sat, 27 Aug 2005 08:07:27 -0400 Subject: Database Query Builder In-Reply-To: <000401c5aafb$884873d0$0201010a@proherps56yaxv> Message-ID: I use the database query builder a lot but have been gradually shifting over to "libDatabase is a database abstraction library" by Trevor DeVore which is much better than the database query builder for everything except easily building a card that goes through each record of a database. I highly recommend it especially when working with sqlite. As an example, if you look for a record using the database query builder and it is a record that does not exist then not only will it bring your stack down sometimes you have to reboot the system too. Also if you ever have a database query builder connection to the database in one of your cards or substacks and it stops working it is impossible to track it down (so you will always -- thereafter -- get an error message "can't connect to the database" even though all the queries that you still use are connected). I put the sqlite database (on mac os x) in the same folder as my runtime revolution application as that was the only place it would work (the stack itself can be anywhere). So I don't have any path in the field that says "Database" just the name of the database. On 8/27/05 7:36 AM, "Scott Kane" wrote: > Hi folks, > > I'm using altSQLLite for the database. > One thing I can't seem to get right > is the path to the table (it's in > the same path as the executable). > The Database Query Builder only takes > a fixed path for the location of the > database. i.e. "C:\MyFolder\MyApp\mytable.db" > > Is there a way to overcome this? I've read > the doc's - for both the Database Query Builder > and altSQL and I seem to be missing something. > > Note - I've posted this here and not as a direct > support request to Altuit because it seems to > be more a Rev issue than an alSQL issue - but > of course I could be wrong - that's happened before. > > Scott > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- 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 rrevolution at softhome.net Sat Aug 27 09:59:34 2005 From: rrevolution at softhome.net (Revolution) Date: Sat, 27 Aug 2005 16:59:34 +0300 Subject: database : insert/update/delete Message-ID: <243449882.20050827165934@softhome.net> Saturday, August 27, 2005 4:57:04 PM (GMT +02:00) Hi, want to add to the database what's in a text field. event from the button mouseup : -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= put fld "MyEdit" into MyEditVar put "INSERT INTO mytable myfield VALUES ('" & MyEditVar & "');" into SQL revExecuteSQL dbID, SQL put the result into sqlResult -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= what's wrong ? also, for the update and delete ? have tried it, but it doesn't add to the table. stucked here. 10x Adrian C. From mcdomi at free.fr Sat Aug 27 10:07:42 2005 From: mcdomi at free.fr (Dom) Date: Sat, 27 Aug 2005 16:07:42 +0200 Subject: Rev-Ed mailing list In-Reply-To: Message-ID: <1h1ynbo.1aac6dl9aro7rM%mcdomi@free.fr> Marielle Lange wrote: > About your problems. I guess that you mean you tried to fill the form > there: > http://lists.runrev.com/mailman/listinfo/education-revolution > And this didn't get your registered. I tried again 5 hours ago, with the very same email address I use for this list; I was told I will receive an email to confirm... Nothing as of now! There is no spam filter on this address! -- Revolutionario From tg.lists at geistinteractive.com Sat Aug 27 10:46:26 2005 From: tg.lists at geistinteractive.com (Todd Geist) Date: Sat, 27 Aug 2005 07:46:26 -0700 Subject: What Just got Clicked In-Reply-To: Message-ID: Ok well Now I am making progress :>) After ChartMaker makes my Chart, I loop through all the Fields in the Chart Group setting the script property of each field. This lets me pass my own message to the Card with what was clicked It also lets me add my own rollover effects to the fields on the pie chart. COOL! But Now I have one another issue. :>( I want to be able to do this for the slice of pie that I am clicking on, But the pie chart is made up of a stack of graphics using "start angle and arc angle. So far I have been unable to figure out how to get a mouseClick to tell what Pie Slice I am clicking on. Does anybody have any idea's Thanks Todd Then On 8/26/05 10:08 PM, "Todd Geist" wrote: > Thanks Dick > > I am trying another approach, but I am stuck again. > > Isn't there a way to iterate through the controls in a group? > > Repeat for Control in group ID ? > > do some stuff > > End repeat > > Or some thing like that > > Thanks > > Todd > > > > On 8/26/05 8:37 PM, "Todd Geist" wrote: > >> Hello, >> >> I have been playing around with ChartMaker from Flexible Learning. It is a >> very cool little tool! -- Todd Geist ______________________________________ G e i s t i n t e r a c t i v e From davecalk at intergate.com Sat Aug 27 03:53:25 2005 From: davecalk at intergate.com (Dave Calkins) Date: Sat, 27 Aug 2005 00:53:25 -0700 Subject: use-revolution Digest, Vol 23, Issue 105 In-Reply-To: <20050827042943.C27F48254B7@mail.runrev.com> References: <20050827042943.C27F48254B7@mail.runrev.com> Message-ID: On Aug 26, 2005, at 9:29 PM, use-revolution-request at lists.runrev.com wrote: > Dave Calkins wrote: > >> I believe that there are a couple of text handling features that >> would greatly enhance Rev and many types of applications that we work >> with. I know it would make a big difference to me. >> A. An indent paragraph textStyle property. > > See the "firstIndent" property in the docs. If that is what you mean, > you can probably cancel the Bugzilla entry. > > -- > Jacqueline Landman Gay Hi Jacqueline, Yes I was aware of the firstindent. But it indents only the first line, and is not what I was referring to. Many of the reports that I generate are 20 to 30 pages of mostly text mixed with a half a dozen graphics. These reports have a ton of information which have whole sections, paragraphs, that are indented like the following. 1. The paragraphs will look like this. They are offset. like this to highlight and organize the information. A. Most simple word processors can do this quite easily and often reports of this type is much easier to read with this type offset. This allows one to easily understand how the information is organized. That is why I suggested that it should be done, on chunks, not just line wraps. The bugzilla is posted as an enhancement. Dave Calkins From mark at maseurope.net Sat Aug 27 11:58:27 2005 From: mark at maseurope.net (Mark Smith) Date: Sat, 27 Aug 2005 16:58:27 +0100 Subject: CGI permissions Message-ID: <6dfc91098a799fa338c97a41659e5fd9@maseurope.net> I have a Rev CGI stack that collects data from some text files, builds some html and returns it to the browser. The html stuff is all working fine, but the stack is unable to read the necessary files to get the data... Could some kind soul tell me what the permissions should be, both for the stack (which resides in the CGI-Executables folder, currently 755) and for the files (which live elsewhere). Thanks, Mark ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com From dcragg at lacscentre.co.uk Sat Aug 27 12:09:45 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat, 27 Aug 2005 17:09:45 +0100 Subject: CGI permissions In-Reply-To: <6dfc91098a799fa338c97a41659e5fd9@maseurope.net> References: <6dfc91098a799fa338c97a41659e5fd9@maseurope.net> Message-ID: On 27 Aug 2005, at 16:58, Mark Smith wrote: > I have a Rev CGI stack that collects data from some text files, > builds some html and returns it to the browser. > The html stuff is all working fine, but the stack is unable to read > the necessary files to get the data... > > Could some kind soul tell me what the permissions should be, both > for the stack (which resides in the CGI-Executables folder, > currently 755) and for the files (which live elsewhere). > 644 should work for reading the files. (Anyone can read, only the owner can write.) When you say a "CGI stack", do you mean a script file, or a stack that is opened by a script file? However, 755 should work in either case, unless you need to dave the stack. Cheers Dave From mark at maseurope.net Sat Aug 27 12:26:40 2005 From: mark at maseurope.net (Mark Smith) Date: Sat, 27 Aug 2005 17:26:40 +0100 Subject: CGI permissions In-Reply-To: References: <6dfc91098a799fa338c97a41659e5fd9@maseurope.net> Message-ID: It's a stack (no UI elements) which has some template html stored in custom properties, tries to get the data from the files and "puts" the result. It's opened from a simple text CGI. I think the problem maybe that the the files are in a folder on my desktop - however, having changed the permissions for the desktop to 644 ( was this a stupid thing to do? no-one else uses the machine), the problem persists. The stack works properly in the IDE, and the paths to the files are absolute and complete, as it were (no specialFolderPath, or anything). Thanks, Mark On 27 Aug 2005, at 17:09, Dave Cragg wrote: > > On 27 Aug 2005, at 16:58, Mark Smith wrote: > >> I have a Rev CGI stack that collects data from some text files, >> builds some html and returns it to the browser. >> The html stuff is all working fine, but the stack is unable to read >> the necessary files to get the data... >> >> Could some kind soul tell me what the permissions should be, both for >> the stack (which resides in the CGI-Executables folder, currently >> 755) and for the files (which live elsewhere). >> > > 644 should work for reading the files. (Anyone can read, only the > owner can write.) > > When you say a "CGI stack", do you mean a script file, or a stack that > is opened by a script file? However, 755 should work in either case, > unless you need to dave the stack. > > Cheers > Dave > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com From jacque at hyperactivesw.com Sat Aug 27 12:42:47 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 27 Aug 2005 11:42:47 -0500 Subject: Dragging from a list field Message-ID: <43109807.5020808@hyperactivesw.com> I have a list field that operates like an index; clicking on a line causes the stack to display content based on the text of the line. I also need the field to support drag and drop, so that users can create their own lists by dragging lines from the index into a different field in a substack. I tried setting the dragData on a mousedown in the index field, but even if I pass mouseDown, the index behaviors no longer function. The field does not recognize "mouseup" or "selectionchanged" and nothing happens. Actually, when I try dragging a line, the selection changes to whatever line the pointer is over. Does anyone have a trick for making a list field behave in two different ways -- that is, normal line selection as well as supporting dragging lines to another field? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dick.kriesel at mail.com Sat Aug 27 13:33:06 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sat, 27 Aug 2005 10:33:06 -0700 Subject: What Just got Clicked In-Reply-To: Message-ID: On 8/27/05 7:46 AM, "Todd Geist" wrote: > So far I have been unable to figure out how to get a mouseClick to > tell what Pie Slice I am clicking on. If the slices have different colors, function mouseColor might help. -- Dick From rrevolution at softhome.net Sat Aug 27 13:59:06 2005 From: rrevolution at softhome.net (Revolution) Date: Sat, 27 Aug 2005 20:59:06 +0300 Subject: Tuviah Snyder's Database Examples, working link please ? Message-ID: <1589441255.20050827205906@softhome.net> Saturday, August 27, 2005 8:57:36 PM (GMT +02:00) Hi all, if anyone has Tuviah Snyder's Database Examples, please upload to somewhere. http://www.runrev.com/revolution/downloads/developerdownloads/DB%20Examples.zip seems to be 404. ;) I need a working link to download them. Thank you. regards, Adrian C. From bill at bluewatermaritime.com Sat Aug 27 14:05:26 2005 From: bill at bluewatermaritime.com (Bill) Date: Sat, 27 Aug 2005 14:05:26 -0400 Subject: database : insert/update/delete In-Reply-To: <243449882.20050827165934@softhome.net> Message-ID: The database query builder does an excellent (and a little too seamless--no feedback) job of updating (although since the records are catched you have to refresh to see the changes). But I can't help you with delete and insert as you can't do either of those with the database query builder so I am using libDatabase for that (also works great). I remember that when I was using the direct calls some of them were confusing and required reading the directions several times. I finally just copied directly from the SQLite Demo stack which was a fairly easy solution. Have you looked at that stack? Are you looking at your data table using SQLiteManager or something like that as if you are looking at your data with results from the database query builder you won't see any changes until after a refresh. On 8/27/05 9:59 AM, "Revolution" wrote: > Saturday, August 27, 2005 4:57:04 PM (GMT +02:00) > > Hi, > > want to add to the database what's in a text > field. > > event from the button mouseup : > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > put fld "MyEdit" into MyEditVar > put "INSERT INTO mytable myfield VALUES ('" & MyEditVar & "');" into SQL > revExecuteSQL dbID, SQL > put the result into sqlResult > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > what's wrong ? > > also, for the update and delete ? > > have tried it, but it doesn't add to the table. > stucked here. > > 10x > > Adrian C. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- 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 Sat Aug 27 14:06:30 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 27 Aug 2005 11:06:30 -0700 Subject: help on open file In-Reply-To: <6.1.1.1.2.20050827000630.025e2a48@softseven.org> References: <6.1.1.1.2.20050827000630.025e2a48@softseven.org> Message-ID: You will need to do one of two things: 1. Include the name of the app to launch the document with (including full path) launch "textfile.doc" with "C:/Program Files/Microsoft/Word.exe" (or whatever) OR 2. Use the system scripting language (shell command) or in the case of OS X AppleScript as an alternative, to do this outside the app. There's no way for Rev to open a Word doc itself without launching Word. On Aug 26, 2005, at 10:14 PM, Paul Salyers wrote: > Dear RunRev programmers > > I have the need to open a word file from the app. I have the word > file on my same path as my rev app. but using the suggested command > it do not work, any reason why? > > This is the programming line I'm using: > > on mouseUp > launch "textfile.doc" > end mouseUp > > the textfile.doc will not open from within the app. > > Anyone know why? > > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > Http://ps1.SoftSeven.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html From revdan at danshafer.com Sat Aug 27 14:12:13 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 27 Aug 2005 11:12:13 -0700 Subject: CGI permissions In-Reply-To: References: <6dfc91098a799fa338c97a41659e5fd9@maseurope.net> Message-ID: <05B48D35-5551-4408-A57E-3D5213973ACF@danshafer.com> So the text files you're trying to read on your desktop but the CGI is on a (presumably remote even if in the same room and on the same subnet) server? Is that the architecture? Have you tried logging into the server and copying those files from your desktop? That would tell you whether there's some sort of underlying connection issue or permissions problem. On Aug 27, 2005, at 9:26 AM, Mark Smith wrote: > It's a stack (no UI elements) which has some template html stored > in custom properties, tries to get the data from the files and > "puts" the result. > It's opened from a simple text CGI. > > I think the problem maybe that the the files are in a folder on my > desktop - however, having changed the permissions for the desktop > to 644 ( was this a stupid thing to do? no-one else uses the > machine), the problem persists. The stack works properly in the > IDE, and the paths to the files are absolute and complete, as it > were (no specialFolderPath, or anything). > > Thanks, > > Mark > > On 27 Aug 2005, at 17:09, Dave Cragg wrote: > > >> >> On 27 Aug 2005, at 16:58, Mark Smith wrote: >> >> >>> I have a Rev CGI stack that collects data from some text files, >>> builds some html and returns it to the browser. >>> The html stuff is all working fine, but the stack is unable to >>> read the necessary files to get the data... >>> >>> Could some kind soul tell me what the permissions should be, both >>> for the stack (which resides in the CGI-Executables folder, >>> currently 755) and for the files (which live elsewhere). >>> >>> >> >> 644 should work for reading the files. (Anyone can read, only the >> owner can write.) >> >> When you say a "CGI stack", do you mean a script file, or a stack >> that is opened by a script file? However, 755 should work in >> either case, unless you need to dave the stack. >> >> Cheers >> Dave >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > > > > > ___________________________________________________________ Yahoo! > Messenger - NEW crystal clear PC to PC calling worldwide with > voicemail http://uk.messenger.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.shafermediastore.com/tech_main.html From bill at bluewatermaritime.com Sat Aug 27 14:21:47 2005 From: bill at bluewatermaritime.com (Bill) Date: Sat, 27 Aug 2005 14:21:47 -0400 Subject: Tuviah Snyder's Database Examples, working link please ? In-Reply-To: <1589441255.20050827205906@softhome.net> Message-ID: Try this: http://www.altuit.com/webs/altuit2/altSQLiteCover/default.htm For the sqlite plug-in database examples stack which is very clear. Also for MySQL you can't do better than Sarah's example stack: http://www.troz.net/Rev/ I'm sorry but I can't find the chief of technology's example stack either -- but depending on whether you are using mySQL or SQLite the two above example stacks are great. In fact the SQLite one is especially great because it is like a tutorial for connecting to a SQL database too. On 8/27/05 1:59 PM, "Revolution" wrote: > Tuviah Snyder's Database Examples | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- 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 mcdomi at free.fr Sat Aug 27 14:51:45 2005 From: mcdomi at free.fr (Dom) Date: Sat, 27 Aug 2005 20:51:45 +0200 Subject: An odd error Message-ID: <1h1z0fw.ljz43a1v6ohxeM%mcdomi@free.fr> I had a handler which didn't worked... It seems that I had a local which caused the error: compiling at 5:26:43 PM Type local: name shadows another variable or constant Object Totaux Line local Lmontants,Lpos,Lentree,nbL,rubri,maliste,rubri,sortie Hint rubri The first time I see this sort of error ;-) -- Revolutionario From jeff at siphonophore.com Sat Aug 27 15:04:07 2005 From: jeff at siphonophore.com (Jeffrey Reynolds) Date: Sat, 27 Aug 2005 15:04:07 -0400 Subject: Mac Classic standalones In-Reply-To: <20050827042944.0C9638254C1@mail.runrev.com> References: <20050827042944.0C9638254C1@mail.runrev.com> Message-ID: Thanks for the confirmations! at least im not nutz, well dont talk to my friends. some more fiddling makes it look like messages like openstack and opencard and such are not being sent by the stack when the actions happen. i rigged some buttons to send those messages on cards and i could get a lot of my functionality working again. mouse clicks and mouseenter and mouseleave appear to be being sent when you are on a card. so if you rely on setting up a lot of things with openstack and opencard (or cleanup with closecard) this just wont happen when you make the 25 os9 build from 26 osx authoring. is it kosher to take a 26 stack created with osx 26 rev authoring and open it in osx rev 251 authoring to do the os9 build? I dont think i am doing anything feature/call wise that is 26 specific at all in my scripts. these programs are kept simple on purpose to make them as bullet proof and error free as possible. I am doing quicktime movies, but only doing things that i have been doing for years in mc/rev, nothing fancy call wise that hasn't been there for the last 4 years or so. I am in a bit of a bind here since i need to ship a product in the next month with an os9 build along with the osx and xp builds. the osx and xp are working great... Since much of this code was used in an os9 build last year i had little worry that it was going to do anything strange until i tried to make the standalone, should have done this earlier, just got in a rush in all the production phases... cheers, jeff On Aug 27, 2005, at 12:29 AM, use-revolution-request at lists.runrev.com wrote: > Confirmed. I can build this application under Rev 2.5.1 for OS9 and > it works exactly as expected. If I build the same app under 2.6, it > comes up with a blank window and stares at me. > > Huge problem, obviously, but glad I kept 2.5.1 around. > > > On Aug 26, 2005, at 2:45 PM, Dan Shafer wrote: > >> Hmmmmmmm. This may explain why my SmartEBooks don't work in OS9 >> either. I'm going to go build those standalones in Rev 2.5 and see >> if they work then. >> >> I'll report back. >> >> >> On Aug 26, 2005, at 1:49 PM, Jeffrey Reynolds wrote: >> >> >>> hmm, well i have tried using the rev2.5 engine installed in my >>> rev2.6 osx authoring system (using rev to uncompress the os92.5 >>> rev as jacque advised and installed in the engines folder) and >>> when i build apps with the os9 engine they appear to be pretty >>> much non functional. openstack scripts dont seem to work at all >>> and other things are not functioning. the same stack build in osx >>> standalone works great. this is material that was from older code, >>> so is not asking the 2.5 engine for the os9 to be doing anything >>> that should be 2.6 specific. also created a test stack from >>> scratch in 2.6 and have the same problem with the 2.5 ox9 standalone. >>> >>> the os9 standalones build fine from osx 2.6 authoring system, they >>> just dont function properly after booting. >>> >>> not sure what i am doing wrong... >>> >>> thanks >>> >>> jeff From scott at tactilemedia.com Sat Aug 27 15:38:50 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 27 Aug 2005 12:38:50 -0700 Subject: mouseStillDown Not Allowed in Front Script? Message-ID: >From a new, empty stack, I loaded the following into a frontscript: on mouseStillDown put the millisecs end mouseStillDown But nothing appears in the message box when I click in the stack. Is mouseStillDown not trappable in a front script? Does this handler need to co-exist with mouseDown or something else I'm missing? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From davis.phil at comcast.net Sat Aug 27 15:58:14 2005 From: davis.phil at comcast.net (Phil Davis) Date: Sat, 27 Aug 2005 12:58:14 -0700 Subject: Dragging from a list field In-Reply-To: <43109807.5020808@hyperactivesw.com> References: <43109807.5020808@hyperactivesw.com> Message-ID: <4310C5D6.3020905@comcast.net> I've done this in the past: Instead of using Rev's drap/drop features, you could fake it with a button that appears at the mouseLoc when the drag begins. - its label is set to the selectedText of the index field - its rect is same as that of the selected line in the field - it looks like you're dragging selectedText - if dropped in an invalid target zone, it snaps back to the original location and disappears - if dropped in a valid zone, it disappears and your script puts the text where it belongs. This is a little bit of work, but maybe it would give you what you want. HTH - Phil Davis J. Landman Gay wrote: > I have a list field that operates like an index; clicking on a line > causes the stack to display content based on the text of the line. > > I also need the field to support drag and drop, so that users can create > their own lists by dragging lines from the index into a different field > in a substack. > > I tried setting the dragData on a mousedown in the index field, but even > if I pass mouseDown, the index behaviors no longer function. The field > does not recognize "mouseup" or "selectionchanged" and nothing happens. > Actually, when I try dragging a line, the selection changes to whatever > line the pointer is over. Does anyone have a trick for making a list > field behave in two different ways -- that is, normal line selection as > well as supporting dragging lines to another field? > From mcdomi at free.fr Sat Aug 27 16:43:08 2005 From: mcdomi at free.fr (Dom) Date: Sat, 27 Aug 2005 22:43:08 +0200 Subject: RevoBlog lives again! Message-ID: <1h1z5j4.5idgam1yrhxwgM%mcdomi@free.fr> It is here: http://revoblog.free.fr/2005/08/27/index.html You can go to the home page: http://revoblog.free.fr/ but, for an unknown reason, a clic on a link gives nothing at home (that worked, before) -- maybe, that works for you, you are able to go to old pages? there is a workaround: you type "2005/" (without the quotes) after the URL... -- Revolutionario From tg.lists at geistinteractive.com Sat Aug 27 17:10:28 2005 From: tg.lists at geistinteractive.com (Todd Geist) Date: Sat, 27 Aug 2005 14:10:28 -0700 Subject: What Just got Clicked In-Reply-To: Message-ID: I thought of this and I think it would work BUT. The colors of the graph which are set by ChartMaker use colornames, and mouseColor uses RGB. And I I don't know how to convert between the two. I am going to start a new thread Todd On 8/27/05 10:33 AM, "Dick Kriesel" wrote: > On 8/27/05 7:46 AM, "Todd Geist" wrote: > >> So far I have been unable to figure out how to get a mouseClick to >> tell what Pie Slice I am clicking on. > > If the slices have different colors, function mouseColor might help. -- Todd Geist ______________________________________ G e i s t i n t e r a c t i v e From tg.lists at geistinteractive.com Sat Aug 27 17:12:17 2005 From: tg.lists at geistinteractive.com (Todd Geist) Date: Sat, 27 Aug 2005 14:12:17 -0700 Subject: Convert ColorNames to RGB Message-ID: Does anybody know how to convert ColorNames to RGB values. As much as I like Medium Goldenrod, I need the RGB value for it :>) Thanks! Todd -- Todd Geist ______________________________________ G e i s t i n t e r a c t i v e From ptrendler at bigpond.com Sat Aug 27 17:12:44 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Sun, 28 Aug 2005 07:12:44 +1000 Subject: An odd error References: <1h1z0fw.ljz43a1v6ohxeM%mcdomi@free.fr> Message-ID: <001501c5ab4c$136864c0$0200000a@super> Dom, You have the variable name rubri twice in your list. That causes the shadow error. Pat. patrend at bigpond.com ----- Original Message ----- From: "Dom" To: Sent: Sunday, August 28, 2005 4:51 AM Subject: An odd error >I had a handler which didn't worked... > It seems that I had a local which caused the error: > > compiling at 5:26:43 PM > Type local: name shadows another variable or constant > Object Totaux > Line local Lmontants,Lpos,Lentree,nbL,rubri,maliste,rubri,sortie > Hint rubri > > The first time I see this sort of error ;-) > > -- > Revolutionario > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005 > > From sanke at hrz.uni-kassel.de Sat Aug 27 17:18:52 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sat, 27 Aug 2005 23:18:52 +0200 Subject: Dragging from a list field Message-ID: <4310D8BC.4080809@hrz.uni-kassel.de> On Sat, 27 Aug 2005, J. Landman Gay" wrote: > I have a list field that operates like an index; clicking on a line > causes the stack to display content based on the text of the line. > > I also need the field to support drag and drop, so that users can create > their own lists by dragging lines from the index into a different field > in a substack. > (snip) > Does anyone have a trick for making a list > field behave in two different ways -- that is, normal line selection as > well as supporting dragging lines to another field? > > -- Jacqueline Landman Gay Hi Jacqueline, I am not sure if this meets exactly your expectations, but you might have a look at my sample stack "Dragging with List Fields" on page "Tools and Samples for Development of my site (scroll down to the bottom of the page). Of the six examples offered in the samples stack try example 1 "sample stack with three fields" of 1. "between list fields". You would have to change the script of field 1 - or one of the other fields - to accept a right-button mouseclick to distinguish between normal list behavior and dragging from the list. add "on mousedown x if x is 3 then" to the field script and you could then have normal list behavior and at the same time dragging behavior when the other mouse button is being pressed. Best regards, Wilhelm From tg.lists at geistinteractive.com Sat Aug 27 17:37:29 2005 From: tg.lists at geistinteractive.com (Todd Geist) Date: Sat, 27 Aug 2005 14:37:29 -0700 Subject: Really cool WindowShapes X-plat Message-ID: Hello, Does anybody have a REALLY cool mask I could use for a demo of window shapes. I am presenting to a couple hundred FM pro users and I want to show custom window shapes. I am not a graphic artist and what I do will look like crap. So I am hoping somebody out there can help. Full credit and attribution to the creator of course! Thanks Todd -- Todd Geist ______________________________________ G e i s t i n t e r a c t i v e From dcragg at lacscentre.co.uk Sat Aug 27 17:37:43 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat, 27 Aug 2005 22:37:43 +0100 Subject: database : insert/update/delete In-Reply-To: <243449882.20050827165934@softhome.net> References: <243449882.20050827165934@softhome.net> Message-ID: <1483932B-1227-47F4-A75F-FCFC0BCF18BC@lacscentre.co.uk> On 27 Aug 2005, at 14:59, Revolution wrote: > Saturday, August 27, 2005 4:57:04 PM (GMT +02:00) > > Hi, > > want to add to the database what's in a text > field. > > event from the button mouseup : > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > =-=-=-=-= > put fld "MyEdit" into MyEditVar > put "INSERT INTO mytable myfield VALUES ('" & MyEditVar & "');" > into SQL > revExecuteSQL dbID, SQL > put the result into sqlResult > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > =-=-=-=-= > > what's wrong ? Don't include the semicolon at the end of the statement. Also, I think myfield should be in parentheses. Cheers Dave From katir at hindu.org Sat Aug 27 17:48:18 2005 From: katir at hindu.org (Sivakatirswami) Date: Sat, 27 Aug 2005 11:48:18 -1000 Subject: Spell Checker In-Reply-To: <64878EF567131D4596246171F75FD4A9744627@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9744627@m-epo-1.epo.cdc.gov> Message-ID: <6C30051D-71AA-47DC-AD5E-B1FFD5A20C3E@hindu.org> Jonathan: Can you share your spell checker with us? or is this proprietary? (put it on line somewhere or send to me off list?) I don't care if it is not polished in terms of the UI, as long the basic algorithms and scripts are accessible, I can put it to work.. basically I have a single field I am checking and would like to get a) mis-spelled words flagged in that field b) a suggestion list--(very basic, that segment of the alphabet would do... right, I know... not very smart and all the "s's" could be a long suggestion list, but my implementation will let them view two different suggestion lists, one the "common" English dict and two, a specialized words list... the latter will be short... Sivakatirswami On Aug 22, 2005, at 3:30 AM, Lynch, Jonathan wrote: > Hi Derek, > > Just a suggestion for your spellchecker - because I have one I created > for work and I made this change and now it moves much much faster. > > In one of the recent informal coding challenges, one of the rev users > (I'm sorry, I cannot remember who it was) came up with a cool way of > doing mass comparisons. > > Basically, you can load the entire word list into an array, in which > each element of the array is named for the word, and the content of > each > element is the word "true" > > Something like this: > > Repeat for each word tWord in tWordList > Put true into tWordArray[tWord] > End repeat > > Then when you go to do the comparison for a given word, you do this > > If not tWordArray[tWordToCheck] then > -- hilite the word, or whatever > End if > > > This was much faster than checking to see if the word was contained > in a > list, and is nice because it is not particularly slowed down by > having a > very large word list. You might already be using this method, so my > apologies if I am pointing out the obvious to you. > > Cheers, > > J > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Derek > Bump > Sent: Thursday, August 18, 2005 8:46 PM > To: Sivakatirswami; How to use Revolution > Subject: Re: Spell Checker > > Sivakatirswami wrote: > >> Derek... Please ignore my post to the list... I just now see you >> > bailed > >> on that project (or were forced to...) >> >> But I never did get from you what you had done so far, per your memo: >> >> Sivakatirswami >> > > Sivaktirswami, > > Let me first apologize for the time it has taken me to get back to > you. > My main computer's hard drive is corrupted and I spend the better > part > > of 2 days attempting to get as many files off of it as possible > (Mostly > my iTunes Library). > > I do have a back up that is recent enough to include the Spell > Checker, > but I cannot give it out at this point. I have not forgotten about > you, > > as well as the other Revolution Developers, and I am working to get > the > Spell Checker finished. It would be a valuable tool for Revolution > that > > really should have been included a long time ago in the development > package. > > > Derek Bump > Dreamscape Software > _______________________________________________ > Compress Images Easily with JPEGCompress > http://www.dreamscapesoftware.com/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dick.kriesel at mail.com Sat Aug 27 18:02:59 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sat, 27 Aug 2005 15:02:59 -0700 Subject: Really cool WindowShapes X-plat In-Reply-To: Message-ID: How about Scott Rossi's "Blowing in the Wind?" See his post on August 16. On 8/27/05 2:37 PM, "Todd Geist" wrote: > Hello, > > Does anybody have a REALLY cool mask I could use for a demo of window > shapes. I am presenting to a couple hundred FM pro users and I want to show > custom window shapes. I am not a graphic artist and what I do will look > like crap. So I am hoping somebody out there can help. > > Full credit and attribution to the creator of course! > > Thanks > > Todd > From mcdomi at free.fr Sat Aug 27 18:09:50 2005 From: mcdomi at free.fr (Dom) Date: Sun, 28 Aug 2005 00:09:50 +0200 Subject: An odd error In-Reply-To: <001501c5ab4c$136864c0$0200000a@super> Message-ID: <1h1z9n7.4h1p6y18mtcmnM%mcdomi@free.fr> Pat Trendler wrote: > You have the variable name rubri twice in your list. That causes the shadow > error. You got it! (the most obvious errors are also the most unseen ;-)) From alex at tweedly.net Sat Aug 27 18:19:27 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 27 Aug 2005 23:19:27 +0100 Subject: mouseStillDown Not Allowed in Front Script? In-Reply-To: References: Message-ID: <4310E6EF.6090106@tweedly.net> Scott Rossi wrote: >>From a new, empty stack, I loaded the following into a frontscript: > > on mouseStillDown > put the millisecs > end mouseStillDown > >But nothing appears in the message box when I click in the stack. Is >mouseStillDown not trappable in a front script? Does this handler need to >co-exist with mouseDown or something else I'm missing? > > The docs say > Note: If there is no mouseStillDown handler in the target object's > script, no mouseStillDown message is sent, even if there is a > mouseStillDown handler in an object that's further along the message path. so I think that may imply that you can't use it in a frontscript (maybe?). -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005 From mwieder at ahsoftware.net Sat Aug 27 18:31:55 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 27 Aug 2005 15:31:55 -0700 Subject: An odd error In-Reply-To: <001501c5ab4c$136864c0$0200000a@super> References: <1h1z0fw.ljz43a1v6ohxeM%mcdomi@free.fr> <001501c5ab4c$136864c0$0200000a@super> Message-ID: <10022488997.20050827153155@ahsoftware.net> Pat- Saturday, August 27, 2005, 2:12:44 PM, you wrote: > You have the variable name rubri twice in your list. That causes the shadow > error. !!! Good eye !!! I read that line twice and missed it... -- -Mark Wieder mwieder at ahsoftware.net From rp011s7075 at blueyonder.co.uk Sat Aug 27 18:55:06 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Sat, 27 Aug 2005 23:55:06 +0100 Subject: 3 new stacks in the education gallery Message-ID: <9170A971-3218-49C5-BA5C-0C20A1DD2CF4@blueyonder.co.uk> 3 new stacks have been added to the education gallery: http://revolution.lexicall.org/stacks_education.php (1) A pivot table utility by me (under research tools) And two stacks mentioned this week on the use-revolution list: (2) Line Intersection by Jim Hurley (under courseware->math) (3) Physics stuff by Roger Guay (under courseware->physics) The pivot table utility is a small tool to help summarize data according to predefined dimensions. You will find explanations at: http://revolution.lexicall.org/paypal/pivot_table/ This is an early version and comments and feedback are appreciated. It would be nice to have some "drag and drop" features like in Excel, feel free to add this to the stack (share alike license). Best, Marielle PS. Bugs have also been fixed in the trim outliers application: http://revolution.lexicall.org/paypal/trim_outliers/. The url has changed slightly too, but a redirection has now been set for all of the old links I had given. ------------------------------------------------------------------------ ------------------------------------------ Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From rp011s7075 at blueyonder.co.uk Sat Aug 27 19:25:32 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Sun, 28 Aug 2005 00:25:32 +0100 Subject: string format Message-ID: <3A74673E-185B-4B3E-AA7A-9A703DDB37F8@blueyonder.co.uk> There was some discussion not long ago on how to add spaces such that a string fills a given fixed length. I discovered today that it was in fact possible to use the equivalent of the sprintf command found in c: format(baseString[,valuesList]) format("Hello world") -- returns "Hello world" format("Hello\nworld") -- returns "Hello" on one line, "world" on next format("%1.3e",865.3) -- returns 8.653e+02, scientific notation format("%o in octal\n%x in hex.",myNumber,myNumber) format("%45d",5) -- returns "5" preceded by 45 spaces Also look for: String: %[charLength]s The corresponding value is unchanged, except that if a charLength is specified, if the string is shorter than the charLength, enough leading spaces are added to make it charLength characters long. If the length of the string is equal to or greater than the charLength, it is unchanged. For example, the incantation %3s transforms "H" to " H". Best, Marielle From mark at maseurope.net Sat Aug 27 19:19:28 2005 From: mark at maseurope.net (Mark Smith) Date: Sun, 28 Aug 2005 00:19:28 +0100 Subject: CGI permissions In-Reply-To: <05B48D35-5551-4408-A57E-3D5213973ACF@danshafer.com> References: <6dfc91098a799fa338c97a41659e5fd9@maseurope.net> <05B48D35-5551-4408-A57E-3D5213973ACF@danshafer.com> Message-ID: No, this is still all on one machine (Mac Powerbook with 10.3.9). The files are in a folder on the desktop and the CGI is in the /Library/WebServer/CGI-Executables folder. I'm just pointing my browser at localhost. I've tried (whilst in the IDE) importing all the data into customProperties in the CGI, and that works, but I can't actually get the CGI to sucessfully open and read any files, even if I copy them into the same CGI-Executables folder and set their permissions to 755. It can, however, get the list of files from the folder they're in, so I'm pretty sure my paths are fine. In fact, I've just discovered that the CGI can't produce the system date, either. It doesn't produce an error, but 'put the system date into myVar' simply puts empty into myVar. Perhaps this is a broken engine. I'm using the engine at this link: http://www.runrev.com/downloads/engines/2.1.2/cgi/osx.zip which shows up simply called "rev" and was apparently created on the 18th April 2003. Could this be an aberrant engine? Anyone know of a more recent/less recent version that will work on my system? Thanks, Mark On 27 Aug 2005, at 19:12, Dan Shafer wrote: > So the text files you're trying to read on your desktop but the CGI is > on a (presumably remote even if in the same room and on the same > subnet) server? Is that the architecture? > > Have you tried logging into the server and copying those files from > your desktop? That would tell you whether there's some sort of > underlying connection issue or permissions problem. > > > On Aug 27, 2005, at 9:26 AM, Mark Smith wrote: > >> It's a stack (no UI elements) which has some template html stored in >> custom properties, tries to get the data from the files and "puts" >> the result. >> It's opened from a simple text CGI. >> >> I think the problem maybe that the the files are in a folder on my >> desktop - however, having changed the permissions for the desktop to >> 644 ( was this a stupid thing to do? no-one else uses the machine), >> the problem persists. The stack works properly in the IDE, and the >> paths to the files are absolute and complete, as it were (no >> specialFolderPath, or anything). >> >> Thanks, >> >> Mark >> >> On 27 Aug 2005, at 17:09, Dave Cragg wrote: >> >> >>> >>> On 27 Aug 2005, at 16:58, Mark Smith wrote: >>> >>> >>>> I have a Rev CGI stack that collects data from some text files, >>>> builds some html and returns it to the browser. >>>> The html stuff is all working fine, but the stack is unable to read >>>> the necessary files to get the data... >>>> >>>> Could some kind soul tell me what the permissions should be, both >>>> for the stack (which resides in the CGI-Executables folder, >>>> currently 755) and for the files (which live elsewhere). >>>> >>>> >>> >>> 644 should work for reading the files. (Anyone can read, only the >>> owner can write.) >>> >>> When you say a "CGI stack", do you mean a script file, or a stack >>> that is opened by a script file? However, 755 should work in either >>> case, unless you need to dave the stack. >>> >>> Cheers >>> Dave >>> >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> >> >> >> >> ___________________________________________________________ Yahoo! >> Messenger - NEW crystal clear PC to PC calling worldwide with >> voicemail http://uk.messenger.yahoo.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Information Product Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.shafermediastore.com/tech_main.html > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dcragg at lacscentre.co.uk Sat Aug 27 19:43:11 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sun, 28 Aug 2005 00:43:11 +0100 Subject: CGI permissions In-Reply-To: References: <6dfc91098a799fa338c97a41659e5fd9@maseurope.net> <05B48D35-5551-4408-A57E-3D5213973ACF@danshafer.com> Message-ID: <4150EA73-662D-4D94-971C-C0E1AB414B38@lacscentre.co.uk> On 28 Aug 2005, at 00:19, Mark Smith wrote: > No, this is still all on one machine (Mac Powerbook with 10.3.9). > The files are in a folder on the desktop and the CGI is in the / > Library/WebServer/CGI-Executables folder. I'm just pointing my > browser at localhost. > > I've tried (whilst in the IDE) importing all the data into > customProperties in the CGI, and that works, but I can't actually > get the CGI to sucessfully open and read any files, even if I copy > them into the same CGI-Executables folder and set their permissions > to 755. > It can, however, get the list of files from the folder they're in, > so I'm pretty sure my paths are fine. You said you had set the Desktop folder to 644. I don't think that's a good move. However, if the files are in the CGI-Executables folder, and have permissions set to 755, they should be readable. Are they loose in the CGI-Executables, and not in a sub-folder? If they're in a subfolder, check the permissions on that. How are you reading the files? Are you sure the read is failing, and not what you do with the data after you read it? What do you get in "the result" after trying to read the file? I'm guessing it's different in the CGI than in the IDE. Cheers Dave From alex at tweedly.net Sat Aug 27 19:49:28 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 28 Aug 2005 00:49:28 +0100 Subject: string format In-Reply-To: <3A74673E-185B-4B3E-AA7A-9A703DDB37F8@blueyonder.co.uk> References: <3A74673E-185B-4B3E-AA7A-9A703DDB37F8@blueyonder.co.uk> Message-ID: <4310FC08.7010602@tweedly.net> Marielle Lange wrote: > There was some discussion not long ago on how to add spaces such that > a string fills a given fixed length. I discovered today that it was > in fact possible to use the equivalent of the sprintf command found > in c: > The format function is indeed very useful - but I don't think it can be used to solve the particular problem of adding spaces after a string to fill it out to a specified length. Or at least - when I was looking at the problem the other day, one of the alternatives I considered was "format", but I couldn't see a way to use it to solve this problem :-) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005 From ptrendler at bigpond.com Sat Aug 27 19:54:18 2005 From: ptrendler at bigpond.com (Pat Trendler) Date: Sun, 28 Aug 2005 09:54:18 +1000 Subject: Convert ColorNames to RGB References: Message-ID: <007a01c5ab62$ad319660$0200000a@super> Todd, Help - Quick Reference Guides- Color Names Reference. Also Color Converters at http://www.flexiblelearning.com/xtalk.htm a standalone http://www.sweattechnologies.com/rev/ You also need to look at the docs for this. I haven't used this one. HTH Pat patrend at bigpond.com ----- Original Message ----- From: "Todd Geist" To: Sent: Sunday, August 28, 2005 7:12 AM Subject: Convert ColorNames to RGB > Does anybody know how to convert ColorNames to RGB values. > > As much as I like Medium Goldenrod, I need the RGB value for it :>) > > Thanks! > > Todd > > -- > > Todd Geist > ______________________________________ > G e i s t i n t e r a c t i v e > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005 > > From alex at tweedly.net Sat Aug 27 19:58:52 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 28 Aug 2005 00:58:52 +0100 Subject: CGI permissions In-Reply-To: <4150EA73-662D-4D94-971C-C0E1AB414B38@lacscentre.co.uk> References: <6dfc91098a799fa338c97a41659e5fd9@maseurope.net> <05B48D35-5551-4408-A57E-3D5213973ACF@danshafer.com> <4150EA73-662D-4D94-971C-C0E1AB414B38@lacscentre.co.uk> Message-ID: <4310FE3C.5090201@tweedly.net> Dave Cragg wrote: > > On 28 Aug 2005, at 00:19, Mark Smith wrote: > >> No, this is still all on one machine (Mac Powerbook with 10.3.9). >> The files are in a folder on the desktop and the CGI is in the / >> Library/WebServer/CGI-Executables folder. I'm just pointing my >> browser at localhost. >> >> I've tried (whilst in the IDE) importing all the data into >> customProperties in the CGI, and that works, but I can't actually >> get the CGI to sucessfully open and read any files, even if I copy >> them into the same CGI-Executables folder and set their permissions >> to 755. >> It can, however, get the list of files from the folder they're in, >> so I'm pretty sure my paths are fine. > > > You said you had set the Desktop folder to 644. I don't think that's > a good move. However, if the files are in the CGI-Executables folder, > and have permissions set to 755, they should be readable. Are they > loose in the CGI-Executables, and not in a sub-folder? If they're in > a subfolder, check the permissions on that. > I don't know if this is relevant or not, but my ISP has the following rule (from their user manual) ... > *CGI-BIN* > At the same directory level as httpdocs you will find your cgi-bin > directory. You should ensure all your scripts reside within this > directory. You may only place CGI scripts within this directory. > Attempting to read any other file types (such as HTML files) from this > directory will not be permitted. > so it might be worth trying it with a file outside the CGI-Executables directory. -- Alex Tweedly http://www.tweedly.net -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005 From scott at proherp.com Sat Aug 27 20:03:11 2005 From: scott at proherp.com (Scott Kane) Date: Sun, 28 Aug 2005 10:03:11 +1000 Subject: Database Query Builder In-Reply-To: Message-ID: <000801c5ab63$e40a7610$0201010a@proherps56yaxv> Hi Bill, Thanks for the info. Has this issue with Query Builder that you mention been raised as a bug with Rev? I'm going to take a look at "libDatabase" - but will it work with altSQL - because I'm adament to use that library, it's so nicely done. Scott From charles.hartman at conncoll.edu Sat Aug 27 20:16:31 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sat, 27 Aug 2005 20:16:31 -0400 Subject: string format In-Reply-To: <4310FC08.7010602@tweedly.net> References: <3A74673E-185B-4B3E-AA7A-9A703DDB37F8@blueyonder.co.uk> <4310FC08.7010602@tweedly.net> Message-ID: <276D3334-FFBB-4881-A603-18F74CE2DD27@conncoll.edu> On Aug 27, 2005, at 7:49 PM, Alex Tweedly wrote: > The format function is indeed very useful - but I don't think it > can be used to solve the particular problem of adding spaces after > a string to fill it out to a specified length. > > Or at least - when I was looking at the problem the other day, one > of the alternatives I considered was "format", but I couldn't see a > way to use it to solve this problem :-) It would work if the "incantation" argument of format() would accept a variable name, but I can't find a way to make it do that . . . Charles From lists at mangomultimedia.com Sat Aug 27 20:34:03 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 27 Aug 2005 17:34:03 -0700 Subject: Database Query Builder In-Reply-To: <000801c5ab63$e40a7610$0201010a@proherps56yaxv> References: <000801c5ab63$e40a7610$0201010a@proherps56yaxv> Message-ID: <26183F4F-AD3D-4061-8EF4-38D6E5DCCB52@mangomultimedia.com> On Aug 27, 2005, at 5:03 PM, Scott Kane wrote: > Hi Bill, > > Thanks for the info. Has this issue with Query Builder that > you mention been raised as a bug with Rev? > > I'm going to take a look at "libDatabase" - but will > it work with altSQL - because I'm adament to use that > library, it's so nicely done. Version 2 of libDatabase will work with altSQLite. I haven't posted the version 2 library yet but I have it along with docs if you want to take a look. Version 2 is mostly done, I just haven't had time to package it up and update my website. Just email me off list and I can send it to you. In a nutshell libDatabase is just a higher level abstraction library that sits on top of revDB or Valentina and simplifies working with databases. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From mark at maseurope.net Sat Aug 27 21:39:25 2005 From: mark at maseurope.net (Mark Smith) Date: Sun, 28 Aug 2005 02:39:25 +0100 Subject: CGI permissions In-Reply-To: <4150EA73-662D-4D94-971C-C0E1AB414B38@lacscentre.co.uk> References: <6dfc91098a799fa338c97a41659e5fd9@maseurope.net> <05B48D35-5551-4408-A57E-3D5213973ACF@danshafer.com> <4150EA73-662D-4D94-971C-C0E1AB414B38@lacscentre.co.uk> Message-ID: <67b9d5859d4573d196a56f40e46a248c@maseurope.net> Apologies - it turns out that my problem was due to the filter command not liking numToChar(13) as a line delimiter - which, naturally, the data uses. A simple "replace numToChar(13) with numToChar(10) in tData" did the trick. There does seem to be one anomaly, however. 'the date' returns the date, as expected, but 'the system date' returns empty... This seems to hold for 'the short date' form, as well, I haven't tested others. Neither of these things are an issue in the IDE, only in the CGI engine. Thanks for your attention, Mark ps. changing the permissions of your desktop folder is not a good idea - weird stuff starts to happen! Repair permissions and reboot, and all is well, tf. On 28 Aug 2005, at 00:43, Dave Cragg wrote: > > On 28 Aug 2005, at 00:19, Mark Smith wrote: > >> No, this is still all on one machine (Mac Powerbook with 10.3.9). The >> files are in a folder on the desktop and the CGI is in the >> /Library/WebServer/CGI-Executables folder. I'm just pointing my >> browser at localhost. >> >> I've tried (whilst in the IDE) importing all the data into >> customProperties in the CGI, and that works, but I can't actually get >> the CGI to sucessfully open and read any files, even if I copy them >> into the same CGI-Executables folder and set their permissions to >> 755. >> It can, however, get the list of files from the folder they're in, so >> I'm pretty sure my paths are fine. > > You said you had set the Desktop folder to 644. I don't think that's a > good move. However, if the files are in the CGI-Executables folder, > and have permissions set to 755, they should be readable. Are they > loose in the CGI-Executables, and not in a sub-folder? If they're in a > subfolder, check the permissions on that. > > How are you reading the files? Are you sure the read is failing, and > not what you do with the data after you read it? What do you get in > "the result" after trying to read the file? I'm guessing it's > different in the CGI than in the IDE. > > Cheers > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com From bill at bluewatermaritime.com Sat Aug 27 21:56:43 2005 From: bill at bluewatermaritime.com (Bill) Date: Sat, 27 Aug 2005 21:56:43 -0400 Subject: Database Query Builder In-Reply-To: <000801c5ab63$e40a7610$0201010a@proherps56yaxv> Message-ID: That's a good question. It would be nice if the query builder didn't crash when you search for a record that isn't there. But in order to search for a record with the query builder you have to use "revsetSQLofQuery" and I believe that isn't a supported command (maybe because it isn't finished) but it is a very necessary one if you want to do functional stuff with the query builder. It's much better to use the libDatabase for most things. On 8/27/05 8:03 PM, "Scott Kane" wrote: > > Thanks for the info. Has this issue with Query Builder that > you mention been raised as a bug with Rev? | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- 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 jacque at hyperactivesw.com Sat Aug 27 23:10:31 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 27 Aug 2005 22:10:31 -0500 Subject: Mac Classic standalones In-Reply-To: References: <20050827042944.0C9638254C1@mail.runrev.com> Message-ID: <43112B27.1080309@hyperactivesw.com> Jeffrey Reynolds wrote: > is it kosher to take a 26 stack created with osx 26 rev authoring and > open it in osx rev 251 authoring to do the os9 build? Sure, it should work fine. Work on a copy, just in case. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Aug 27 23:14:54 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 27 Aug 2005 22:14:54 -0500 Subject: Dragging from a list field In-Reply-To: <4310C5D6.3020905@comcast.net> References: <43109807.5020808@hyperactivesw.com> <4310C5D6.3020905@comcast.net> Message-ID: <43112C2E.2090102@hyperactivesw.com> Phil Davis wrote: > > Instead of using Rev's drap/drop features, you could fake it with a > button that appears at the mouseLoc when the drag begins. Thanks Phil. I've seen this before and works well. In this case I have to drag between two stacks though, so a button won't work. Actually, I have the dragging part working, it is toggling between two states in the list field that has me stuck. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lists at mangomultimedia.com Sat Aug 27 23:27:45 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 27 Aug 2005 20:27:45 -0700 Subject: Dragging from a list field In-Reply-To: <43112C2E.2090102@hyperactivesw.com> References: <43109807.5020808@hyperactivesw.com> <4310C5D6.3020905@comcast.net> <43112C2E.2090102@hyperactivesw.com> Message-ID: <91A45341-E43D-4FC1-B6A5-4CC4304E5635@mangomultimedia.com> On Aug 27, 2005, at 8:14 PM, J. Landman Gay wrote: > Phil Davis wrote: > > > > Instead of using Rev's drap/drop features, you could fake it with a > > button that appears at the mouseLoc when the drag begins. > > Thanks Phil. I've seen this before and works well. In this case I > have to drag between two stacks though, so a button won't work. > > Actually, I have the dragging part working, it is toggling between > two states in the list field that has me stuck. What I did in the same scenario was move the selectionChanged code to mouseDown. I couldn't find another way around it. You have to set dragData in mouseDown. mouseDown is sent before selectionChanged and setting the dragData kills selectionChanged. I'm not sure that this is directly related to setting the dragData though. It seems there are other ways to kill selectionChanged in mouseDown as well. For example: on selectionChanged answer "selectionChanged" pass selectionChanged end selectionChanged on mouseDown answer "mouseDown" pass mouseDown end mouseDown In Rev 2.6 on OS X you will never see the answer dialog for selectionChanged. If you remove the answer "mouseDown" code you will. A repeat loop in a mouseDown event can kill selectionChanged. See bug #2930. So there are many ways to keep selectionChanged to keep from being called. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From jacque at hyperactivesw.com Sat Aug 27 23:38:48 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 27 Aug 2005 22:38:48 -0500 Subject: Dragging from a list field In-Reply-To: <4310D8BC.4080809@hrz.uni-kassel.de> References: <4310D8BC.4080809@hrz.uni-kassel.de> Message-ID: <431131C8.4000309@hyperactivesw.com> Wilhelm Sanke wrote: > Of the six examples offered in the samples stack try example 1 "sample > stack with three fields" of 1. "between list fields". You would have to > change the script of field 1 - or one of the other fields - to accept a > right-button mouseclick to distinguish between normal list behavior and > dragging from the list. > > add "on mousedown x > if x is 3 then" > > to the field script and you could then have normal list behavior and at > the same time dragging behavior when the other mouse button is being > pressed. Thanks Wilhelm. This sort of confirms what I suspected; I have to make the user indicate manually how the list field should behave. I have the index/list field working, and I also have the dragging working. I was hoping I could get the field to know whether the user wants to click to select a line, or click to drag the text. I saw dropped or mixed messages while trying do both at the same time, so I guess I have to ask the user to manually indicate their intention. Your suggestion to use different mouse buttons would work. Or maybe the user could hold down a key while dragging. Maybe I should just change the interface entirely and forget about making a single field act in two different ways. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From davis.phil at comcast.net Sun Aug 28 00:59:15 2005 From: davis.phil at comcast.net (Phil Davis) Date: Sat, 27 Aug 2005 21:59:15 -0700 Subject: Dragging from a list field In-Reply-To: <43112C2E.2090102@hyperactivesw.com> References: <43109807.5020808@hyperactivesw.com> <4310C5D6.3020905@comcast.net> <43112C2E.2090102@hyperactivesw.com> Message-ID: <431144A3.1090307@comcast.net> J. Landman Gay wrote: > Phil Davis wrote: > > > > Instead of using Rev's drap/drop features, you could fake it with a > > button that appears at the mouseLoc when the drag begins. > > Thanks Phil. I've seen this before and works well. In this case I have > to drag between two stacks though, so a button won't work. Oops. Sorry about the oversight. You did say that to begin with. Another similar possibility: Can the same solution be rescaled to use a stack as the "selected text" object instead of a button? Then you could (apparently) drag text between stacks. Phil From jacque at hyperactivesw.com Sun Aug 28 02:11:45 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 28 Aug 2005 01:11:45 -0500 Subject: Dragging from a list field In-Reply-To: <91A45341-E43D-4FC1-B6A5-4CC4304E5635@mangomultimedia.com> References: <43109807.5020808@hyperactivesw.com> <4310C5D6.3020905@comcast.net> <43112C2E.2090102@hyperactivesw.com> <91A45341-E43D-4FC1-B6A5-4CC4304E5635@mangomultimedia.com> Message-ID: <431155A1.8050202@hyperactivesw.com> Trevor DeVore wrote: > What I did in the same scenario was move the selectionChanged code to > mouseDown. I couldn't find another way around it. You have to set > dragData in mouseDown. mouseDown is sent before selectionChanged and > setting the dragData kills selectionChanged. Exactly what I was seeing, but you explained it better. > > I'm not sure that this is directly related to setting the dragData > though. It seems there are other ways to kill selectionChanged in > mouseDown as well. For example: > > on selectionChanged > answer "selectionChanged" > pass selectionChanged > end selectionChanged > > on mouseDown > answer "mouseDown" > pass mouseDown > end mouseDown > > In Rev 2.6 on OS X you will never see the answer dialog for > selectionChanged. If you remove the answer "mouseDown" code you will. > A repeat loop in a mouseDown event can kill selectionChanged. See bug > #2930. That's very similar to what I was doing, and I saw the same results. I found that if I pass mouseDown on the first line then it works okay. So I'm checking for a condition first: on mouseDown if then pass mouseDown -- allows selectionChanged to trigger -- set dragData, implement dragging here end mouseDown And this seems to work okay. Unfortunately it doesn't solve the problem of what condition to actually check for. I don't think there's a way to differentiate between clicking on a list and dragging from a list without adding a user action, so right now I'm checking to see if the Option key is down. If so, we're dragging. I'd rather be able to just tell without involving the user though. > > So there are many ways to keep selectionChanged to keep from being called. > Interesting. I'll go look at that bug. Thanks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lists at mangomultimedia.com Sun Aug 28 02:29:25 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 27 Aug 2005 23:29:25 -0700 Subject: Dragging from a list field In-Reply-To: <431155A1.8050202@hyperactivesw.com> References: <43109807.5020808@hyperactivesw.com> <4310C5D6.3020905@comcast.net> <43112C2E.2090102@hyperactivesw.com> <91A45341-E43D-4FC1-B6A5-4CC4304E5635@mangomultimedia.com> <431155A1.8050202@hyperactivesw.com> Message-ID: On Aug 27, 2005, at 11:11 PM, J. Landman Gay wrote: > That's very similar to what I was doing, and I saw the same > results. I found that if I pass mouseDown on the first line then it > works okay. So I'm checking for a condition first: > > on mouseDown > if then pass mouseDown -- allows selectionChanged to > trigger > -- set dragData, implement dragging here > end mouseDown > > And this seems to work okay. Unfortunately it doesn't solve the > problem of what condition to actually check for. I don't think > there's a way to differentiate between clicking on a list and > dragging from a list without adding a user action, so right now I'm > checking to see if the Option key is down. If so, we're dragging. > I'd rather be able to just tell without involving the user though. Right. The condition I used was a repeat loop that checks for how long the user has been holding down the button. If they click on hold for at least 200 milliseconds then I assume they have started a drag. The problem is that the repeat loop kills selectionChanged too (that is the bug # I posted before). For the project I implemented this in, drag/drop from a palette is something that is done hundreds of times. I didn't want to add any modifier keys, etc. for something being done so often so I just added code in mouseDown to check for a change in the selection. That way I could have my repeat loop and display data on the selected item. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From jacque at hyperactivesw.com Sun Aug 28 02:55:40 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 28 Aug 2005 01:55:40 -0500 Subject: Dragging from a list field In-Reply-To: <431144A3.1090307@comcast.net> References: <43109807.5020808@hyperactivesw.com> <4310C5D6.3020905@comcast.net> <43112C2E.2090102@hyperactivesw.com> <431144A3.1090307@comcast.net> Message-ID: <43115FEC.3010406@hyperactivesw.com> Phil Davis wrote: > Another similar possibility: Can the same solution be rescaled to use a > stack as the "selected text" object instead of a button? Then you could > (apparently) drag text between stacks. Yes, I think so. That's how Rev does its tool palette. The tools you drag from the palette are actually in stacks that follow the mouse. It would probably be a good idea for me to implement something like this, because right now my drags have very little feedback outside of a cursor change. And as you said, one advantage of the fake stack/button technique is that you can actually see the content of what you're moving around. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rp011s7075 at blueyonder.co.uk Sun Aug 28 03:41:01 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Sun, 28 Aug 2005 08:41:01 +0100 Subject: string format Message-ID: <281DD14A-AE8C-4C9B-A515-901441EAC7C8@blueyonder.co.uk> Alex, > The format function is indeed very useful - but I don't think it > can be used to solve the particular problem of adding spaces after > a string to fill it out to a specified length. > > Or at least - when I was looking at the problem the other day, one > of the alternatives I considered was "format", but I couldn't see a > way to use it to solve this problem :-) I had forgotten the spaces were to be put after the string, rather than before. I reckon the example you provided was really making excellent used of xTalk (nice lesson, thanks). What you can do with sprintf (sorry, format in xtalk) combined with regular expressions is quite powerful though: put format("%14s","A") into aDataCell get matchtext(aDataCell, "( *)(.*)", tspaces, tstr) put "_" & tstr & tspaces & "_" ("_" only added to make the trailing spaces visible) Marielle ------------------------------------------------------------------------ --------------------------------- Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From jeff at siphonophore.com Sun Aug 28 03:39:24 2005 From: jeff at siphonophore.com (Jeffrey Reynolds) Date: Sun, 28 Aug 2005 03:39:24 -0400 Subject: Mac Classic standalones In-Reply-To: <20050828055531.65140825182@mail.runrev.com> References: <20050828055531.65140825182@mail.runrev.com> Message-ID: Thanks Jacqueline, Ill give it a whirl! Makes sense since the thing is using the rev 2.5 engine for the classic build, but just wanted to check before working that direction and finding there was some caveat i was missing. cheers, jeff On Aug 28, 2005, at 1:55 AM, use-revolution-request at lists.runrev.com wrote: > >> is it kosher to take a 26 stack created with osx 26 rev authoring and >> open it in osx rev 251 authoring to do the os9 build? > > Sure, it should work fine. Work on a copy, just in case. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From yvescoppe at skynet.be Sun Aug 28 03:58:01 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun, 28 Aug 2005 09:58:01 +0200 Subject: Spell Checker In-Reply-To: <6C30051D-71AA-47DC-AD5E-B1FFD5A20C3E@hindu.org> References: <64878EF567131D4596246171F75FD4A9744627@m-epo-1.epo.cdc.gov> <6C30051D-71AA-47DC-AD5E-B1FFD5A20C3E@hindu.org> Message-ID: <6378AC5A-25BF-45CE-947B-9A8557E0BAAF@skynet.be> Le 27 ao?t 05 ? 23:48, Sivakatirswami a ?crit : > Jonathan: > > Can you share your spell checker with us? or is this proprietary? > (put it on line somewhere or send to me off list?) > > I don't care if it is not polished in terms of the UI, as long the > basic algorithms and scripts are accessible, I can put it to work.. > > basically I have a single field I am checking and would like to get > > a) mis-spelled words flagged in that field > b) a suggestion list--(very basic, that segment of the alphabet > would do... right, I know... not very smart and all the "s's" could > be a long suggestion list, but my implementation will let them view > two different suggestion lists, one the "common" English dict and > two, a specialized words list... the latter will be short... > Hi Jonathan, I'm also very interested in Spell checker. Working on Mac OS X, I found very a pity that Revolution doesn't support the cocoa services system of mac OS X So I'd like to build my own. I'm a French (language) user and have a big file of french words. I'd like to use this file as base of Spell Checking. Can you show us how you proceed ? Thank you? Greetings. Yves COPPE yvescoppe at skynet.be From eric.chatonet at sosmartsoftware.com Sun Aug 28 04:08:25 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 28 Aug 2005 10:08:25 +0200 Subject: Dragging from a list field In-Reply-To: <43109807.5020808@hyperactivesw.com> References: <43109807.5020808@hyperactivesw.com> Message-ID: <063D94F6-1917-4986-93C8-952451D7FD33@sosmartsoftware.com> Hi Jacque, Sorry, I'm coming a bit late... I have done such a thing in a project where the user can drag and drop images, movies, sounds and texts from a palette that displays their images in order to build a multimedia document. So between two stacks. I had a specific stack for this purpose displaying an image created on-the-fly by taking a snapshot. This tiny stack was shown at mouseDown, covering exactly the actual image in the palette and then the user could drag it where he/she wanted. A pending message told me where the mouseUp occurred and I acted accordingly. I used this method since I wanted the stack to move smoothly to its starting position if it was not in a "right" place and this feature made the job much more tricky :-) As far as I remember, a lot of code, some focus and cross-platform issues and so on, but a fine result :-) Best Regards from Paris, Eric Chatonet. PS. If you are interested in more details, write me off list. Le 27 ao?t 05 ? 18:42, J. Landman Gay a ?crit : > I have a list field that operates like an index; clicking on a line > causes the stack to display content based on the text of the line. > > I also need the field to support drag and drop, so that users can > create their own lists by dragging lines from the index into a > different field in a substack. > > I tried setting the dragData on a mousedown in the index field, but > even if I pass mouseDown, the index behaviors no longer function. > The field does not recognize "mouseup" or "selectionchanged" and > nothing happens. Actually, when I try dragging a line, the > selection changes to whatever line the pointer is over. Does anyone > have a trick for making a list field behave in two different ways > -- that is, normal line selection as well as supporting dragging > lines to another field? ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Sun Aug 28 04:28:47 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 28 Aug 2005 10:28:47 +0200 Subject: Convert ColorNames to RGB In-Reply-To: References: Message-ID: Hi Todd, About colours convert functions you could have a look at this post: http://lists.runrev.com/pipermail/use-revolution/2005-May/058259.html The list of the color names/RGB values are here: Part1: http://article.gmane.org/gmane.comp.ide.revolution.user/58156/ match=color+names+chatonet Part2: http://article.gmane.org/gmane.comp.ide.revolution.user/58157/ match=color+names+chatonet In addition, you might be interested in the Color Picker plugin that provides all you need to manage colours with Rev. Available for free from my website: http://www.sosmartsoftware.com/ Best Regards from Paris, Eric Chatonet. Le 27 ao?t 05 ? 23:12, Todd Geist a ?crit : > Does anybody know how to convert ColorNames to RGB values. > As much as I like Medium Goldenrod, I need the RGB value for it :>) ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From rjb at robelko.com Sun Aug 28 04:48:52 2005 From: rjb at robelko.com (Robert Brenstein) Date: Sun, 28 Aug 2005 10:48:52 +0200 Subject: Dragging from a list field In-Reply-To: <4310D8BC.4080809@hrz.uni-kassel.de> References: <4310D8BC.4080809@hrz.uni-kassel.de> Message-ID: >Hi Jacqueline, > >I am not sure if this meets exactly your expectations, but you might >have a look at my sample stack "Dragging with List Fields" on page >"Tools and Samples for Development of my site > (scroll down to the bottom of the >page). > >Of the six examples offered in the samples stack try example 1 >"sample stack with three fields" of 1. "between list fields". You >would have to change the script of field 1 - or one of the other >fields - to accept a right-button mouseclick to distinguish between >normal list behavior and dragging from the list. > >add "on mousedown x > if x is 3 then" > >to the field script and you could then have normal list behavior and >at the same time dragging behavior when the other mouse button is >being pressed. > >Best regards, > >Wilhelm > Jacque, have you tried using mouseStillDown to distinguish between a simple, quick click (index function) and 'holding-click' (to drag)? You could even change the cursor for user to know when the mode changed. Robert From alex at tweedly.net Sun Aug 28 05:01:49 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 28 Aug 2005 10:01:49 +0100 Subject: string format In-Reply-To: <276D3334-FFBB-4881-A603-18F74CE2DD27@conncoll.edu> References: <3A74673E-185B-4B3E-AA7A-9A703DDB37F8@blueyonder.co.uk> <4310FC08.7010602@tweedly.net> <276D3334-FFBB-4881-A603-18F74CE2DD27@conncoll.edu> Message-ID: <43117D7D.9040505@tweedly.net> Charles Hartman wrote: > > On Aug 27, 2005, at 7:49 PM, Alex Tweedly wrote: > >> The format function is indeed very useful - but I don't think it can >> be used to solve the particular problem of adding spaces after a >> string to fill it out to a specified length. >> >> Or at least - when I was looking at the problem the other day, one >> of the alternatives I considered was "format", but I couldn't see a >> way to use it to solve this problem :-) > > > It would work if the "incantation" argument of format() would accept > a variable name, but I can't find a way to make it do that . . . You can't do format("%d", otherVar). But you can do put "%" & myVar & "d" into temp format(temp, otherVar) Does that help ? P.S. I still don't see how that let's you solve the initial problem here :-) :-) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005 From rrevolution at softhome.net Sun Aug 28 05:46:18 2005 From: rrevolution at softhome.net (Revolution) Date: Sun, 28 Aug 2005 12:46:18 +0300 Subject: libdatabase : connection problem Message-ID: <1712663758.20050828124618@softhome.net> Sunday, August 28, 2005 12:45:34 PM (GMT +02:00) event from button : local tDbA = "" local i = 0 local tDataA = "" put "mysql" into tDbA["Type"] if dbaddress is empty then put "127.0.0.1" into dbaddress put fld "dbaddress" into tDbA["Host"] put "bb" into tDbA["Name"] put fld "dbuser" into tDbA["Username"] put fld "dbpassword" into tDbA["Password"] libDB_RegisterDatabase "BBDataBase", tDbA libDB_Connect "BBDataBase" if libDB_GetDBConnectionID("BBDataBase") is an integer then put "status : connected" into fld "statuslabel" else put "status : NOT connected" into fld "statuslabel" end if what's wrong ? it doesn't connect ? thank you. regards, Adrian C. From rp011s7075 at blueyonder.co.uk Sun Aug 28 06:03:12 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Sun, 28 Aug 2005 11:03:12 +0100 Subject: Dragging across stacks (was: Dragging from a list field) Message-ID: <9681B9AC-4171-4B80-BB55-254FA2345055@blueyonder.co.uk> > Yes, I think so. That's how Rev does its tool palette. The tools you > drag from the palette are actually in stacks that follow the mouse. Jacqueline, Thanks for this discussion on drag and drop. The suggestion to have a look at the script behind the tools palette just provided me a solution I needed. The possibility to drag and drop objects form a catalogue stack to another stack. The script works very nicely, dragging groups rather than UI elements. But it is made 95% of the script written by the revolution team. Before I share it, what is the status of the code behind the revolution UI element? Free to reuse and adapt? What mention should I had at the top of the script to acknowledge the origin of it? Marielle -------------- Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From charles.hartman at conncoll.edu Sun Aug 28 07:59:28 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sun, 28 Aug 2005 07:59:28 -0400 Subject: string format In-Reply-To: <43117D7D.9040505@tweedly.net> References: <3A74673E-185B-4B3E-AA7A-9A703DDB37F8@blueyonder.co.uk> <4310FC08.7010602@tweedly.net> <276D3334-FFBB-4881-A603-18F74CE2DD27@conncoll.edu> <43117D7D.9040505@tweedly.net> Message-ID: <02A9DE83-E713-4A91-B312-386D2ECC845D@conncoll.edu> On Aug 28, 2005, at 5:01 AM, Alex Tweedly wrote: >>> . . . the particular problem of adding spaces after a string to >>> fill it out to a specified length. >> >> It would work if the "incantation" argument of format() would >> accept a variable name, but I can't find a way to make it do >> that . . . > > You can't do format("%d", otherVar). > > But you can do > put "%" & myVar & "d" into temp > format(temp, otherVar) I'm not sure you can. This in the message box put "string" into s; put "%" & (20 - length(s)) & "d"into tTmp; put format(tTmp, s) produces -1879024420 (with a total length of 14), though 'put tTmp' produces '%14' as expected. Did I miss something? Anyway, the solution in this direction that I was thinking of is presumably too baroque to be useful -- something like put " " into s put "%" & 20 - length(s) & "d" into tTailFmt put myString & format(tTailFmt, s) Charles From b.xavier at internet.lu Sun Aug 28 09:07:27 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 28 Aug 2005 15:07:27 +0200 Subject: Spell Checker In-Reply-To: <6378AC5A-25BF-45CE-947B-9A8557E0BAAF@skynet.be> Message-ID: <20050828124908.9C6CE82522F@mail.runrev.com> guys, im working on one... palette based. checks your selection, and can use different dictionaries. wont be the most efficient at first... My dictionary is ready, it's the process to check "off-stack" text interactively which is kind a tricky to do... I'll try to be quick... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Yves COPPE > Sent: Sunday, August 28, 2005 09:58 > To: How to use Revolution > Subject: Re: Spell Checker > > > Le 27 ao?t 05 ? 23:48, Sivakatirswami a ?crit : > > > Jonathan: > > > > Can you share your spell checker with us? or is this proprietary? > > (put it on line somewhere or send to me off list?) > > > > I don't care if it is not polished in terms of the UI, as long the > > basic algorithms and scripts are accessible, I can put it to work.. > > > > basically I have a single field I am checking and would like to get > > > > a) mis-spelled words flagged in that field > > b) a suggestion list--(very basic, that segment of the > alphabet would > > do... right, I know... not very smart and all the "s's" could be a > > long suggestion list, but my implementation will let them view two > > different suggestion lists, one the "common" English dict > and two, a > > specialized words list... the latter will be short... > > > > > Hi Jonathan, > > I'm also very interested in Spell checker. > > Working on Mac OS X, I found very a pity that Revolution > doesn't support the cocoa services system of mac OS X So I'd > like to build my own. I'm a French (language) user and have a > big file of french words. > I'd like to use this file as base of Spell Checking. > > Can you show us how you proceed ? > > Thank you? > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jbv.silences at Club-Internet.fr Sun Aug 28 09:50:30 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Sun, 28 Aug 2005 15:50:30 +0200 Subject: Spell Checker References: <20050828124908.9C6CE82522F@mail.runrev.com> Message-ID: <4311C11C.E124E232@Club-Internet.fr> Hi, What do you mean by "My dictionary is ready" ? do you mean simply the words list, or did you arrange the words in a special format ? I'm asking because I was about to work on a spell checker (in french) for Rev cgi, and was wondering if we could combine our efforts... I have the feeling that requirements for a server based spell checker would be slightly different... Actually, my main requirement is to access the dictionnary both from a client side (from an app made with Rev that is used to manage a DB) and from the server side (from all cgi requests made from the websire associated to the DB)... Therefore an online spell checker looks like the best solution... Best, JB > guys, > > im working on one... palette based. checks your selection, and can use > different dictionaries. > > wont be the most efficient at first... > My dictionary is ready, it's the process to check "off-stack" text > interactively which is kind a tricky to do... > > I'll try to be quick... > > cheers > Xavier From mark at maseurope.net Sun Aug 28 10:02:04 2005 From: mark at maseurope.net (Mark Smith) Date: Sun, 28 Aug 2005 15:02:04 +0100 Subject: CGI bug 3093 Message-ID: I've bugzilla'd this. In the mac OS X CGI engine, 'the system date' returns empty, while 'the date' works normally. This is true for the short and long date forms, too, but the time seems to be ok. Mark ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com From jbondy at sover.net Sun Aug 28 10:02:18 2005 From: jbondy at sover.net (Jon) Date: Sun, 28 Aug 2005 10:02:18 -0400 Subject: appending to a file Message-ID: <4311C3EA.1070305@sover.net> During the last week, someone asserted that no matter how one coded an append to a file in Rev, it required loading the entire file into memory. This may be true in Rev, but it is not true in Windows (and, I would guess, in all other OS's). In Windows, one can open a file, seek to the end, and write. The OS may have to bring a little of the start of the file into memory (at the open) and a little of the end of the file into memory (at the seek), but for a large file, this may be much faster than reading the whole thing into memory, appending in memory, and writing the whole thing out again. It may well be that the way that the Rev engine is coded takes advantage of this approach: I am not sure about that. :) Jon From b.xavier at internet.lu Sun Aug 28 10:28:59 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 28 Aug 2005 16:28:59 +0200 Subject: appending to a file In-Reply-To: <4311C3EA.1070305@sover.net> Message-ID: <20050828141034.53786825263@mail.runrev.com> Hi Jon http://monsieurx.com/modules.php?name=Downloads&d_op=viewdownload&cid=11 look for SimpleFilePreview This little demo shows you all the ropes for file action in Rev... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jon > Sent: Sunday, August 28, 2005 16:02 > To: Revolution List > Subject: appending to a file > > During the last week, someone asserted that no matter how one > coded an append to a file in Rev, it required loading the > entire file into memory. > > This may be true in Rev, but it is not true in Windows (and, > I would guess, in all other OS's). In Windows, one can open > a file, seek to the end, and write. The OS may have to bring > a little of the start of the file into memory (at the open) > and a little of the end of the file into memory (at the > seek), but for a large file, this may be much faster than > reading the whole thing into memory, appending in memory, and > writing the whole thing out again. > > It may well be that the way that the Rev engine is coded > takes advantage of this approach: I am not sure about that. > > :) > > Jon > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mcdomi at free.fr Sun Aug 28 11:53:21 2005 From: mcdomi at free.fr (Dom) Date: Sun, 28 Aug 2005 17:53:21 +0200 Subject: RevoBlog lives again! In-Reply-To: <1h1z5j4.5idgam1yrhxwgM%mcdomi@free.fr> Message-ID: <1h20myw.1d4k6cb1ux09lyM%mcdomi@free.fr> Dom wrote: > but, for an unknown reason, a clic on a link gives nothing at home (that > worked, before) -- maybe, that works for you, you are able to go to old > pages? the reason is now known: some "=" were lost during the journey ;-> so, no more problem -- Revolutionario From lewisbruce at rogers.com Sun Aug 28 12:28:05 2005 From: lewisbruce at rogers.com (Bruce Lewis) Date: Sun, 28 Aug 2005 12:28:05 -0400 Subject: [Bulk] Re: Dragging from a list field In-Reply-To: <431155A1.8050202@hyperactivesw.com> References: <43109807.5020808@hyperactivesw.com> <4310C5D6.3020905@comcast.net> <43112C2E.2090102@hyperactivesw.com> <91A45341-E43D-4FC1-B6A5-4CC4304E5635@mangomultimedia.com> <431155A1.8050202@hyperactivesw.com> Message-ID: Jacque, I use the shiftKey for the same purpose. Intuitively, the optionKey should duplicate the line and leave the original line in place. Is that what you are doing? Regards, Bruce At 1:11 AM -0500 8/28/05, J. Landman Gay wrote: > I don't think there's a way to >differentiate between clicking on a list and dragging from a list >without adding a user action, so right now I'm checking to see if the >Option key is down. If so, we're dragging. I'd rather be able to just >tell without involving the user though. > > -- Bruce Lewis Lewis & Collyer 160 John Street, Suite 401 Toronto, Ontario Canada M5V 2E5 (416) 598-4357 FAX (416) 598-1067 bruce at lewiscoll.com nancy at lewiscoll.com sandy at lewiscoll.com joan at lewiscoll.com eva at lewiscoll.com From alex at tweedly.net Sun Aug 28 12:47:43 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 28 Aug 2005 17:47:43 +0100 Subject: string format In-Reply-To: <02A9DE83-E713-4A91-B312-386D2ECC845D@conncoll.edu> References: <3A74673E-185B-4B3E-AA7A-9A703DDB37F8@blueyonder.co.uk> <4310FC08.7010602@tweedly.net> <276D3334-FFBB-4881-A603-18F74CE2DD27@conncoll.edu> <43117D7D.9040505@tweedly.net> <02A9DE83-E713-4A91-B312-386D2ECC845D@conncoll.edu> Message-ID: <4311EAAF.40705@tweedly.net> Charles Hartman wrote: > > On Aug 28, 2005, at 5:01 AM, Alex Tweedly wrote: > >>>> . . . the particular problem of adding spaces after a string to >>>> fill it out to a specified length. >>> >>> >>> It would work if the "incantation" argument of format() would >>> accept a variable name, but I can't find a way to make it do that >>> . . . >> >> >> You can't do format("%d", otherVar). >> >> But you can do >> put "%" & myVar & "d" into temp >> format(temp, otherVar) > > > I'm not sure you can. I *am* sure I can - I tried it before I sent the email :-) > This in the message box > > put "string" into s; put "%" & (20 - length(s)) & "d"into tTmp; > put format(tTmp, s) > > produces > > -1879024420 > Right. You asked it to print s (which holds "string" as a 14 digit decimal number - could have got almost anything). The format string you wanted was "%14s" > (with a total length of 14), though 'put tTmp' produces '%14' as > expected. Did I miss something? > > Anyway, the solution in this direction that I was thinking of is > presumably too baroque to be useful -- something like > > put " " into s > put "%" & 20 - length(s) & "d" into tTailFmt > put myString & format(tTailFmt, s) > if you made it be put " " into s put "%" & 20 - length(s) & "s" into tTailFmt -- note the "s" not "d" put myString & format(tTailFmt, s) Then it will work (kind of). It is a bit baroque - but a more serious problem is what it does in the case where myString is already longer than the desired length. The earlier solutions either left it unchanged (sounds good) or truncated to exactly the the desired length (also sounds good). This will *always* append at least one space, which doesn't sound so good to me. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005 From scott at tactilemedia.com Sun Aug 28 13:41:13 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 28 Aug 2005 10:41:13 -0700 Subject: Dragging from a list field In-Reply-To: <43109807.5020808@hyperactivesw.com> Message-ID: Recently, J. Landman Gay wrote: > I have a list field that operates like an index; clicking on a line > causes the stack to display content based on the text of the line. > > I also need the field to support drag and drop, so that users can create > their own lists by dragging lines from the index into a different field > in a substack. > > I tried setting the dragData on a mousedown in the index field, but even > if I pass mouseDown, the index behaviors no longer function. The field > does not recognize "mouseup" or "selectionchanged" and nothing happens. > Actually, when I try dragging a line, the selection changes to whatever > line the pointer is over. Does anyone have a trick for making a list > field behave in two different ways -- that is, normal line selection as > well as supporting dragging lines to another field? Jacque: I may be misunderstanding what you're trying to do but isn't mouseMove what defines a drag action in a list? When one clicks on the list, a selection is created; when that same is selection is moved, that is what triggers the drag. Is your situation not like this? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From tg.lists at geistinteractive.com Sun Aug 28 14:36:43 2005 From: tg.lists at geistinteractive.com (Todd Geist) Date: Sun, 28 Aug 2005 11:36:43 -0700 Subject: Help: Mac OS Engines for 2.6 Message-ID: Hello, I can't download the Engine or Mac OSX. Every time I try it says "problem downloading". The windows engine downloaded just fine. Anybody have any ideas? Thanks Todd -- Todd Geist ______________________________________ G e i s t i n t e r a c t i v e From rjearp at hotmail.com Sun Aug 28 15:49:26 2005 From: rjearp at hotmail.com (Bob Earp) Date: Sun, 28 Aug 2005 12:49:26 -0700 Subject: Setting a object to be a bg object on old cd's Message-ID: I know I saw how to do this some time ago and should have written it down, sorry. Of course, I'd also add it to webNotes if they worked ;-) With an existing stack, I wish to add an object (fld, btn, image, etc.) to the stack and have it behave like a bg object in that it will appear on every cd. Tnx, Bob... Bob Earp, White Rock - BC _________________________________________________________________ Scan and help eliminate destructive viruses from your inbound and outbound e-mail and attachments. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN? Premium right now and get the first two months FREE*. From simplsol at aol.com Sun Aug 28 16:52:45 2005 From: simplsol at aol.com (simplsol at aol.com) Date: Sun, 28 Aug 2005 16:52:45 -0400 Subject: Setting a object to be a bg object on old cd's In-Reply-To: References: Message-ID: <8C77A29936E9BAE-8CC-58DB@FWM-R32.sysops.aol.com> Hi Bob, If it is a single object then just group it and set the group's background behavior to true. If you already have a group of background objects, use Geoff Canyon's wonderfull revNavigator (go to the Development menu and choose plug ins). The Navigator will let you move your new objects into the background group. And they will appear on all cards in that stack. The Navigator is also priceless for relayering objects. Paul Looney -----Original Message----- From: Bob Earp To: use-revolution at lists.runrev.com Sent: Sun, 28 Aug 2005 12:49:26 -0700 Subject: Setting a object to be a bg object on old cd's I know I saw how to do this some time ago and should have written it down, sorry. Of course, I'd also add it to webNotes if they worked ;-)? ? With an existing stack, I wish to add an object (fld, btn, image, etc.) to the stack and have it behave like a bg object in that it will appear on every cd.? ? Tnx, Bob...? ? Bob Earp, White Rock - BC? ? ________________________________________________________________? Scan and help eliminate destructive viruses from your inbound and outbound e-mail and attachments. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID94&DI34&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines ?Start enjoying all the benefits of MSN? Premium right now and get the first two months FREE*.? ? _______________________________________________? use-revolution mailing list? use-revolution at lists.runrev.com? Please visit this url to subscribe, unsubscribe and manage your subscription preferences:? http://lists.runrev.com/mailman/listinfo/use-revolution? From wlists at fireworksmm.com Sun Aug 28 17:15:33 2005 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Sun, 28 Aug 2005 17:15:33 -0400 Subject: Password generator In-Reply-To: <6053403F-94F1-4489-8A41-6DD4B27D4710@mindspring.com> References: <2B816059-EB68-463F-B2C3-5BDEB6D16001@fireworksmm.com> <6053403F-94F1-4489-8A41-6DD4B27D4710@mindspring.com> Message-ID: <6FFD08A9-4BC8-498F-BD21-9505943F3B07@fireworksmm.com> So htpasswd works great, but I can't seem to be able to call it from RR. I tried to use shell with no luck. Can anybody help me figure out how to get this to work? I already set the shellCommand path to the correct one (/bin/tcsh in this case). Any suggestions? W. On Aug 23, 2005, at 5:31 PM, Gordon Tillman wrote: > Hi Wally, > > On Aug 23, 2005, at 16:25, Wally Rodriguez wrote: > > > > >> Does anyone here know where I can find an .htaccess-compatible >> password generator? >> >> I am setting up a website generator program that will require this >> functionality, but the only thing I can find is php-based systems. >> >> >> > > Do you have access to the htpasswd command on your system? That is > what I use to generate passwords manually and I'll bet that you can > call it from RR if you need to. > > -gordon > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From jacque at hyperactivesw.com Sun Aug 28 17:20:39 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 28 Aug 2005 16:20:39 -0500 Subject: Help: Mac OS Engines for 2.6 In-Reply-To: References: Message-ID: <43122AA7.2080807@hyperactivesw.com> Todd Geist wrote: > Hello, > > I can't download the Engine or Mac OSX. Every time I try it says "problem > downloading". The windows engine downloaded just fine. > > Anybody have any ideas? Here: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Aug 28 17:24:20 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 28 Aug 2005 16:24:20 -0500 Subject: Dragging from a list field In-Reply-To: References: <4310D8BC.4080809@hrz.uni-kassel.de> Message-ID: <43122B84.2050304@hyperactivesw.com> Robert Brenstein wrote: > Jacque, have you tried using mouseStillDown to distinguish between a > simple, quick click (index function) and 'holding-click' (to drag)? You > could even change the cursor for user to know when the mode changed. This sounded promising and exactly what I want -- and it does work to differentiate between click and drag. But so far I can't get it to recognize a drop. If I set dragData on mouseStillDown, I never get the remaining drag messages and the drag doesn't end. I'm still tinkering with it though, because so far this seems like the best idea if I can get it to work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Aug 28 17:25:06 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 28 Aug 2005 16:25:06 -0500 Subject: [Bulk] Re: Dragging from a list field In-Reply-To: References: <43109807.5020808@hyperactivesw.com> <4310C5D6.3020905@comcast.net> <43112C2E.2090102@hyperactivesw.com> <91A45341-E43D-4FC1-B6A5-4CC4304E5635@mangomultimedia.com> <431155A1.8050202@hyperactivesw.com> Message-ID: <43122BB2.4080300@hyperactivesw.com> Bruce Lewis wrote: > Jacque, > > I use the shiftKey for the same purpose. Intuitively, the optionKey should > duplicate the line and leave the original line in place. Is that what you > are doing? Good point. I can change the key designator, though ideally I don't want the user to have to do anything at all. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Aug 28 17:28:09 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 28 Aug 2005 16:28:09 -0500 Subject: Dragging from a list field In-Reply-To: References: Message-ID: <43122C69.8000503@hyperactivesw.com> Scott Rossi wrote: > I may be misunderstanding what you're trying to do but isn't mouseMove what > defines a drag action in a list? When one clicks on the list, a selection > is created; when that same is selection is moved, that is what triggers the > drag. Is your situation not like this? Yes, that's the situation. Looking at the message watcher, it seems I don't want mouseMove, I want dragMove. But initial experiments have failed, since it looks like dragMove eats some of the mouse messages just like mouseDown did. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bob.earp at ashford.ca Sun Aug 28 17:49:32 2005 From: bob.earp at ashford.ca (Robert J. Earp) Date: Sun, 28 Aug 2005 14:49:32 -0700 Subject: Feeling like a dufus - was bg objects on old cards Message-ID: <6.1.2.0.2.20050828144617.01db1eb0@mail.ashford.ca> Talk about feeling like a dufus !! I just found the answer to my question in the video tutorials, Object:Place Group. Thanks to anybody who responded (I'm on list digests) and sorry to have caused you unnecessary work. best, Bob... Robert J. Earp - Ashford Training Technologies 18059 21A Avenue, South Surrey, British Columbia, Canada. V3S 9V7 T:(604) 541 1662 Cel: (604) 612 6688 Fx: (604) 541 1686 -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.15/82 - Release Date: 25/08/2005 From jhurley at infostations.com Sun Aug 28 17:56:00 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 28 Aug 2005 14:56:00 -0700 Subject: OT: Another NPR puzzle In-Reply-To: <20050828163108.D681B825263@mail.runrev.com> References: <20050828163108.D681B825263@mail.runrev.com> Message-ID: Here is another NPR (National Public Radio) puzzle: "From listener Frank Morgan, a mathematician at Williams College. (He also has a puzzle page at mathchat.org.) Think of a word whose meaning you can make plural by adding an A at the start. Start with a very common singular noun, add the letter A at the beginning, and you'll make the meaning plural. What word is it?" Note that the "meaning" is made plural, not the word itself. The straightforward approach is not very fruitful. Listing all words which can be derived by pre-pending the letter "a" yields 559 words. Hard to find the word satisfying the conditions of the puzzle from so large a list. The best I was able to do was a list of 103 words to choose from. (I realize that that statement is enigmatic.) To save time it is imperative that the dictionary be converted to an array, i.e. for each word (tWord) in the dictionary: put true into dictArray[tWord] The dictionary is compressed in a custom variable--see the "Get started button." This is harder than the last NPR puzzle. In the message box run: go stack url "http://home.infostations.net/jhurley/NPRpuzzle.rev" It is a large file (370k) so be patient. Jim From jacque at hyperactivesw.com Sun Aug 28 18:06:11 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 28 Aug 2005 17:06:11 -0500 Subject: Dragging from a list field In-Reply-To: References: <43109807.5020808@hyperactivesw.com> <4310C5D6.3020905@comcast.net> <43112C2E.2090102@hyperactivesw.com> <91A45341-E43D-4FC1-B6A5-4CC4304E5635@mangomultimedia.com> <431155A1.8050202@hyperactivesw.com> Message-ID: <43123553.5070702@hyperactivesw.com> Trevor DeVore wrote: > For the project I implemented this in, drag/drop from a palette is > something that is done hundreds of times. I didn't want to add any > modifier keys, etc. for something being done so often so I just added > code in mouseDown to check for a change in the selection. That way I > could have my repeat loop and display data on the selected item. Thanks Trevor, I got a variation on this approach to work. Basically I set a custom property each time the selection changes in the list field. The custom property contains the selected text of the current line. Then on mouseDown I compare the current selection to the custom property contents and if they are different, I pass mouseDown so that selectionChanged will trigger. If they are the same, I assume a drag and set the dragData. If the user clicks the same line as before but does not do a drag, the engine implements a drag-in-place that doesn't move any text, so it appears that nothing happened, which is good. Once the mouseDown handler sets the dragData, the usual mouse messages are not sent and drag messages are sent instead. I can see why this might be the desirable behavior in most cases. When you are dragging, you aren't selecting, so you presumably don't need all the click messages such as selectionChanged and mouseUp. You get dragEnter, dragLeave, dragMove, dragDrop, etc. instead. While trying to use mouseStillDown and/or dragMove to implement all this, as per other suggestions, I found that both were able to set the dragData okay but no dragDop was sent to the target field and so the drag would not complete. Then I was stuck with a "drag" cursor that wouldn't go away until I did a second click on the target field. At that point the data was dropped, but this behavior wasn't acceptable for general use. Here is the skeleton of what I have, which pretty much works, though I will probably refine it some more. It does require that the user first click on the line to select it before they can drag it. If anyone wants to play with this technique and post improvements, I'm all eyes. In the list field: on selectionChanged put the selectedText of me into tTopic if the cCurTopic of me = tTopic then exit selectionChanged set the cCurTopic of me to tTopic -- store for later reference -- display content here, based on selection end selectionChanged on mouseDown if the cCurTopic of me <> the selectedText of me then pass mouseDown -- a new selection; selectionChanged will run set the dragData["text"] to the selectedtext of me -- drag will run end mouseDown -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rjb at robelko.com Sun Aug 28 18:08:41 2005 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 29 Aug 2005 00:08:41 +0200 Subject: Dragging from a list field In-Reply-To: <43122B84.2050304@hyperactivesw.com> References: <4310D8BC.4080809@hrz.uni-kassel.de> <43122B84.2050304@hyperactivesw.com> Message-ID: >Robert Brenstein wrote: > >>Jacque, have you tried using mouseStillDown to distinguish between >>a simple, quick click (index function) and 'holding-click' (to >>drag)? You could even change the cursor for user to know when the >>mode changed. > >This sounded promising and exactly what I want -- and it does work >to differentiate between click and drag. But so far I can't get it >to recognize a drop. If I set dragData on mouseStillDown, I never >get the remaining drag messages and the drag doesn't end. I'm still >tinkering with it though, because so far this seems like the best >idea if I can get it to work. > Hmm, have you tried using send instead of setting dragData directly in mouseStillDown? Robert From gcsaba2 at freemail.hu Sun Aug 28 18:15:58 2005 From: gcsaba2 at freemail.hu (Gajo Csaba) Date: Mon, 29 Aug 2005 00:15:58 +0200 (CEST) Subject: How to open an image file? Message-ID: Hi, I just want to load a simple image from a file. I'm using Windows. So far I've tried these, but the image was not loaded: put URL "binfile:/C:/image.gif" into image "displayImage" put URL "binfile:/C://image.gif" into image "displayImage" put URL "C:/image.gif" into image "displayImage" When I open an image from the development area (then it works), it says that the source of the image is C://image.gif. So why doesn't it open it in case #2? Csaba _______________________________________________________________________ [freemail] extra 1GB-os postafi?kkal, ?nnek m?r van? http://freemail.hu From revolution at jaedworks.com Sun Aug 28 17:44:08 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sun, 28 Aug 2005 14:44:08 -0700 Subject: Dragging from a list field In-Reply-To: <431131C8.4000309@hyperactivesw.com> References: <4310D8BC.4080809@hrz.uni-kassel.de> <431131C8.4000309@hyperactivesw.com> Message-ID: At 10:38 PM -0500 8/27/2005, J. Landman Gay wrote: >I have the index/list field working, and I also have the dragging >working. I was hoping I could get the field to know whether the user >wants to click to select a line, or click to drag the text. I saw >dropped or mixed messages while trying do both at the same time, so >I guess I have to ask the user to manually indicate their intention. >Your suggestion to use different mouse buttons would work. Or maybe >the user could hold down a key while dragging. One thing that might be relevant to this (excuse me if this is off base; I haven't really been following this thread well) is that Rev's drag and drop starts on click, rather than when the drag begins. In other applications, you need to click and drag a certain number of pixels before the drag behavior kicks in, but the engine has no concept of a "slop rect" for dragging. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From scott at proherp.com Sun Aug 28 19:46:20 2005 From: scott at proherp.com (Scott Kane) Date: Mon, 29 Aug 2005 09:46:20 +1000 Subject: How to open an image file? In-Reply-To: Message-ID: <000901c5ac2a$b6ef09d0$0201010a@proherps56yaxv> > put URL "binfile:/C:/image.gif" into image "displayImage" > put URL "binfile:/C://image.gif" into image "displayImage" > put URL "C:/image.gif" into image "displayImage" > > When I open an image from the development area (then it works), it > says that the source of the image is C://image.gif. So why doesn't it > open it in case #2? Because it's formated for *nix. Take a look at the difference in your code at the beginning. put URL "binfile:/C:/ Is the DOS\Windows path, put URL "binfile:/C:// Doesn't exist as a path put URL "C: Works because it's a window/DOS path. Scott Kane From alex at tweedly.net Sun Aug 28 19:56:42 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 29 Aug 2005 00:56:42 +0100 Subject: How to open an image file? In-Reply-To: References: Message-ID: <43124F3A.5000402@tweedly.net> Gajo Csaba wrote: >Hi, I just want to load a simple image from a file. I'm using Windows. So >far I've tried these, but the image was not loaded: > >put URL "binfile:/C:/image.gif" into image "displayImage" >put URL "binfile:/C://image.gif" into image "displayImage" >put URL "C:/image.gif" into image "displayImage" > > > Should be put URL "binfile:C:/image.gif" into image "displayImage" (i.e. no "/" between "binfile:" and the "C:", and only single "/" each directory level thereafter. (see docs for "file" - the "binfile" page doesn't include a Windows example, but the "file" one does). >When I open an image from the development area (then it works), it >says that the source of the image is C://image.gif. So why doesn't it >open it in case #2? > > > Are you sure it has two "/"s, not just one ? I get file names like D:/Our Documents/Alex/RunRev/Photo/IMGP0633.JPG -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005 From alex at tweedly.net Sun Aug 28 20:37:17 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 29 Aug 2005 01:37:17 +0100 Subject: OT: Another NPR puzzle In-Reply-To: References: <20050828163108.D681B825263@mail.runrev.com> Message-ID: <431258BD.7060807@tweedly.net> Jim Hurley wrote: > Here is another NPR (National Public Radio) puzzle: > > "From listener Frank Morgan, a mathematician at Williams College. (He > also has a puzzle page at mathchat.org.) Think of a word whose meaning > you can make plural by adding an A at the start. Start with a very > common singular noun, add the letter A at the beginning, and you'll > make the meaning plural. What word is it?" > > Note that the "meaning" is made plural, not the word itself. > > The straightforward approach is not very fruitful. Listing all words > which can be derived by pre-pending the letter "a" yields 559 words. > Hard to find the word satisfying the conditions of the puzzle from so > large a list. > > The best I was able to do was a list of 103 words to choose from. (I > realize that that statement is enigmatic.) > > To save time it is imperative that the dictionary be converted to an > array, i.e. for each word (tWord) in the dictionary: > > put true into dictArray[tWord] > > The dictionary is compressed in a custom variable--see the "Get > started button." > > This is harder than the last NPR puzzle. In the message box run: > > go stack url "http://home.infostations.net/jhurley/NPRpuzzle.rev" > > It is a large file (370k) so be patient. Interesting. Unfortunately, I know the answer because I spotted it looking at the 559 word list, before I got on to the next part - so that limits the amount I can do to improve the list without risk of using that knowledge to do so. I applied a few safe heuristics but those only got it down to 470 alternatives. code ahead - don't read further unless you want to read code now .... The hard work of the search, I did in 181 msecs as > repeat for each line t in tDict > if char 1 of t = "a" or char 1 of t = "A" then > if t = lower(t) and the number of chars in t > 3 then > put true into wDict[char 2 to -1 of t] > end if > else > if wDict[t] and t = lower(t) then put t & cr after tResult > end if > end repeat > or in half that time (90 - 92 msecs) as > put true into stillOnA > repeat for each line t in tDict > if stillOnA then > if char 1 of t = "a" or char 1 of t = "A" then > if t = lower(t) and the number of chars in t > 3 then > put true into wDict[char 2 to -1 of t] > end if > else > put false into stillOnA > if wDict[t] and t = lower(t) then put t & cr after tResult > end if > else > if wDict[t] and t = lower(t) then put t & cr after tResult > end if > end repeat > -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005 From tsj at unimelb.edu.au Sun Aug 28 20:43:03 2005 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon, 29 Aug 2005 10:43:03 +1000 Subject: [OT] Anyone have an old copy of MS-File 2.0 lying around? In-Reply-To: <20050826035228.B482982553F@mail.runrev.com> References: <20050826035228.B482982553F@mail.runrev.com> Message-ID: I thought I'd try here first as there are a number of long-time Mac users on list. I'm after a copy of MS-File 2.0 (circa early 90s) so that I can recover some old data files and migrate the data to a 'more accessible' format. In the unlikely event that someone still has a copy lying around and is willing to part with it, please contact me off list. Cheers, 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 revdan at danshafer.com Sun Aug 28 21:12:39 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 28 Aug 2005 18:12:39 -0700 Subject: libdatabase : connection problem In-Reply-To: <1712663758.20050828124618@softhome.net> References: <1712663758.20050828124618@softhome.net> Message-ID: Off-hand I spotted a couple of potential problem spots (haven't spent a lot of time analyzing whether these are the only problems): On Aug 28, 2005, at 2:46 AM, Revolution wrote: > Sunday, August 28, 2005 12:45:34 PM (GMT +02:00) > > event from button : > > local tDbA = "" > local i = 0 > local tDataA = "" The above lines are doing nothing for you because they are incorrect syntax for Revolution. The expression "i = 0" evaluates to either true or valse but does nothing with the result. IF what you intend to do here is to initialize local variables, then you need the slightly more verbose: local tDbA put empty into tDbA (or you can use double quotes instead of "empty") local i put 0 into i local tDataA put empty into tDataA Having said that, it is strictly optional in Transcript to use the word "local" and I'd venture to say that the vast majority of us never use it. Variables are local unless they're explicitly defined to be global. In that case, you eliminate the three "local" lines in the above and just assign the initialization values to the variables with the same effect. > > put "mysql" into tDbA["Type"] > if dbaddress is empty then put "127.0.0.1" into dbaddress > put fld "dbaddress" into tDbA["Host"] With the above two lines, I *assume* you think you've placed what's in the *variable* dbaddress into tDbA["Host"] but you haven't. Because you either need to put dbaddress into field "dbaddress" or use "put dbaddress into tDbA["Host"] for this to work. Right now, there's no connection between the address generated by the second line and the array setup on the third line. Given what I see in the rest of your code, my guess is you want to have the second line be: if fld "dbaddress" is empty then put "127.0.0.1" nto fld "dbaddress" > put "bb" into tDbA["Name"] > put fld "dbuser" into tDbA["Username"] > put fld "dbpassword" into tDbA["Password"] > > > libDB_RegisterDatabase "BBDataBase", tDbA > libDB_Connect "BBDataBase" > > if libDB_GetDBConnectionID("BBDataBase") is an integer then > put "status : connected" into fld "statuslabel" > else > put "status : NOT connected" into fld "statuslabel" > end if > > > > what's wrong ? > > it doesn't connect ? > > thank you. > > regards, > Adrian C. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Sun Aug 28 21:40:49 2005 From: katir at hindu.org (Sivakatirswami) Date: Sun, 28 Aug 2005 15:40:49 -1000 Subject: Dragging from a list field In-Reply-To: <431155A1.8050202@hyperactivesw.com> References: <43109807.5020808@hyperactivesw.com> <4310C5D6.3020905@comcast.net> <43112C2E.2090102@hyperactivesw.com> <91A45341-E43D-4FC1-B6A5-4CC4304E5635@mangomultimedia.com> <431155A1.8050202@hyperactivesw.com> Message-ID: <61208A3F-644B-4E4A-A540-5657E944580E@hindu.org> This may be very "retro" but in my own PIM I use a check box... depends on the work flow, if your users will be "using" the stack 80% of the time --clicking to select a line(s) and not drag it-- then this works.. they check the box only when they want to drag... of course, if the actions of clicking to see content and dragging to make lists are interleaved in the usage flow, it would be a big pain, but maybe there is some other facile way to set a flag to indicate the field state, that would be more fluid... in one small app I use a mouse gesture user simply waves over a button, the button change to indicate change of state on the field, field now reacts differently.. user waves over btn again, button toggles its own name and the field state... by avoiding the click down on the button, the use feels it is more fluid. IN other contexts I use the option key down to indicate "now I'm draggable..." On Aug 27, 2005, at 8:11 PM, J. Landman Gay wrote: > I don't think there's a way to differentiate between clicking on a > list and dragging from a list without adding a user action, so > right now I'm checking to see if the Option key is down. If so, > we're dragging. I'd rather be able to just tell without involving > the user though. From katir at hindu.org Sun Aug 28 21:46:04 2005 From: katir at hindu.org (Sivakatirswami) Date: Sun, 28 Aug 2005 15:46:04 -1000 Subject: CGI bug 3093 In-Reply-To: References: Message-ID: <05385E37-91AD-4C9E-AD0F-8923A4250A26@hindu.org> confirmed here... sivakatirswami On Aug 28, 2005, at 4:02 AM, Mark Smith wrote: > I've bugzilla'd this. > > In the mac OS X CGI engine, 'the system date' returns empty, while > 'the date' works normally. This is true for the short and long date > forms, too, but the time seems to be ok. > > Mark > > > > > > ___________________________________________________________ Yahoo! > Messenger - NEW crystal clear PC to PC calling worldwide with > voicemail http://uk.messenger.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Sun Aug 28 22:10:50 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 28 Aug 2005 19:10:50 -0700 Subject: libdatabase : connection problem In-Reply-To: References: <1712663758.20050828124618@softhome.net> Message-ID: <11939661269.20050828191050@ahsoftware.net> Dan- Sunday, August 28, 2005, 6:12:39 PM, you wrote: >> local tDbA = "" >> local i = 0 >> local tDataA = "" > The above lines are doing nothing for you because they are incorrect > syntax for Revolution. The expression "i = 0" evaluates to either > true or valse but does nothing with the result. IF what you intend to > do here is to initialize local variables, then you need the slightly > more verbose: Well, incorrect syntax or not, they do what they appear to. I don't do this myself, opting for the verbose method, and I think I remember some discussion here about possible problems with this, but a simple test shows that all three variables do indeed get initialized properly. -- -Mark Wieder mwieder at ahsoftware.net From lists at mangomultimedia.com Sun Aug 28 23:30:41 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 28 Aug 2005 20:30:41 -0700 Subject: libdatabase : connection problem In-Reply-To: <1712663758.20050828124618@softhome.net> References: <1712663758.20050828124618@softhome.net> Message-ID: <25618882-36E9-41C7-A1C2-51009B278650@mangomultimedia.com> On Aug 28, 2005, at 2:46 AM, Revolution wrote: > if dbaddress is empty then put "127.0.0.1" into dbaddress > put fld "dbaddress" into tDbA["Host"] You are checking if a variable is empty and putting "127.0.0.1" into the variable. You then place the contents of the field into the Host key. Try if text of field "dbaddress" is empty then set text of field "dbaddress" to "127.0.0.1" -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Sun Aug 28 23:46:45 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 28 Aug 2005 20:46:45 -0700 Subject: libdatabase : connection problem In-Reply-To: References: <1712663758.20050828124618@softhome.net> Message-ID: <53158D43-04B8-4D14-8611-BFBAA8389CC8@mangomultimedia.com> On Aug 28, 2005, at 6:12 PM, Dan Shafer wrote: >> Sunday, August 28, 2005 12:45:34 PM (GMT +02:00) >> >> event from button : >> >> local tDbA = "" >> local i = 0 >> local tDataA = "" >> > The above lines are doing nothing for you because they are > incorrect syntax for Revolution. The expression "i = 0" evaluates > to either true or valse but does nothing with the result. IF what > you intend to do here is to initialize local variables, then you > need the slightly more verbose: > > local tDbA > put empty into tDbA (or you can use double quotes instead of "empty") > local i > put 0 into i > local tDataA > put empty into tDataA Dan, Declaring a variable as local initializes to an empty variable. So - local tDbA,tDataA would initialize both variables as empty. For example: on doSomething local tVar put tVar &cr& tVar2 end doSomething Would display and empty line, a return and "tVar2" on the second line in the message box. You can initialize a variable to value as well. on doSomething local i = 0 put i end doSomething would print 0 in the message box. > Having said that, it is strictly optional in Transcript to use the > word "local" and I'd venture to say that the vast majority of us > never use it. Variables are local unless they're explicitly defined > to be global. In that case, you eliminate the three "local" lines > in the above and just assign the initialization values to the > variables with the same effect. The person probably got the code from original libDatabase example code. Back in the day I used to initialize variables with "" before I knew that just declaring them set them to empty. Now I just define all local variables en mass: local tVar1,tVar2 local tDataA,tWhateverA For integers, such as i, I used to always initialize them to 0. Now I only initialize them with 0 if there is a possibility of a math error later on in the code that could be caused by having a non- numeric value. It is true that most people don't declare local variables but I do in all of my code. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From lists at mangomultimedia.com Mon Aug 29 00:06:09 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 28 Aug 2005 21:06:09 -0700 Subject: Dragging from a list field In-Reply-To: <43123553.5070702@hyperactivesw.com> References: <43109807.5020808@hyperactivesw.com> <4310C5D6.3020905@comcast.net> <43112C2E.2090102@hyperactivesw.com> <91A45341-E43D-4FC1-B6A5-4CC4304E5635@mangomultimedia.com> <431155A1.8050202@hyperactivesw.com> <43123553.5070702@hyperactivesw.com> Message-ID: <70083E87-BA07-46FA-8E58-254B8654C0B8@mangomultimedia.com> On Aug 28, 2005, at 3:06 PM, J. Landman Gay wrote: > > Here is the skeleton of what I have, which pretty much works, > though I will probably refine it some more. It does require that > the user first click on the line to select it before they can drag > it. If anyone wants to play with this technique and post > improvements, I'm all eyes. > > In the list field: > > on selectionChanged > put the selectedText of me into tTopic > if the cCurTopic of me = tTopic then exit selectionChanged > set the cCurTopic of me to tTopic -- store for later reference > -- display content here, based on selection > end selectionChanged > > on mouseDown > if the cCurTopic of me <> the selectedText of me > then pass mouseDown -- a new selection; selectionChanged will run > set the dragData["text"] to the selectedtext of me -- drag will run > end mouseDown Why not something like this. It will allow for a selection and a drag/drop all at once. I haven't tested it but hopefully it would work. local sCurrentLine on mouseDown if hilitedLine of me <> sCurrentLine then --> DISPLAY CONTENT BASED ON SELECTION put hilitedLine of me into sCurrentLine end if --> CHECK FOR DRAG get milliseconds() repeat if milliseconds() - it > 200 then set dragData["text"] to the selectedText of me exit repeat end if if mouse(1) is "up" then exit repeat end repeat pass mouseDown end mouseDown Having the bug fixed where mouseDown code can kill selectionChanged would be nice. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From jacque at hyperactivesw.com Mon Aug 29 00:56:21 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 28 Aug 2005 23:56:21 -0500 Subject: Dragging from a list field In-Reply-To: <70083E87-BA07-46FA-8E58-254B8654C0B8@mangomultimedia.com> References: <43109807.5020808@hyperactivesw.com> <4310C5D6.3020905@comcast.net> <43112C2E.2090102@hyperactivesw.com> <91A45341-E43D-4FC1-B6A5-4CC4304E5635@mangomultimedia.com> <431155A1.8050202@hyperactivesw.com> <43123553.5070702@hyperactivesw.com> <70083E87-BA07-46FA-8E58-254B8654C0B8@mangomultimedia.com> Message-ID: <43129575.1090902@hyperactivesw.com> Trevor DeVore wrote: > Why not something like this. It will allow for a selection and a > drag/drop all at once. I haven't tested it but hopefully it would work. Yes, works great! Perfect, in fact. Thanks so much, this is exactly what I was looking for. After reading your bug report, I was going to try heading in this direction but you have saved me some work. Love this list. Thanks to all who replied. > local sCurrentLine > > on mouseDown > if hilitedLine of me <> sCurrentLine then > --> DISPLAY CONTENT BASED ON SELECTION > > put hilitedLine of me into sCurrentLine > end if > > --> CHECK FOR DRAG > get milliseconds() > repeat > if milliseconds() - it > 200 then > set dragData["text"] to the selectedText of me > exit repeat > end if > > if mouse(1) is "up" then exit repeat > end repeat > > pass mouseDown > end mouseDown > > Having the bug fixed where mouseDown code can kill selectionChanged > would be nice. > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Aug 29 00:58:52 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 28 Aug 2005 23:58:52 -0500 Subject: Dragging across stacks (was: Dragging from a list field) In-Reply-To: <9681B9AC-4171-4B80-BB55-254FA2345055@blueyonder.co.uk> References: <9681B9AC-4171-4B80-BB55-254FA2345055@blueyonder.co.uk> Message-ID: <4312960C.6070106@hyperactivesw.com> Marielle Lange wrote: > Before I share it, what is the status of the code behind the revolution > UI element? Free to reuse and adapt? What mention should I had at the > top of the script to acknowledge the origin of it? I'm not sure there is a policy about it, maybe one of the RR people will respond. But I am pretty sure that it is okay to reuse and modify the scripts, as many others have done it without repercussions. An acknowledgement in your script somewhere would probably be appreciated. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Mon Aug 29 01:07:39 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 29 Aug 2005 00:07:39 -0500 Subject: libdatabase : connection problem In-Reply-To: References: <1712663758.20050828124618@softhome.net> Message-ID: <4312981B.7050008@chipp.com> Dan, Except for script locals, which I (and I believe manyu others) use a lot. They're a lot like globals, except only available script wide, and great for libraries. To use them you only need to put the local declaration outside the handler and functions which use it. On caveat though: Remember your local variables always get reset when recompiling a script, so using a 'checkLocals' handler helps:-) Dan Shafer wrote: > Having said that, it is strictly optional in Transcript to use the word > "local" and I'd venture to say that the vast majority of us never use > it. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 8/26/2005 From jonkotthoff at clarionstl.com Sat Aug 27 00:47:33 2005 From: jonkotthoff at clarionstl.com (Jonathan D. Kotthoff) Date: Fri, 26 Aug 2005 23:47:33 -0500 Subject: Emergency Mouse Polling Help Message-ID: <0c467aa147676d5e05f6908d1fdf4508@clarionstl.com> I need to know if I can use Rev to develop a background app on Windows, that determines and launches an event if a key is depressed, I know how to do this in a standard app, but not in the background... Thanks, Jonathan jonkotthoff at clarionstl.com From jeff at siphonophore.com Mon Aug 29 02:03:30 2005 From: jeff at siphonophore.com (Jeffrey Reynolds) Date: Mon, 29 Aug 2005 02:03:30 -0400 Subject: Building Classic app problems In-Reply-To: <20050829005617.CDF628252CB@mail.runrev.com> References: <20050829005617.CDF628252CB@mail.runrev.com> Message-ID: well, i have been trying to make my classic app by building it in rev251 mac osx authoring with the mac classic 251 engine and still no luck. im working on trying to figure out what exactly is not working in the classic app. it appears like my images are not loading from files, but first attempts to look at paths look like they are kosher. they even do this on a straight os9 system. stacks from mc2.1 that do the same routines do the same thing when made into rev251 classic apps from rev251 osx. this one really has me scratching my head big time... osx standalones work great from 251 or 26. any ideas? thanks jeff From rev at armbase.com Mon Aug 29 04:19:26 2005 From: rev at armbase.com (rev at armbase.com) Date: Mon, 29 Aug 2005 09:19:26 +0100 Subject: convert [*] to the n with tab Message-ID: <20050829091926.vv3hk671jmss48o0@webmail.armbase.com> Hi All. I have a field with text items separated with charachters bounded by multiples of [*]. eg [0][0][9]item1[0][0][0][6]item2[0]item3 I would like the separator items [*] or [*][*] or [*][*][*] etc to be replaced with a single tab. I thought of this script on mouseUp put "preparsed" into p -- insert your field name here put empty into v repeat with x = 1 to the number of lines of fld p --put empty into v get line x of fld p replace [*] with \ end repeat end mouseUp However I keep getting the error compiling at 9:18:04 AM Type Expression: bad factor Object convert [*]n to tab delimiter Line replace [*] with \ Hint [ Any ideas. Is it the case that I cant use [ as a charachter? It was inserted OK. All the best Bob From xbury.cs at clearstream.com Mon Aug 29 04:23:03 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 29 Aug 2005 10:23:03 +0200 Subject: Emergency Mouse Polling Help In-Reply-To: <0c467aa147676d5e05f6908d1fdf4508@clarionstl.com> Message-ID: Hi Jonathan the only way i can see this work is via a macro-recorder program that sends an event to rev... I dont see how else... ---------------------=--------------------- Xavier use-revolution-bounces at lists.runrev.com wrote on 27/08/2005 06:47:33: > I need to know if I can use Rev to develop a background app on Windows, > that determines and launches an event if a key is depressed, I know how > to do this in a standard app, but not in the background... > > Thanks, > > Jonathan > jonkotthoff at clarionstl.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- 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 rev at armbase.com Mon Aug 29 04:45:36 2005 From: rev at armbase.com (rev at armbase.com) Date: Mon, 29 Aug 2005 09:45:36 +0100 Subject: convert [*] to the n with tab In-Reply-To: <20050829091926.vv3hk671jmss48o0@webmail.armbase.com> References: <20050829091926.vv3hk671jmss48o0@webmail.armbase.com> Message-ID: <20050829094536.p8nsltu00gsgc4ks@webmail.armbase.com> Quoting rev at armbase.com: > Hi All. > > I have a field with text items separated with charachters bounded by > multiples > of [*]. > > eg > [0][0][9]item1[0][0][0][6]item2[0]item3 > > I would like the separator items [*] or [*][*] or [*][*][*] etc to be > replaced > with a single tab. > I thought of this script > > on mouseUp > put "preparsed" into p -- insert your field name here > put empty into v > repeat with x = 1 to the number of lines of fld p > --put empty into v > get line x of fld p > replace [*] with \ > end repeat > end mouseUp > > However I keep getting the error > > compiling at 9:18:04 AM > Type Expression: bad factor > Object convert [*]n to tab delimiter > Line replace [*] with \ > Hint [ > > Any ideas. Is it the case that I cant use [ as a charachter? It was > inserted OK. I also tried on mouseUp put "preparsed" into p -- insert your field name here repeat with x = 1 to the number of lines of fld p get line x of fld p replace "[*]" with "\" in end repeat put it into field "withtabs" end mouseUp And tried on mouseUp put "preparsed" into p -- insert your field name here replace "[*]" with "\" in fld p put fld p into field "withtabs" end mouseUp No Luck. Cheers Bob > > All the best > Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rp011s7075 at blueyonder.co.uk Mon Aug 29 05:27:29 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Mon, 29 Aug 2005 10:27:29 +0100 Subject: Makeover for the revolution-education wiki Message-ID: <6AE01341-6924-48CE-B7F7-27CD8AF8651B@blueyonder.co.uk> Dear all, At least, I found the time to do what I was craving for months: create a personalized look-and-feel for the revolution-education wiki: http://revolution.lexicall.org/wiki/ The goal was to make it less crowded and easier to read. Let me know what you think. Please also let me know if the change created any problem on the platform and browser you use. As there are differences between male and female preferences, know that you can easily switch back to the old design or any of the default designs coming with tikiwiki. For this, login with your username, select Preferences in the top bar (on the left of mytiki), and choose the style sheet that you prefer (the previous one was moreneat.css). To choose the color theme, I used this color schemer tool on the web: http://wellstyled.com/tools/colorscheme2/index-en.html It builds a palette of harmonious colours based on a first colour given. It also let you check how your color scheme looks to persons with color blindness. The javascript is in the document's source... worth considering creating a similar application in revolution. Marielle ------------------------------------------------------------------------ -------------------------------------- Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From mark at maseurope.net Mon Aug 29 05:31:15 2005 From: mark at maseurope.net (Mark Smith) Date: Mon, 29 Aug 2005 10:31:15 +0100 Subject: convert [*] to the n with tab In-Reply-To: <20050829094536.p8nsltu00gsgc4ks@webmail.armbase.com> References: <20050829091926.vv3hk671jmss48o0@webmail.armbase.com> <20050829094536.p8nsltu00gsgc4ks@webmail.armbase.com> Message-ID: <0d5f095875fc817c94b50ae60d2dd5a8@maseurope.net> I suspect you're going to need the replaceText function. It uses regex, which I'm afraid I can't help with. But someone here can and will, I'm sure... Mark On 29 Aug 2005, at 09:45, rev at armbase.com wrote: > Quoting rev at armbase.com: > >> Hi All. >> >> I have a field with text items separated with charachters bounded by >> multiples >> of [*]. >> >> eg >> [0][0][9]item1[0][0][0][6]item2[0]item3 >> >> I would like the separator items [*] or [*][*] or [*][*][*] etc to be >> replaced >> with a single tab. >> I thought of this script >> >> on mouseUp >> put "preparsed" into p -- insert your field name here >> put empty into v >> repeat with x = 1 to the number of lines of fld p >> --put empty into v >> get line x of fld p >> replace [*] with \ >> end repeat >> end mouseUp >> >> However I keep getting the error >> >> compiling at 9:18:04 AM >> Type Expression: bad factor >> Object convert [*]n to tab delimiter >> Line replace [*] with \ >> Hint [ >> >> Any ideas. Is it the case that I cant use [ as a charachter? It was >> inserted OK. > > I also tried > > on mouseUp > put "preparsed" into p -- insert your field name here > repeat with x = 1 to the number of lines of fld p > get line x of fld p > replace "[*]" with "\" in > end repeat > put it into field "withtabs" > end mouseUp > > And tried > on mouseUp > put "preparsed" into p -- insert your field name here > > replace "[*]" with "\" in fld p > > put fld p into field "withtabs" > end mouseUp > > No Luck. > > Cheers > Bob >> >> All the best >> Bob >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rev at armbase.com Mon Aug 29 05:48:38 2005 From: rev at armbase.com (rev at armbase.com) Date: Mon, 29 Aug 2005 10:48:38 +0100 Subject: convert [*] to the n with tab In-Reply-To: <0d5f095875fc817c94b50ae60d2dd5a8@maseurope.net> References: <20050829091926.vv3hk671jmss48o0@webmail.armbase.com> <20050829094536.p8nsltu00gsgc4ks@webmail.armbase.com> <0d5f095875fc817c94b50ae60d2dd5a8@maseurope.net> Message-ID: <20050829104838.5t6zvlklwckcskks@webmail.armbase.com> Quoting Mark Smith : > I suspect you're going to need the replaceText function. It uses > regex, which I'm afraid I can't help with. But someone here can and > will, I'm sure... Yep I eventiually tried that too. I even made it simple and tried it on the original field. I used (without any luck) on mouseUp replaceText(field "preparsed",[0],comma) end mouseUp I get an error at [ cheers bob > > Mark > > On 29 Aug 2005, at 09:45, rev at armbase.com wrote: > >> Quoting rev at armbase.com: >> >>> Hi All. >>> >>> I have a field with text items separated with charachters bounded >>> by multiples >>> of [*]. >>> >>> eg >>> [0][0][9]item1[0][0][0][6]item2[0]item3 >>> >>> I would like the separator items [*] or [*][*] or [*][*][*] etc to >>> be replaced >>> with a single tab. >>> I thought of this script >>> >>> on mouseUp >>> put "preparsed" into p -- insert your field name here >>> put empty into v >>> repeat with x = 1 to the number of lines of fld p >>> --put empty into v >>> get line x of fld p >>> replace [*] with \ >>> end repeat >>> end mouseUp >>> >>> However I keep getting the error >>> >>> compiling at 9:18:04 AM >>> Type Expression: bad factor >>> Object convert [*]n to tab delimiter >>> Line replace [*] with \ >>> Hint [ >>> >>> Any ideas. Is it the case that I cant use [ as a charachter? It was >>> inserted OK. >> >> I also tried >> >> on mouseUp >> put "preparsed" into p -- insert your field name here >> repeat with x = 1 to the number of lines of fld p >> get line x of fld p >> replace "[*]" with "\" in >> end repeat >> put it into field "withtabs" >> end mouseUp >> >> And tried >> on mouseUp >> put "preparsed" into p -- insert your field name here >> >> replace "[*]" with "\" in fld p >> >> put fld p into field "withtabs" >> end mouseUp >> >> No Luck. >> >> Cheers >> Bob >>> >>> All the best >>> Bob >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Mon Aug 29 05:54:08 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 29 Aug 2005 11:54:08 +0200 Subject: convert [*] to the n with tab In-Reply-To: <20050829104838.5t6zvlklwckcskks@webmail.armbase.com> References: <20050829091926.vv3hk671jmss48o0@webmail.armbase.com> <20050829094536.p8nsltu00gsgc4ks@webmail.armbase.com> <0d5f095875fc817c94b50ae60d2dd5a8@maseurope.net> <20050829104838.5t6zvlklwckcskks@webmail.armbase.com> Message-ID: <7DE8D5DE-8BD5-45E4-9D7F-D2BEE2A0B6F8@sosmartsoftware.com> Hi Bob, 1. You have to enclose a text string with quotes 2. Square brackets have a special meaning in RegEx: you have to specify them preceded by a anti-slash to get them handled literally. So, you could try: put replaceText(field "preparsed","\[0\]",comma) into... Le 29 ao?t 05 ? 11:48, rev at armbase.com a ?crit : > I used (without any luck) > on mouseUp > replaceText(field "preparsed",[0],comma) > end mouseUp > > I get an error at [ > Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From alex at tweedly.net Mon Aug 29 05:54:55 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 29 Aug 2005 10:54:55 +0100 Subject: libdatabase : connection problem In-Reply-To: References: <1712663758.20050828124618@softhome.net> Message-ID: <4312DB6F.6050403@tweedly.net> Dan Shafer wrote: > Off-hand I spotted a couple of potential problem spots (haven't spent > a lot of time analyzing whether these are the only problems): > > On Aug 28, 2005, at 2:46 AM, Revolution wrote: > >> Sunday, August 28, 2005 12:45:34 PM (GMT +02:00) >> >> event from button : >> >> local tDbA = "" >> local i = 0 >> local tDataA = "" > > The above lines are doing nothing for you because they are incorrect > syntax for Revolution. The expression "i = 0" evaluates to either > true or valse but does nothing with the result. IF what you intend to > do here is to initialize local variables, then you need the slightly > more verbose: > Sorry, Dan, but the above *is* correct syntax, and does do what you'd expect. From the docs: > Declares one or more local variables and assigns initial values to them. > > local variablesList > > local currentStatus -- creates one local variable > local thisThing,thatThing,theOtherThing -- creates three variables > local A=1,B=2,C=3 -- creates variables with initial values > and > Description > Use the local command to define a local variable for a handler, or to > define a script local variable that is shared between all the handlers > in a script. > > Parameters: > The variablesList consists of one or more name=value pairs, separated > by commas: > * The name is any string. > * The value is any literal string. > The value is optional; you can specify just the variable name. In this > case, the specified local variables contain empty when created. > [end of docs quotation] Dan said: > Having said that, it is strictly optional in Transcript to use the > word "local" and I'd venture to say that the vast majority of us > never use it. Variables are local unless they're explicitly defined > to be global. In that case, you eliminate the three "local" lines in > the above and just assign the initialization values to the variables > with the same effect. > I use it often - mostly because my typing is bad and I often mistype variable names - therefore I always use explicitVariables to help detect my typos - and therefore need to use "local", but also I use it to initialize locals as above. (And you can use the initialization form to assign values to script-local variables too). -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005 From tg.lists at geistinteractive.com Mon Aug 29 06:15:18 2005 From: tg.lists at geistinteractive.com (Todd Geist) Date: Mon, 29 Aug 2005 03:15:18 -0700 Subject: Bring To Front Message-ID: Hello Everyone, Is there a way to bring a Rev Application to the front? I am sending some commands to my app over TCPIP and I would like to have it come to the front when it process those commands. Any ideas TIA Todd -- Todd Geist ______________________________________ G e i s t i n t e r a c t i v e From rp011s7075 at blueyonder.co.uk Mon Aug 29 06:31:52 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Mon, 29 Aug 2005 11:31:52 +0100 Subject: convert [*] to the n with tab Message-ID: Dear Bob, This is a job for regular expressions: put "[0][0][9]item1[0][0][0][6]item2[0]item3" into tstr put replacetext(tstr, "(\[[0-9]\])+", tab) get you: item1 item2 item3 [0-9] Means any number between 0-9 \[ and \[ Because [ and ] are characters used to define options (as the above shows), you need to escape it (something)+ One or more of the same thing. If you can have any number of digits in between square brackets, then use [0-9]+ Best, Marielle From david at openpartnership.net Mon Aug 29 06:29:21 2005 From: david at openpartnership.net (david bovill) Date: Mon, 29 Aug 2005 12:29:21 +0200 Subject: Convert ColorNames to RGB In-Reply-To: References: Message-ID: There is no way that i know of. You can script this on the fly if you want by seeting the color of some invisible or offscreen object and then putting the color of the object back into a variable. The other way around is harder - you have to script / use a lookup table. From rev at armbase.com Mon Aug 29 07:04:28 2005 From: rev at armbase.com (rev at armbase.com) Date: Mon, 29 Aug 2005 12:04:28 +0100 Subject: convert [*] to the n with tab In-Reply-To: <7DE8D5DE-8BD5-45E4-9D7F-D2BEE2A0B6F8@sosmartsoftware.com> References: <20050829091926.vv3hk671jmss48o0@webmail.armbase.com> <20050829094536.p8nsltu00gsgc4ks@webmail.armbase.com> <0d5f095875fc817c94b50ae60d2dd5a8@maseurope.net> <20050829104838.5t6zvlklwckcskks@webmail.armbase.com> <7DE8D5DE-8BD5-45E4-9D7F-D2BEE2A0B6F8@sosmartsoftware.com> Message-ID: <20050829120428.tdtbut68skkk0kck@webmail.armbase.com> Quoting Eric Chatonet : > Hi Bob, Hi Eric One again you have saved the day. I ended up with on mouseUp put replaceText(field "preparsed","\[3\]","[0]")into field "withtabs" put replaceText(field "withtabs","\[1\]","[0]")into field "withtabs" put replaceText(field "withtabs","\[2\]","[0]")into field "withtabs" put replaceText(field "withtabs","\[4\]","[0]")into field "withtabs" put replaceText(field "withtabs","\[5\]","[0]")into field "withtabs" put replaceText(field "withtabs","\[6\]","[0]")into field "withtabs" put replaceText(field "withtabs","\[7\]","[0]")into field "withtabs" put replaceText(field "withtabs","\[8\]","[0]")into field "withtabs" put replaceText(field "withtabs","\[9\]","[0]")into field "withtabs" put replaceText(field "withtabs","\[0\]\[0\]\[0\]\[0\]","[0]")into field "withtabs" put replaceText(field "withtabs","\[0\]\[0\]\[0\]","[0]")into field "withtabs" put replaceText(field "withtabs","\[0\]\[0\]","[0]")into field "withtabs" put replaceText(field "withtabs","\[0\]",tab)into field "withtabs" end mouseUp Now works perfect This replaces all the non-[0] with [0] and then changes multiples of [0] to one single [0]. Then changes them to tab. Cheers Bob From david at openpartnership.net Mon Aug 29 07:09:20 2005 From: david at openpartnership.net (david bovill) Date: Mon, 29 Aug 2005 13:09:20 +0200 Subject: CamelCase In-Reply-To: References: Message-ID: <91FBFCA6-AF5F-4EC0-8373-CC9C3FC59D1A@openpartnership.net> What's the quickest way to find all the CamelCase words in some text - anyone have a regular expression or script for this? From eric.chatonet at sosmartsoftware.com Mon Aug 29 07:09:31 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 29 Aug 2005 13:09:31 +0200 Subject: convert [*] to the n with tab In-Reply-To: <20050829120428.tdtbut68skkk0kck@webmail.armbase.com> References: <20050829091926.vv3hk671jmss48o0@webmail.armbase.com> <20050829094536.p8nsltu00gsgc4ks@webmail.armbase.com> <0d5f095875fc817c94b50ae60d2dd5a8@maseurope.net> <20050829104838.5t6zvlklwckcskks@webmail.armbase.com> <7DE8D5DE-8BD5-45E4-9D7F-D2BEE2A0B6F8@sosmartsoftware.com> <20050829120428.tdtbut68skkk0kck@webmail.armbase.com> Message-ID: Hi Bob, Thanks. But I'm not a regex specialist: did you see Marielle's answer who is far better than mine? > put "[0][0][9]item1[0][0][0][6]item2[0]item3" into tstr > put replacetext(tstr, "(\[[0-9]\])+", tab) > get you: item1 item2 item3 > > [0-9] Means any number between 0-9 > \[ and \[ Because [ and ] are characters used to define options > (as the above shows), you need to escape it > (something)+ One or more of the same thing. > > If you can have any number of digits in between square brackets, > then use > [0-9]+ Le 29 ao?t 05 ? 13:04, rev at armbase.com a ?crit : > Quoting Eric Chatonet : > > >> Hi Bob, >> > > Hi Eric > > One again you have saved the day. I ended up with > > on mouseUp > put replaceText(field "preparsed","\[3\]","[0]")into field "withtabs" > put replaceText(field "withtabs","\[1\]","[0]")into field "withtabs" > put replaceText(field "withtabs","\[2\]","[0]")into field "withtabs" > put replaceText(field "withtabs","\[4\]","[0]")into field "withtabs" > put replaceText(field "withtabs","\[5\]","[0]")into field "withtabs" > put replaceText(field "withtabs","\[6\]","[0]")into field "withtabs" > put replaceText(field "withtabs","\[7\]","[0]")into field "withtabs" > put replaceText(field "withtabs","\[8\]","[0]")into field "withtabs" > put replaceText(field "withtabs","\[9\]","[0]")into field "withtabs" > put replaceText(field "withtabs","\[0\]\[0\]\[0\]\[0\]","[0]")into > field > "withtabs" > put replaceText(field "withtabs","\[0\]\[0\]\[0\]","[0]")into field > "withtabs" > put replaceText(field "withtabs","\[0\]\[0\]","[0]")into field > "withtabs" > put replaceText(field "withtabs","\[0\]",tab)into field "withtabs" > end mouseUp > > Now works perfect > > This replaces all the non-[0] with [0] and then changes multiples > of [0] to one > single [0]. Then changes them to tab. > > Cheers > Bob Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From rev at armbase.com Mon Aug 29 07:12:58 2005 From: rev at armbase.com (rev at armbase.com) Date: Mon, 29 Aug 2005 12:12:58 +0100 Subject: convert [*] to the n with tab In-Reply-To: References: <20050829091926.vv3hk671jmss48o0@webmail.armbase.com> <20050829094536.p8nsltu00gsgc4ks@webmail.armbase.com> <0d5f095875fc817c94b50ae60d2dd5a8@maseurope.net> <20050829104838.5t6zvlklwckcskks@webmail.armbase.com> <7DE8D5DE-8BD5-45E4-9D7F-D2BEE2A0B6F8@sosmartsoftware.com> <20050829120428.tdtbut68skkk0kck@webmail.armbase.com> Message-ID: <20050829121258.7h6eqvsicko8o004@webmail.armbase.com> Quoting Eric Chatonet : > Hi Bob, Hi Eric and Marielle Well this just highlights the beauty of runrev. Get a load of this...... on mouseup put "[0][0][9]item1[0][0][0][6]item2[0]item3" into tstr put replacetext(tstr, "(\[[0-9]+\])+", tab) end mouseup WOW WOW WOW :-) Works perfectly Cheers Bob; Sunny Glasgow > > Thanks. > But I'm not a regex specialist: did you see Marielle's answer who is > far better than mine? > >> put "[0][0][9]item1[0][0][0][6]item2[0]item3" into tstr >> put replacetext(tstr, "(\[[0-9]\])+", tab) >> get you: item1 item2 item3 >> >> [0-9] Means any number between 0-9 >> \[ and \[ Because [ and ] are characters used to define options >> (as the above shows), you need to escape it >> (something)+ One or more of the same thing. >> >> If you can have any number of digits in between square brackets, then use >> [0-9]+ > > > Le 29 ao?t 05 ? 13:04, rev at armbase.com a ?crit : > >> Quoting Eric Chatonet : >> >> >>> Hi Bob, >>> >> >> Hi Eric >> >> One again you have saved the day. I ended up with >> >> on mouseUp >> put replaceText(field "preparsed","\[3\]","[0]")into field "withtabs" >> put replaceText(field "withtabs","\[1\]","[0]")into field "withtabs" >> put replaceText(field "withtabs","\[2\]","[0]")into field "withtabs" >> put replaceText(field "withtabs","\[4\]","[0]")into field "withtabs" >> put replaceText(field "withtabs","\[5\]","[0]")into field "withtabs" >> put replaceText(field "withtabs","\[6\]","[0]")into field "withtabs" >> put replaceText(field "withtabs","\[7\]","[0]")into field "withtabs" >> put replaceText(field "withtabs","\[8\]","[0]")into field "withtabs" >> put replaceText(field "withtabs","\[9\]","[0]")into field "withtabs" >> put replaceText(field "withtabs","\[0\]\[0\]\[0\]\[0\]","[0]")into field >> "withtabs" >> put replaceText(field "withtabs","\[0\]\[0\]\[0\]","[0]")into field >> "withtabs" >> put replaceText(field "withtabs","\[0\]\[0\]","[0]")into field "withtabs" >> put replaceText(field "withtabs","\[0\]",tab)into field "withtabs" >> end mouseUp >> >> Now works perfect >> >> This replaces all the non-[0] with [0] and then changes multiples >> of [0] to one >> single [0]. Then changes them to tab. >> >> Cheers >> Bob > > > > > > Best Regards from Paris, > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > > For institutions, companies and associations > Built-to-order applications: management, multimedia, internet, etc. > Windows, Mac OS and Linux... With the French touch > > Free plugins and tutorials on my website > ---------------------------------------------------------------- > Web site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jbv.silences at Club-Internet.fr Mon Aug 29 07:54:46 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Mon, 29 Aug 2005 13:54:46 +0200 Subject: Semi OT (french members only) : experienced web + Rev developer needed Message-ID: <4312F77D.542FDD0E@Club-Internet.fr> Hi list, I'm posting this message in english so that none feels ejected from the discussion, but I'm targetting french list members ONLY. I'm located 200 km East of Paris, so anyone (with the required skills - see below) not too far away is welcomed. The project I'm working on is a commercial web site using Rev cgi, and it has become rather complex, and I'm not sure I'll be able to meet the deadlines without help... Skills required : Xtalk (Rev cgi), Javascrript, PHP, SQL, CSS, DHTML, mySQL. Browsers : IE (Mac OS9 & X, Win), FF (Mac & Win), Safari Estimated time : 2 to 4 weeks. Please contact me offlist. Thanks, JB From eric.chatonet at sosmartsoftware.com Mon Aug 29 07:59:04 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 29 Aug 2005 13:59:04 +0200 Subject: CamelCase In-Reply-To: <91FBFCA6-AF5F-4EC0-8373-CC9C3FC59D1A@openpartnership.net> References: <91FBFCA6-AF5F-4EC0-8373-CC9C3FC59D1A@openpartnership.net> Message-ID: Hi David, I use the following function. It does not differentiate lower camelCase from upper ones (CamelCase). As I use it to parse scripts, the text to parse is not too long and it's enough for my "internal" needs. But I imagine there are faster solutions :-) It's certainly not the quickest... function ExtractCamelCase pText local tToken,tCamelCaseList ----- repeat for each token tToken in pText if the number of words of tToken > 1 then next repeat if charToNum(char 1 of tToken) < 65 or charToNum(char 1 of tToken) > 122 then next repeat repeat with i = 2 to the (number of chars of tToken - 1) if charToNum(char i of tToken) > 64 and charToNum(char i of tToken) < 91 and tToken is not among the lines of tCamelCaseList then put tToken & cr after tCamelCaseList next repeat end if end repeat end repeat delete last char of tCamelCaseList sort tCamelCaseList return tCamelCaseList end ExtractCamelCase Le 29 ao?t 05 ? 13:09, david bovill a ?crit : > What's the quickest way to find all the CamelCase words in some > text - anyone have a regular expression or script for this? Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From alex at tweedly.net Mon Aug 29 08:27:15 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 29 Aug 2005 13:27:15 +0100 Subject: CamelCase In-Reply-To: <91FBFCA6-AF5F-4EC0-8373-CC9C3FC59D1A@openpartnership.net> References: <91FBFCA6-AF5F-4EC0-8373-CC9C3FC59D1A@openpartnership.net> Message-ID: <4312FF23.20405@tweedly.net> david bovill wrote: > What's the quickest way to find all the CamelCase words in some text > - anyone have a regular expression or script for this? > Depends on your definition of CamelCase !! There are lots of variations possible - must have leading Uppercase (aka UpperCamelCase) - may not have that (lowerCamelCase, camelCase) - can it finish with an uppercase (e.g. EndsWithA) ? - lower case start, upper finish ? (e.g. lowerA) The simple version of a regular expression which allows all of these is ([A-Z]*[a-z]+[A-Z]+[a-zA-Z]*) i.e. 0 or more Upper, followed by at least one lower, followed by at least one upper, possibly followed by any number of either .... However, if this is for variable names, then you might also want to allow for digits and "_" in some places - this would make the regex more complex. (I don't think I could dependably tell you what it would be ...) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005 From tominjapan at excite.com Mon Aug 29 08:41:44 2005 From: tominjapan at excite.com (Thomas McCarthy) Date: Mon, 29 Aug 2005 08:41:44 -0400 (EDT) Subject: OT--Apples Pages outputs CSS Message-ID: <20050829124144.9C3E2BB05@xprdmailfe14.nwk.excite.com> Completely off-topic but... I've been investigating cascading style sheets and noticed that on the surface, a lot of css sites resembled Pages templates. I exported a Pages file to html and looked at it. Sure enough it used css. It might be a good way to start using css. I haven't checked KeyNote, yet. FWIW tom _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From mcdomi at free.fr Mon Aug 29 09:12:17 2005 From: mcdomi at free.fr (Dom) Date: Mon, 29 Aug 2005 15:12:17 +0200 Subject: Semi OT (french members only) : experienced web + Rev developer needed In-Reply-To: <4312F77D.542FDD0E@Club-Internet.fr> Message-ID: <1h229ya.oiqjntl6ue2M%mcdomi@free.fr> jbv wrote: > I'm posting this message in english so that none feels > ejected from the discussion, but I'm targetting french > list members ONLY. Salut ! j'ai fait suivre sur la liste francophone, o? se trouvent sans doute des clients potentiels ;-> -- Revolutionario mailto:revolutionfr-subscribe at yahoogroupes.fr From bnz2 at cdc.gov Mon Aug 29 09:06:33 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 29 Aug 2005 09:06:33 -0400 Subject: Spell Checker Message-ID: <64878EF567131D4596246171F75FD4A99681DD@m-epo-1.epo.cdc.gov> It is incorporated into something which I cannot share. However - the scrip is relatively simple. I can put something together that I can share. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Sivakatirswami Sent: Saturday, August 27, 2005 5:48 PM To: How to use Revolution Subject: Re: Spell Checker Jonathan: Can you share your spell checker with us? or is this proprietary? (put it on line somewhere or send to me off list?) I don't care if it is not polished in terms of the UI, as long the basic algorithms and scripts are accessible, I can put it to work.. basically I have a single field I am checking and would like to get a) mis-spelled words flagged in that field b) a suggestion list--(very basic, that segment of the alphabet would do... right, I know... not very smart and all the "s's" could be a long suggestion list, but my implementation will let them view two different suggestion lists, one the "common" English dict and two, a specialized words list... the latter will be short... Sivakatirswami On Aug 22, 2005, at 3:30 AM, Lynch, Jonathan wrote: > Hi Derek, > > Just a suggestion for your spellchecker - because I have one I created > for work and I made this change and now it moves much much faster. > > In one of the recent informal coding challenges, one of the rev users > (I'm sorry, I cannot remember who it was) came up with a cool way of > doing mass comparisons. > > Basically, you can load the entire word list into an array, in which > each element of the array is named for the word, and the content of > each > element is the word "true" > > Something like this: > > Repeat for each word tWord in tWordList > Put true into tWordArray[tWord] > End repeat > > Then when you go to do the comparison for a given word, you do this > > If not tWordArray[tWordToCheck] then > -- hilite the word, or whatever > End if > > > This was much faster than checking to see if the word was contained > in a > list, and is nice because it is not particularly slowed down by > having a > very large word list. You might already be using this method, so my > apologies if I am pointing out the obvious to you. > > Cheers, > > J > > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Derek > Bump > Sent: Thursday, August 18, 2005 8:46 PM > To: Sivakatirswami; How to use Revolution > Subject: Re: Spell Checker > > Sivakatirswami wrote: > >> Derek... Please ignore my post to the list... I just now see you >> > bailed > >> on that project (or were forced to...) >> >> But I never did get from you what you had done so far, per your memo: >> >> Sivakatirswami >> > > Sivaktirswami, > > Let me first apologize for the time it has taken me to get back to > you. > My main computer's hard drive is corrupted and I spend the better > part > > of 2 days attempting to get as many files off of it as possible > (Mostly > my iTunes Library). > > I do have a back up that is recent enough to include the Spell > Checker, > but I cannot give it out at this point. I have not forgotten about > you, > > as well as the other Revolution Developers, and I am working to get > the > Spell Checker finished. It would be a valuable tool for Revolution > that > > really should have been included a long time ago in the development > package. > > > Derek Bump > Dreamscape Software > _______________________________________________ > Compress Images Easily with JPEGCompress > http://www.dreamscapesoftware.com/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bill at bluewatermaritime.com Mon Aug 29 09:37:20 2005 From: bill at bluewatermaritime.com (Bill) Date: Mon, 29 Aug 2005 09:37:20 -0400 Subject: Using message box In-Reply-To: <25618882-36E9-41C7-A1C2-51009B278650@mangomultimedia.com> Message-ID: I have been using the message box all along like this: Put variable Or put "whatever" And the result comes out in the message box. The problem with this is how do you search for that event in a whole lot of code. You can't search for "put" So I want to say "put whatever into messagebox" only that doesn't work. If you ask the message box what it is called then you get stack "message box" so what I need is either: How do you search for a put that has no "into" Or what is the line in the message box called so that in the future I can name it explicitly? From scott at proherp.com Mon Aug 29 09:58:47 2005 From: scott at proherp.com (Scott Kane) Date: Mon, 29 Aug 2005 23:58:47 +1000 Subject: OSX Style Toolbat Widget Message-ID: <000001c5aca1$cde66df0$0201010a@proherps56yaxv> Hi all, Just wondering if anybody knows of a stack or procedure for creating OSX toolbars. You can do this in RealBaisic (Yuck!) as they have sublassed the control from the OS. Note it needs to be clear (not opaque) and as easy as possible for me as a Rev newbie. Ten years in Delphi has spoilt me in terms of available widgets and scripts that look like MessageDlg("Hello World", mtInformation, [mbYes, mbNo),0); That's not a complain against transcript, it just seems to take bigger learning curve as we have to "unlearn" how we do things on some ways. Scott From mark at maseurope.net Mon Aug 29 10:17:36 2005 From: mark at maseurope.net (Mark Smith) Date: Mon, 29 Aug 2005 15:17:36 +0100 Subject: OSX Style Toolbat Widget In-Reply-To: <000001c5aca1$cde66df0$0201010a@proherps56yaxv> References: <000001c5aca1$cde66df0$0201010a@proherps56yaxv> Message-ID: If you mean a row of tools (icons) at the top of a window, you can just put a bunch of buttons there. If you mean some sort of floating palette, then you need to make a sub stack of your main stack, set the decorations as desired, and populate it with a row of buttons... Is this what you mean? Mark ps. Having to type MessageDlg("Hello World", mtInformation, [mbYes, mbNo),0);' rather than answer "Hello World" with "Yes" or "no" doesn't sound like being spoilt :) On 29 Aug 2005, at 14:58, Scott Kane wrote: > Hi all, > > Just wondering if anybody knows of > a stack or procedure for creating > OSX toolbars. You can do this > in RealBaisic (Yuck!) as they > have sublassed the control from > the OS. > > Note it needs to be clear (not > opaque) and as easy as possible > for me as a Rev newbie. Ten > years in Delphi has spoilt me > in terms of available widgets > and scripts that look like > MessageDlg("Hello World", mtInformation, [mbYes, mbNo),0); > > That's not a complain against transcript, > it just seems to take bigger learning curve as > we have to "unlearn" how we do things on some ways. > > Scott > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Mon Aug 29 10:18:32 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 29 Aug 2005 16:18:32 +0200 Subject: Using message box In-Reply-To: References: Message-ID: <8D1D32A5-6F5E-4DEC-9FD9-9FBE2694D325@sosmartsoftware.com> Hi Bill, put whatever into message From the docs: The message box is a container as well as a window. You can show and hide the message box, put information into it, and get information from it. The two-word synonyms message window and msg window can be used only to show and hide the message box. To put a value into the message box or read the value in the message box, use the forms message, msg, message box, and msg box. As for searching for a put that has no "into", you have to script it. If it can help, send me a mail off-list: I have a little stack that makes the job (you specify something like: find all lines of code where x is but y is not). You might be interested by Chipp's altFindPut too: http:// www.altuit.com/webs/altuit2/altPluginDownload/Downloads.htm Le 29 ao?t 05 ? 15:37, Bill a ?crit : > I have been using the message box all along like this: > > Put variable > > Or put "whatever" > > And the result comes out in the message box. The problem with this > is how do > you search for that event in a whole lot of code. You can't search > for "put" > > So I want to say "put whatever into messagebox" only that doesn't > work. If > you ask the message box what it is called then you get stack > "message box" > so what I need is either: > > How do you search for a put that has no "into" > > Or what is the line in the message box called so that in the future > I can > name it explicitly? Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From scott at proherp.com Mon Aug 29 10:24:29 2005 From: scott at proherp.com (Scott Kane) Date: Tue, 30 Aug 2005 00:24:29 +1000 Subject: OSX Style Toolbat Widget In-Reply-To: Message-ID: <000201c5aca5$61ca5b00$0201010a@proherps56yaxv> > If you mean a row of tools (icons) at the top of a window, > you can just > put a bunch of buttons there. If you mean some sort of floating > palette, then you need to make a sub stack of your main > stack, set the > decorations as desired, and populate it with a row of buttons... > > Is this what you mean? Yup. Except the row of buttons look nothing like a real OSX toolbar. If they are set not ot highlight then they look odd. If set to hi-light then they look like Aqua buttons. I know might sound trivial to some, but I need the proper OSX look and feel on the toolbar. Thanks for your reply, Mark! Scott From mark at maseurope.net Mon Aug 29 10:38:37 2005 From: mark at maseurope.net (Mark Smith) Date: Mon, 29 Aug 2005 15:38:37 +0100 Subject: OSX Style Toolbat Widget In-Reply-To: <000201c5aca5$61ca5b00$0201010a@proherps56yaxv> References: <000201c5aca5$61ca5b00$0201010a@proherps56yaxv> Message-ID: <310c769354dd8d7993eb66c4db8a49d2@maseurope.net> I may have misunderstood. Do you mean a toolbar like the one at the top of the window in mail.app? It's just a row of buttons, and you have a lot of control over the behaviour and look of buttons... What are the problems with the hilite behaviour? Cheers, Mark On 29 Aug 2005, at 15:24, Scott Kane wrote: >> If you mean a row of tools (icons) at the top of a window, >> you can just >> put a bunch of buttons there. If you mean some sort of floating >> palette, then you need to make a sub stack of your main >> stack, set the >> decorations as desired, and populate it with a row of buttons... >> >> Is this what you mean? > > Yup. Except the row of buttons look nothing > like a real OSX toolbar. If they are set > not ot highlight then they look odd. If > set to hi-light then they look like Aqua > buttons. I know might sound trivial to some, > but I need the proper OSX look and feel on > the toolbar. > > Thanks for your reply, Mark! > > Scott > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bill at bluewatermaritime.com Mon Aug 29 11:22:08 2005 From: bill at bluewatermaritime.com (Bill) Date: Mon, 29 Aug 2005 11:22:08 -0400 Subject: Using message box In-Reply-To: <8D1D32A5-6F5E-4DEC-9FD9-9FBE2694D325@sosmartsoftware.com> Message-ID: Thanks. I looked in the docs too but sometimes the docs don't work (or maybe they get caught up in something that takes so long it seems like they're not working). Anyway -- from now on I use "put whatever into message" and then I can search on "message" to find it. I am using explicit variables also now and trying to use the formating of all variable names etc correctly as an old Hypercard coder shifting to RunRev where we can have thousands of lines of code in one container you really have to do things correctly or you are truly lost when you look at it later. On 8/29/05 10:18 AM, "Eric Chatonet" wrote: > > put whatever into message | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- 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 Mon Aug 29 11:22:03 2005 From: jhurley at infostations.com (Jim Hurley) Date: Mon, 29 Aug 2005 08:22:03 -0700 Subject: CamelCase In-Reply-To: <20050829142209.1E6C78252C7@mail.runrev.com> References: <20050829142209.1E6C78252C7@mail.runrev.com> Message-ID: > >Message: 5 >Date: Mon, 29 Aug 2005 13:09:20 +0200 >From: david bovill >Subject: CamelCase >To: How to use Revolution >Message-ID: <91FBFCA6-AF5F-4EC0-8373-CC9C3FC59D1A at openpartnership.net> >Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > >What's the quickest way to find all the CamelCase words in some text >- anyone have a regular expression or script for this? > David, Depending on the complexity of your text, you might find the following function useful: function thereIsAnInteriorCapitalLetter tText --Self referential name delete char 1 of tText delete char -1 of tText set the caseSensitive to true if toLower(tText)= tText then return false else return true end thereIsAnInteriorCapitalLetter Jim From revolution at duncansoftware.com Mon Aug 29 11:36:05 2005 From: revolution at duncansoftware.com (Revolution) Date: Mon, 29 Aug 2005 11:36:05 -0400 Subject: external Windows program running? Message-ID: <01d701c5acaf$60cba420$0600a8c0@Dell8250> In general: I am using revolution to launch a nonrevolution program. I need to know when the user shuts down the nonrev program so that I can shut down rev. Is there a method of doing this? Details: The nonrev program does not properly hide the Windows taskbar. I need rev to be running to keep the taskbar hidden, but I need to automatically shut rev down when the user closes the nonrev program. The nonrev program is useless at sending and receiving messages but it can launch another program. I tried launching my rev windows taskbar hider and having the rev program close but as soon as rev closes, rev "tidies" up and the taskbar reappears. Open to suggestions and thankful for them. Doug From jacque at hyperactivesw.com Mon Aug 29 11:51:43 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 29 Aug 2005 10:51:43 -0500 Subject: Scripting conference - How to work with files and folders Message-ID: <43132F0F.6040908@hyperactivesw.com> The preview stack for Ken Ray's scripting conference is now online for you to download prior to the conference this Saturday. Ken's topic is "How to work with files and folders" and there is a wealth of information in there. Ken has done a wonderful job with this stack and I am sure that most of you will find information you didn't know before. Take a look here: Ken's scripting conference will be held at 1125763200 seconds. To find your local date and time, put this into the message box: get 1125763200; convert it to system date and time;put it See you there! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bnz2 at cdc.gov Mon Aug 29 12:17:15 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 29 Aug 2005 12:17:15 -0400 Subject: external Windows program running? Message-ID: <64878EF567131D4596246171F75FD4A99681E2@m-epo-1.epo.cdc.gov> Are you using Rev to launch a program, which is only being opened to launch another program? Surely Rev could launch the other program directly? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Revolution Sent: Monday, August 29, 2005 11:36 AM To: use-revolution at lists.runrev.com Subject: external Windows program running? In general: I am using revolution to launch a nonrevolution program. I need to know when the user shuts down the nonrev program so that I can shut down rev. Is there a method of doing this? Details: The nonrev program does not properly hide the Windows taskbar. I need rev to be running to keep the taskbar hidden, but I need to automatically shut rev down when the user closes the nonrev program. The nonrev program is useless at sending and receiving messages but it can launch another program. I tried launching my rev windows taskbar hider and having the rev program close but as soon as rev closes, rev "tidies" up and the taskbar reappears. Open to suggestions and thankful for them. Doug _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From see3d at writeme.com Mon Aug 29 12:26:56 2005 From: see3d at writeme.com (Dennis Brown) Date: Mon, 29 Aug 2005 12:26:56 -0400 Subject: Using message box In-Reply-To: References: Message-ID: When I put in debug code, I add a comment to it so I can find it later: put myVar --debug Dennis On Aug 29, 2005, at 11:22 AM, Bill wrote: > Thanks. I looked in the docs too but sometimes the docs don't work > (or maybe > they get caught up in something that takes so long it seems like > they're not > working). > > Anyway -- from now on I use "put whatever into message" and then I can > search on "message" to find it. I am using explicit variables also > now and > trying to use the formating of all variable names etc correctly as > an old > Hypercard coder shifting to RunRev where we can have thousands of > lines of > code in one container you really have to do things correctly or you > are > truly lost when you look at it later. > > > On 8/29/05 10:18 AM, "Eric Chatonet" > > wrote: > > >> >> put whatever into message >> > > | | | > )_) )_) )_) > )___))___))___)\ > )____)____)_____)\\ > _____|____|____|____\\\__ > -------\ /--------- 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 > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rp011s7075 at blueyonder.co.uk Mon Aug 29 12:59:12 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Mon, 29 Aug 2005 17:59:12 +0100 Subject: CamelCase In-Reply-To: <20050829142208.E53328252C4@mail.runrev.com> References: <20050829142208.E53328252C4@mail.runrev.com> Message-ID: <66101DA9-5DF7-45CE-A1CF-B9585A356B96@blueyonder.co.uk> > What's the quickest way to find all the CamelCase words in some > text - anyone have a regular expression or script for this? Hi David: [^A-Za-z][A-Z][a-z]+[A-Z][A-Za-z]* In words: Any character except an alphabetic one, an uppercase character, one or more lowercase characters, an uppercase character, zero or more characters (lower or upper case). BTW, you have a page on regular expressions in the revolution- education wiki: http://revolution.lexicall.org/wiki/tiki-index.php? page=RegularExpressions Best, Marielle From larsbrehmer at mac.com Mon Aug 29 13:14:47 2005 From: larsbrehmer at mac.com (Lars Brehmer) Date: Mon, 29 Aug 2005 20:14:47 +0300 Subject: commas in custom properties Message-ID: <06D038A4-212B-4909-8998-498606ED6CF7@mac.com> Hi all! I'm sure I've seen this question on the list befrore, but darned if I can find it again! I use text stored in custom properties for word searching purposes, among other things, and I need to know how to "ignore" commas. For example a custom property that contains; to read, recite Using the broader search (mark cds where it is in the storedText of me) it wil return for "to" , "read" and "recite." in a more precise word search (mark cds where it is among the words of the storedText of me) it will only return for "to" or "recite" , but obviously not for "read" because of the comma. I'm pretty sure this can be done somehow, most likely very easily, but I can't seem to discover it on my own. A little help (once again!) Cheers, Lars From jacque at hyperactivesw.com Mon Aug 29 13:16:02 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 29 Aug 2005 12:16:02 -0500 Subject: Building Classic app problems In-Reply-To: References: <20050829005617.CDF628252CB@mail.runrev.com> Message-ID: <431342D2.10302@hyperactivesw.com> Jeffrey Reynolds wrote: > well, i have been trying to make my classic app by building it in rev251 > mac osx authoring with the mac classic 251 engine and still no luck. im > working on trying to figure out what exactly is not working in the > classic app. it appears like my images are not loading from files, but > first attempts to look at paths look like they are kosher. they even do > this on a straight os9 system. stacks from mc2.1 that do the same > routines do the same thing when made into rev251 classic apps from > rev251 osx. > > this one really has me scratching my head big time... > > osx standalones work great from 251 or 26. > > any ideas? This sounds like a file path problem to me, since OS X paths and OS 9 paths are different, depending on how you are calculating them. If you are using full file paths then it should work fine on either build, but if you are calculating the file path based on the location of the standalone then you need to do it differently in the two operating systems. Can you give us an idea of what your file paths looks like? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revolution at duncansoftware.com Mon Aug 29 13:37:28 2005 From: revolution at duncansoftware.com (Revolution) Date: Mon, 29 Aug 2005 13:37:28 -0400 Subject: external Windows program running? References: <64878EF567131D4596246171F75FD4A99681E2@m-epo-1.epo.cdc.gov> Message-ID: <01fb01c5acc0$53fe9a20$0600a8c0@Dell8250> Launching isn't the problem. I need to know when the nonrev program terminates. ----- Original Message ----- From: "Lynch, Jonathan" To: "How to use Revolution" Sent: Monday, August 29, 2005 12:17 PM Subject: RE: external Windows program running? Are you using Rev to launch a program, which is only being opened to launch another program? Surely Rev could launch the other program directly? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Revolution Sent: Monday, August 29, 2005 11:36 AM To: use-revolution at lists.runrev.com Subject: external Windows program running? In general: I am using revolution to launch a nonrevolution program. I need to know when the user shuts down the nonrev program so that I can shut down rev. Is there a method of doing this? Details: The nonrev program does not properly hide the Windows taskbar. I need rev to be running to keep the taskbar hidden, but I need to automatically shut rev down when the user closes the nonrev program. The nonrev program is useless at sending and receiving messages but it can launch another program. I tried launching my rev windows taskbar hider and having the rev program close but as soon as rev closes, rev "tidies" up and the taskbar reappears. Open to suggestions and thankful for them. Doug _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Mon Aug 29 13:42:01 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 29 Aug 2005 10:42:01 -0700 Subject: commas in custom properties In-Reply-To: <06D038A4-212B-4909-8998-498606ED6CF7@mac.com> References: <06D038A4-212B-4909-8998-498606ED6CF7@mac.com> Message-ID: <453308257.20050829104201@ahsoftware.net> Lars- If there's no space after the comma ("to read,recite") then "mark cds where it is among the items of the storedText of me" should do it. If there are spaces ("to read, recite") then the match will probably fail and you'll have to resort to something more verbose: put the storedText of me into tItems repeat with x = 1 to the number of items in tItems if tTarget is word 1 to -1 of item x of tItems then -- etc end if end repeat -- -Mark Wieder mwieder at ahsoftware.net From revolution at derbrill.de Mon Aug 29 13:42:37 2005 From: revolution at derbrill.de (Malte Brill) Date: Mon, 29 Aug 2005 19:42:37 +0200 Subject: commas in custom properties In-Reply-To: <20050829170004.F359D8252F5@mail.runrev.com> Message-ID: <4A08DD10-18B4-11DA-9167-0030659A795C@derbrill.de> Hi Lars, try tokens instead of words. mark cds where it is among the tokens of the storedText of me Hope that helps, Malte ------------------------------------------------------------------------ ------------ ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum Help flood victims from Switzerland: http://www.derbrill.de/beaundmischa.html From b.xavier at internet.lu Mon Aug 29 14:07:47 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 29 Aug 2005 20:07:47 +0200 Subject: external Windows program running? In-Reply-To: <01fb01c5acc0$53fe9a20$0600a8c0@Dell8250> Message-ID: <20050829174911.2C553824E4D@mail.runrev.com> Doug, if you launch your pc application via shell, then when the user closes that application, rev just has to continue working... meanwhile while your app runs, rev is "blocked..." I find the behavior hideous but at least it does have ONE use... The other way is to check every now and then if the application quit via a shell("pstools! not exact syntax") from pstools or the like. you can find pstools at http://www.sysinternals.com then on Checkmyappisrunning if "myapp.exe" is not in getappsrunning() then -- do mything quit end if send "checkmyappisrunning" to me in 2 seconds end Checkmyappisrunning function getappsrunning return shell("plist" ) end getappsrunning cheers 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 > Revolution > Sent: Monday, August 29, 2005 19:37 > To: How to use Revolution > Subject: Re: external Windows program running? > > Launching isn't the problem. I need to know when the nonrev > program terminates. > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Revolution > Sent: Monday, August 29, 2005 11:36 AM > To: use-revolution at lists.runrev.com > Subject: external Windows program running? > > In general: > I am using revolution to launch a nonrevolution program. I > need to know > when > the user shuts down the nonrev program so that I can shut down rev. Is > there > a method of doing this? > > Details: > The nonrev program does not properly hide the Windows taskbar. I need > rev to > be running to keep the taskbar hidden, but I need to > automatically shut > rev > down when the user closes the nonrev program. > > The nonrev program is useless at sending and receiving messages but it > can > launch another program. I tried launching my rev windows taskbar hider > and > having the rev program close but as soon as rev closes, rev > "tidies" up > and > the taskbar reappears. > > Open to suggestions and thankful for them. > > Doug > From joel.guillod at net2000.ch Mon Aug 29 14:10:31 2005 From: joel.guillod at net2000.ch (Joel Guillod) Date: Mon, 29 Aug 2005 20:10:31 +0200 Subject: Convert ColorNames to RGB In-Reply-To: <20050829142209.4956E8252C9@mail.runrev.com> References: <20050829142209.4956E8252C9@mail.runrev.com> Message-ID: > The other way around is harder - you have to script / use a lookup > table. Not so hard to build a map between ColorNames and RGB: create a field and name it "fColors", then put the following script in the card script and type build in the message box: now the field display for each color a line with: its colorname, a color rectangle, the color value for html, the RGB value. For lazy one, download a ready made stack "ColorNames Displayed" is available under Revolution online, user "imed". Enjoy! Joel G on build set cursor to watch lock screen set the itemdel to tab put empty into fld "fColors" repeat for each line c in colornames() put c & tab & " " &tab after fld "fColors" set the backgroundcolor of char 1 to -1 of item 2 of last line of fld "fColors" to c put the backgroundcolor of item 2 of last line of fld "fColors" into tColor put htmlColor(tColor) &tab& rgbColor(tColor) &cr after fld "fColors" end repeat end build function htmlColor c put "#" into r repeat for each item i in c get baseconvert(i,10,16) if len(it)=1 then put "0" after r put it after r end repeat return r end htmlColor function rgbColor c return format("%03s,%03s,%03s",item 1 of c,item 2 of c, item 3 of c) end rgbColor From bnz2 at cdc.gov Mon Aug 29 14:15:37 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 29 Aug 2005 14:15:37 -0400 Subject: external Windows program running? Message-ID: <64878EF567131D4596246171F75FD4A99681E4@m-epo-1.epo.cdc.gov> You can also just check every now and then to see if the application is among the openprocesses. And Xavier, you can launch an app via shell command without it locking up - at least, Chipp's method so far has not locked up the Rev app for me. I would be happy to send it to you, if you wish. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX Sent: Monday, August 29, 2005 2:08 PM To: 'How to use Revolution' Subject: RE: external Windows program running? Doug, if you launch your pc application via shell, then when the user closes that application, rev just has to continue working... meanwhile while your app runs, rev is "blocked..." I find the behavior hideous but at least it does have ONE use... The other way is to check every now and then if the application quit via a shell("pstools! not exact syntax") from pstools or the like. you can find pstools at http://www.sysinternals.com then on Checkmyappisrunning if "myapp.exe" is not in getappsrunning() then -- do mything quit end if send "checkmyappisrunning" to me in 2 seconds end Checkmyappisrunning function getappsrunning return shell("plist" ) end getappsrunning cheers 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 > Revolution > Sent: Monday, August 29, 2005 19:37 > To: How to use Revolution > Subject: Re: external Windows program running? > > Launching isn't the problem. I need to know when the nonrev > program terminates. > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Revolution > Sent: Monday, August 29, 2005 11:36 AM > To: use-revolution at lists.runrev.com > Subject: external Windows program running? > > In general: > I am using revolution to launch a nonrevolution program. I > need to know > when > the user shuts down the nonrev program so that I can shut down rev. Is > there > a method of doing this? > > Details: > The nonrev program does not properly hide the Windows taskbar. I need > rev to > be running to keep the taskbar hidden, but I need to > automatically shut > rev > down when the user closes the nonrev program. > > The nonrev program is useless at sending and receiving messages but it > can > launch another program. I tried launching my rev windows taskbar hider > and > having the rev program close but as soon as rev closes, rev > "tidies" up > and > the taskbar reappears. > > Open to suggestions and thankful for them. > > Doug > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From scott at proherp.com Mon Aug 29 15:16:26 2005 From: scott at proherp.com (Scott Kane) Date: Tue, 30 Aug 2005 05:16:26 +1000 Subject: OSX Style Toolbat Widget In-Reply-To: <310c769354dd8d7993eb66c4db8a49d2@maseurope.net> Message-ID: <000001c5acce$2ff2f820$0201010a@proherps56yaxv> Hi Mark, > Do you mean a toolbar like the one at the top of the window > in mail.app? It's just a row of buttons, and you have a lot > of control over the > behaviour and look of buttons... > What are the problems with the hilite behaviour? First off - sorry for being a pain for this, but my test team won't even look at the app' unless it works and looks "just right". Yes - mail.app is exactly the look and is the OS's toolbar in use. The user can add or hide buttons and if there are to many added then a chevron appears allowing you to see the rest as a drop down list. I don't care about the chevron aspect - but the look of the mail.app app' toolbar is exactly what I'm after. It is part of the native OSX GUI - but I have no knowledge on how to subclass it to use in Rev'. Scott From revdan at danshafer.com Mon Aug 29 15:24:20 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 29 Aug 2005 12:24:20 -0700 Subject: libdatabase : connection problem In-Reply-To: <53158D43-04B8-4D14-8611-BFBAA8389CC8@mangomultimedia.com> References: <1712663758.20050828124618@softhome.net> <53158D43-04B8-4D14-8611-BFBAA8389CC8@mangomultimedia.com> Message-ID: Just goes to show you. I learn something every day about this language. It would never have occurred to me to use an equal sign that way in Rev. I'm almost sorry I know that! :-D Dan On Aug 28, 2005, at 8:46 PM, Trevor DeVore wrote: > On Aug 28, 2005, at 6:12 PM, Dan Shafer wrote: > >>> Sunday, August 28, 2005 12:45:34 PM (GMT +02:00) >>> >>> event from button : >>> >>> local tDbA = "" >>> local i = 0 >>> local tDataA = "" >>> >>> >> The above lines are doing nothing for you because they are >> incorrect syntax for Revolution. The expression "i = 0" evaluates >> to either true or valse but does nothing with the result. IF what >> you intend to do here is to initialize local variables, then you >> need the slightly more verbose: >> >> local tDbA >> put empty into tDbA (or you can use double quotes instead of "empty") >> local i >> put 0 into i >> local tDataA >> put empty into tDataA >> > > Dan, > > Declaring a variable as local initializes to an empty variable. So - > > local tDbA,tDataA > > would initialize both variables as empty. For example: > > on doSomething > local tVar > > put tVar &cr& tVar2 > end doSomething > > Would display and empty line, a return and "tVar2" on the second > line in the message box. You can initialize a variable to value as > well. > > on doSomething > local i = 0 > > put i > end doSomething > > would print 0 in the message box. > > >> Having said that, it is strictly optional in Transcript to use the >> word "local" and I'd venture to say that the vast majority of us >> never use it. Variables are local unless they're explicitly >> defined to be global. In that case, you eliminate the three >> "local" lines in the above and just assign the initialization >> values to the variables with the same effect. >> > > The person probably got the code from original libDatabase example > code. Back in the day I used to initialize variables with "" > before I knew that just declaring them set them to empty. Now I > just define all local variables en mass: > > local tVar1,tVar2 > local tDataA,tWhateverA > > For integers, such as i, I used to always initialize them to 0. > Now I only initialize them with 0 if there is a possibility of a > math error later on in the code that could be caused by having a > non-numeric value. > > It is true that most people don't declare local variables but I do > in all of my code. > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Mon Aug 29 15:26:27 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 29 Aug 2005 12:26:27 -0700 Subject: OSX Style Toolbat Widget In-Reply-To: <000001c5acce$2ff2f820$0201010a@proherps56yaxv> References: <000001c5acce$2ff2f820$0201010a@proherps56yaxv> Message-ID: <43136163.5080404@fourthworld.com> Scott Kane wrote: > First off - sorry for being a pain for this, but > my test team won't even look at the app' unless > it works and looks "just right". > > Yes - mail.app is exactly the look and is the OS's > toolbar in use. The user can add or hide buttons > and if there are to many added then a chevron appears > allowing you to see the rest as a drop down list. > I don't care about the chevron aspect - but the look > of the mail.app app' toolbar is exactly what I'm after. It > is part of the native OSX GUI Request outstanding since September 2003: (Thanks for filing that, Jan). -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From Cubist at aol.com Mon Aug 29 15:28:15 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Mon, 29 Aug 2005 15:28:15 EDT Subject: CamelCase Message-ID: <1c9.2fbd693d.3044bbcf@aol.com> sez jhurley at infostations.com: >>From: david bovill >- anyone have a regular expression or script for this? >Depending on the complexity of your text, you might find the >following function useful: > >function thereIsAnInteriorCapitalLetter tText --Self referential name > delete char 1 of tText > delete char -1 of tText Stupid question: Why delete char -1? What difference would it make if you didn't? > set the caseSensitive to true > if toLower(tText)= tText then > return false > else return true This IF statement can be replaced by one line: "return (not (toLower (tText) = tText))" >end thereIsAnInteriorCapitalLetter This handler may or may not do Bovill's job, depending on what sort of strings count as being CamelCase. A few test-cases: "getLost" -- true "ALPHABET" -- true "explicitX" -- false I suspect that all-caps strings ought not be considered CamelCase, myself... From mcdomi at free.fr Mon Aug 29 15:40:58 2005 From: mcdomi at free.fr (Dom) Date: Mon, 29 Aug 2005 21:40:58 +0200 Subject: [FR] [EN] Re: RevoBlog lives again! Leap year =?iso-8859-1?q?dete?= =?iso-8859-1?q?rmination/Ann=E9es?= bissextiles In-Reply-To: <1h1z5j4.5idgam1yrhxwgM%mcdomi@free.fr> Message-ID: <1h22s0q.1l2pbryoowpayM%mcdomi@free.fr> Dom wrote: > It is here: > > http://revoblog.free.fr/2005/08/27/index.html I forgot to note that the web site is bilingual... J'ai oubli? de pr?ciser que le site ?tait bilingue ! Today: a better determination of leap years, by a member of the french-speaking list revolutionfr ;-) Aujourd'hui : une am?lioration de la routine de d?tection des ann?es bissextiles, par un contributeur de la liste revolutionfr ;-) -- Revolutionario From mswindel at santacruz.k12.ca.us Mon Aug 29 15:54:15 2005 From: mswindel at santacruz.k12.ca.us (Mark Swindell) Date: Mon, 29 Aug 2005 12:54:15 -0700 Subject: commas in custom properties In-Reply-To: <06D038A4-212B-4909-8998-498606ED6CF7@mac.com> References: <06D038A4-212B-4909-8998-498606ED6CF7@mac.com> Message-ID: Don't know if this will help, but I just used the "replace x with y" feature in a project I'm working on where there were multiple lines with returns at the end and not commas: put the cpImageItems into cleanMeUp replace return with comma in cleanMeUp if x is among the items of cleanMeUp then etc. in this way all the line breaks are converted to items. Otherwise, in the following, "big cat wolf" is considered item 2 of 3 items. tiger, big cat wolf, wild dog Mark On Aug 29, 2005, at 10:14 AM, Lars Brehmer wrote: > Hi all! > > I'm sure I've seen this question on the list befrore, but darned if I > can find it again! > > I use text stored in custom properties for word searching purposes, > among other things, and I need to know how to "ignore" commas. For > example a custom property that contains; > > to read, recite > > Using the broader search (mark cds where it is in the storedText of > me) it wil return for "to" , "read" and "recite." > > in a more precise word search (mark cds where it is among the words of > the storedText of me) it will only return for "to" or "recite" , but > obviously not for "read" because of the comma. I'm pretty sure this > can be done somehow, most likely very easily, but I can't seem to > discover it on my own. > > A little help (once again!) > > Cheers, > > Lars From chipp at chipp.com Mon Aug 29 16:15:14 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 29 Aug 2005 15:15:14 -0500 Subject: Using message box In-Reply-To: References: Message-ID: <43136CD2.9020204@chipp.com> Bill, To search for naked puts, you can use my 'find put' plugin at: http://www.altuit.com/webs/altuit2/altPluginCover/about.htm Check under "Download Plugins" -Chipp Bill wrote: > I have been using the message box all along like this: > > Put variable > > Or put "whatever" > > And the result comes out in the message box. The problem with this is how do > you search for that event in a whole lot of code. You can't search for "put" From chipp at chipp.com Mon Aug 29 16:22:46 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 29 Aug 2005 15:22:46 -0500 Subject: OSX Style Toolbat Widget In-Reply-To: <000001c5acce$2ff2f820$0201010a@proherps56yaxv> References: <000001c5acce$2ff2f820$0201010a@proherps56yaxv> Message-ID: <43136E96.2020504@chipp.com> Scott, I believe Ken Ray has implemented the exact same look and feel, including the ability to drag/drop buttons 'up there.' I suggest you contact him offlist? -Chipp From scott at proherp.com Mon Aug 29 16:58:18 2005 From: scott at proherp.com (Scott Kane) Date: Tue, 30 Aug 2005 06:58:18 +1000 Subject: OSX Style Toolbat Widget In-Reply-To: <43136E96.2020504@chipp.com> Message-ID: <000f01c5acdc$67a97ab0$0201010a@proherps56yaxv> Hi Chipp, > I believe Ken Ray has implemented the exact same look and feel, > including the ability to drag/drop buttons 'up there.' I suggest you > contact him offlist? Do you happen to have his email address? I'm kind of new and don't know Ken Ray. :-) Scott From scott at elementarysoftware.com Mon Aug 29 19:40:50 2005 From: scott at elementarysoftware.com (Scott Morrow) Date: Mon, 29 Aug 2005 16:40:50 -0700 Subject: Spell Checker In-Reply-To: <6378AC5A-25BF-45CE-947B-9A8557E0BAAF@skynet.be> References: <64878EF567131D4596246171F75FD4A9744627@m-epo-1.epo.cdc.gov> <6C30051D-71AA-47DC-AD5E-B1FFD5A20C3E@hindu.org> <6378AC5A-25BF-45CE-947B-9A8557E0BAAF@skynet.be> Message-ID: <9bd67a249607709c293a35283ca7a0a0@elementarysoftware.com> Greetings Yves, Jean-Baptiste LE STANG has written an AppleScript extension < http://www.lestang.org/ > that allows a link to Apple's OSX spell checking engine. It can be used with Revolution to create a spell checker. Obviously it requires OSX and so will not provide the general solution that the others (and myself) are looking for. I have posted a Rev spell checker stack that uses this AppleScript extension. Perhaps it will give you some ideas. Install XSpell and then try: go URL "http://elementarysoftware.com/rev_demos/spellcheck_demo.rev" -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- On Aug 28, 2005, at 12:58 AM, Yves COPPE wrote: > > Le 27 ao?t 05 ? 23:48, Sivakatirswami a ?crit : > >> Jonathan: >> >> Can you share your spell checker with us? or is this proprietary? >> (put it on line somewhere or send to me off list?) >> >> I don't care if it is not polished in terms of the UI, as long the >> basic algorithms and scripts are accessible, I can put it to work.. >> >> basically I have a single field I am checking and would like to get >> >> a) mis-spelled words flagged in that field >> b) a suggestion list--(very basic, that segment of the alphabet would >> do... right, I know... not very smart and all the "s's" could be a >> long suggestion list, but my implementation will let them view two >> different suggestion lists, one the "common" English dict and two, a >> specialized words list... the latter will be short... >> > > > Hi Jonathan, > > I'm also very interested in Spell checker. > > Working on Mac OS X, I found very a pity that Revolution doesn't > support the cocoa services system of mac OS X > So I'd like to build my own. I'm a French (language) user and have a > big file of french words. > I'd like to use this file as base of Spell Checking. > > Can you show us how you proceed ? > > Thank you? > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From erikhans08 at yahoo.com Mon Aug 29 19:57:02 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Mon, 29 Aug 2005 16:57:02 -0700 (PDT) Subject: OT good list or product for removing ad/spyware? In-Reply-To: <4A08DD10-18B4-11DA-9167-0030659A795C@derbrill.de> Message-ID: <20050829235702.2508.qmail@web33002.mail.mud.yahoo.com> --- Malte Brill wrote: > Hi Lars, > > try tokens instead of words. > > mark cds where it is among the tokens of the > storedText of me > > Hope that helps, > > Malte > > > ------------------------------------------------------------------------ > ------------ > ArcadeEngine - prepare to WOW your audience > within minutes > http://www.runrev.com/section/revselect/arcadeengine > http://www.derbrill.com/arcadeengine/forum > > Help flood victims from Switzerland: > http://www.derbrill.de/beaundmischa.html > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe > and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > erik at erikhansen.org http://www.erikhansen.org __________________________________ Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html From ambassador at fourthworld.com Mon Aug 29 23:29:04 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 29 Aug 2005 20:29:04 -0700 Subject: emacsKeyBindings Message-ID: <4313D280.30206@fourthworld.com> I'm curious: How many of you use the emacsKeyBindings property, and for what sorts of apps/audiences? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From b.xavier at internet.lu Tue Aug 30 00:53:58 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 30 Aug 2005 06:53:58 +0200 Subject: problem waiting - spellchecker Message-ID: <20050830043511.55941824D87@mail.runrev.com> Hi everyone im working on this spellchecker (too) in a palette form. It should be able to work in any stack... Dictionary is ready, so is the SpellChecker's GUI. While everything is nearly ready, the stack makes a loop to parse all words and check each word and waits for a user input to decide what happens to each unknown word - as expected. but... Now, the problem is that once a word is detected as unknown, the loop must wait for the user to hit the buttons "learn, skip, ignore, etc..." so it goes like this for each word w in thistext if w is not in dictionary then put w into field unknown put suggestions(w) into field suggestions wait until checkdone end if The skip, continue, etc, buttons contain their functions or change a global parameter that tell the parser to continue or skip, etc... And at the end, each button script contains "checkdone". But while this seemed too simple and easy, it didn't work. The loop gets stuck waiting blocking the gui completly... Clicking on a button with the CheckDone caller doesnt work either. Wait just blocks everything... Control-C is the only way to stop it. I tried also wait until the mouse is up/down - it works a bit better but... this gets complicated, checking all the targets, and unlike a normal word processor, all the applications are still blocked waiting... There must be an easier way... So any suggestions on how to handle this in an "idle" way are welcome. - I dont want to block the GUI - The user should be able to edit anything (the correctedtext for example) meanwhile (put the check in the bg). - when i pause the loop, any button should be able to work... - how do you resume a loop in this case? im thinking of using a parametrable loop that stops at each unknown word remembering in it's parameters what word that was... Each palette button (skip, fix, learn, etc) will do it's job and relaunch the spellcheck loop which will continue at the next word... But solution 1 was so simple... Does anyone have a better suggestion? Thanks in advance Xavier From chipp at chipp.com Tue Aug 30 00:56:15 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 29 Aug 2005 23:56:15 -0500 Subject: problem waiting - spellchecker In-Reply-To: <20050830043511.55941824D87@mail.runrev.com> References: <20050830043511.55941824D87@mail.runrev.com> Message-ID: <4313E6EF.8070105@chipp.com> did you try: wait with messages until checkdone? MisterX wrote: > Hi everyone > > im working on this spellchecker (too) in a palette form. It should be able > to work in any stack... Dictionary is ready, so is the SpellChecker's GUI. > > While everything is nearly ready, the stack makes a loop to parse all words > and check each word and waits for a user input to decide what happens to > each unknown word - as expected. but... > > Now, the problem is that once a word is detected as unknown, the loop must > wait for the user to hit the buttons "learn, skip, ignore, etc..." > > so it goes like this > > for each word w in thistext > if w is not in dictionary then > put w into field unknown > put suggestions(w) into field suggestions > wait until checkdone > end if > > The skip, continue, etc, buttons contain their functions or change a global > parameter that tell the parser to continue or skip, etc... And at the end, > each button script contains "checkdone". > > But while this seemed too simple and easy, it didn't work. > > The loop gets stuck waiting blocking the gui completly... Clicking on a > button with the CheckDone caller doesnt work either. Wait just blocks > everything... Control-C is the only way to stop it. > > I tried also > > wait until the mouse is up/down - it works a bit better but... this gets > complicated, checking all the targets, and unlike a normal word processor, > all the applications are still blocked waiting... There must be an easier > way... > > So any suggestions on how to handle this in an "idle" way are welcome. > > - I dont want to block the GUI > - The user should be able to edit anything (the correctedtext for example) > meanwhile (put the check in the bg). > - when i pause the loop, any button should be able to work... > - how do you resume a loop in this case? > > im thinking of using a parametrable loop that stops at each unknown word > remembering in it's parameters what word that was... Each palette button > (skip, fix, learn, etc) will do it's job and relaunch the spellcheck loop > which will continue at the next word... > > But solution 1 was so simple... > > Does anyone have a better suggestion? From revolution at jaedworks.com Mon Aug 29 17:40:16 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Mon, 29 Aug 2005 14:40:16 -0700 Subject: Saluting the Menu Maven In-Reply-To: References: Message-ID: At 1:09 AM -0700 8/26/2005, Dick Kriesel wrote: >On 8/26/05 12:42 AM, "Jeanne A. E. DeVoto" wrote: > >> there are a lot of tips and tricks that I didn't include >> in order to make sure the basic information got through >> without overloading people > >Tantalizing! Please, Jeanne, would you share the rest of tips and tricks >too? > >-- Dick > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From briany at qldlearning.com Tue Aug 30 01:39:19 2005 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 29 Aug 2005 22:39:19 -0700 Subject: problem waiting - spellchecker In-Reply-To: <20050830043511.55941824D87@mail.runrev.com> References: <20050830043511.55941824D87@mail.runrev.com> Message-ID: Xavier, I would suggest either: a) use "wait ... with messages" or b) modularize the code such that your buttons can pick up where your code left off. IOW, there is no code running while waiting for a button to be pressed. Just save off your progress, and wait for the next click. Hope that helps! - Brian From xbury.cs at clearstream.com Tue Aug 30 02:27:32 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 30 Aug 2005 08:27:32 +0200 Subject: problem waiting - spellchecker In-Reply-To: Message-ID: All my code is modularized from the start... But i thought a loop was necessary. But B is how i went about it (still untested)... I just remember the last word i checked and continue... would wait... with messages "" block the gui too though? Thanks Brian use-revolution-bounces at lists.runrev.com wrote on 30/08/2005 07:39:19: > Xavier, > > I would suggest either: > > a) use "wait ... with messages" > > or > > b) modularize the code such that your buttons can pick up where your > code left off. IOW, there is no code running while waiting for a button > to be pressed. Just save off your progress, and wait for the next > click. > > Hope that helps! > > - Brian > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From scott at tactilemedia.com Tue Aug 30 02:37:06 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 29 Aug 2005 23:37:06 -0700 Subject: problem waiting - spellchecker In-Reply-To: Message-ID: Recently, xbury.cs at clearstream.com wrote: > would wait... with messages "" block the gui too though? Nope - you use "with messages" specifically to avoid any "blocking". Try it in a test stack. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From xbury.cs at clearstream.com Tue Aug 30 02:54:11 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 30 Aug 2005 08:54:11 +0200 Subject: problem waiting - spellchecker In-Reply-To: Message-ID: wait with messages "checkContinue" doesn't compile wait with messages checkContinue causes an execution error. I quit MC, launch Rev to see the help about it... Ah, now i see the wait ... "with" ok, so i tried... wait 0 seconds with messages checkContinue still an error! Is there supposed to be a handler checkContinue or can i just call checkContinue from my other button to "trigger" the "wait with" to continue? still lost... Xav use-revolution-bounces at lists.runrev.com wrote on 30/08/2005 08:37:06: > Recently, xbury.cs at clearstream.com wrote: > > > would wait... with messages "" block the gui too though? > > Nope - you use "with messages" specifically to avoid any "blocking". > > Try it in a test stack. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- 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 briany at qldlearning.com Tue Aug 30 03:09:24 2005 From: briany at qldlearning.com (Brian Yennie) Date: Tue, 30 Aug 2005 00:09:24 -0700 Subject: problem waiting - spellchecker In-Reply-To: References: Message-ID: <222f40c8b1793c4ab5828c77a99cc460@qldlearning.com> Xavier, Check the docs on this one, your syntax is wrong. You don't specify a message to be called when the wait is complete, your script just continues. [with messages] is an optional qualifier added on to the end of an otherwise ordinary wait command. wait until (someCondition is true) with messages wait 5 seconds with messages etc > wait with messages "checkContinue" > > doesn't compile > > wait with messages checkContinue > > causes an execution error. > > I quit MC, launch Rev to see the help about it... Ah, now i see the > wait > ... "with" > > ok, so i tried... > > wait 0 seconds with messages checkContinue > > still an error! > > Is there supposed to be a handler checkContinue or can i just call > checkContinue > from my other button to "trigger" the "wait with" to continue? > > still lost... > Xav > > > use-revolution-bounces at lists.runrev.com wrote on 30/08/2005 08:37:06: > >> Recently, xbury.cs at clearstream.com wrote: >> >>> would wait... with messages "" block the gui too though? >> >> Nope - you use "with messages" specifically to avoid any "blocking". >> >> Try it in a test stack. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, Multimedia & Design >> ----- >> E: scott at tactilemedia.com >> W: http://www.tactilemedia.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > > ----------------------------------------- > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream > International does not accept legal responsibility for the contents of > this message. > > The information contained in this e-mail is confidential and may be > legally privileged. It is intended solely for the addressee. If you are > not the intended recipient, any disclosure, copying, distribution or > any action taken or omitted to be taken in reliance on it, is > prohibited and may be unlawful. Any views expressed in this e-mail are > those of the individual sender, except where the sender specifically > states them to be the views of Clearstream International or of any of > its affiliates or subsidiaries. > > END OF DISCLAIMER > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From scott at tactilemedia.com Tue Aug 30 03:09:58 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 30 Aug 2005 00:09:58 -0700 Subject: problem waiting - spellchecker In-Reply-To: Message-ID: Recently, xbury.cs at clearstream.com wrote: > Is there supposed to be a handler checkContinue or can i just call > checkContinue > from my other button to "trigger" the "wait with" to continue? Just check the value of a variable that is set by whatever controls/handlers cause your checking to be completed: wait until gCheckContinue with messages And in a button (simplified): on mouseUp global gCheckContinue -- do my spellcheck stuff put true into gCheckContinue end mouseUp Make sense? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From xbury.cs at clearstream.com Tue Aug 30 03:18:48 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 30 Aug 2005 09:18:48 +0200 Subject: problem waiting - spellchecker In-Reply-To: Message-ID: Superb!!! Thanks all for your great help!!! We got a spellchecker almost working... The revDocs need help here!!! It sure wasn't clear at all... wait [for] number [seconds | ticks | milliseconds] [with messages] doesn't imply that you can add a condition to wait for! Only time... Where i was confused is that this looked like a read from socket IP with message "whatever" thansk again! Xavier use-revolution-bounces at lists.runrev.com wrote on 30/08/2005 09:09:58: > Recently, xbury.cs at clearstream.com wrote: > > > Is there supposed to be a handler checkContinue or can i just call > > checkContinue > > from my other button to "trigger" the "wait with" to continue? > > Just check the value of a variable that is set by whatever controls/handlers > cause your checking to be completed: > > wait until gCheckContinue with messages > > And in a button (simplified): > > on mouseUp > global gCheckContinue > -- do my spellcheck stuff > put true into gCheckContinue > end mouseUp > > Make sense? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- 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 larsbrehmer at mac.com Tue Aug 30 04:15:09 2005 From: larsbrehmer at mac.com (Lars Brehmer) Date: Tue, 30 Aug 2005 11:15:09 +0300 Subject: commas in custom properties Message-ID: <30FF2C6D-1459-4D3A-AF4A-EE17DEF01659@mac.com> Thanks Mark, Mark & Malte! I knew the answer was simple, both work as I want them to work. I had never heard the term "token" before, otherwise I would have just looked it up in the docs dictionary or topics, which give a good explanation. On the other hand, in defense of Rev's docs, I SHOULD have looked up "chunk expressions" in the topics. To me it's just as valuable to get better at using the docs as it is to get better at using Rev, I suppose. Cheers! Lars From dcragg at lacscentre.co.uk Tue Aug 30 04:21:16 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 30 Aug 2005 09:21:16 +0100 Subject: problem waiting - spellchecker In-Reply-To: References: Message-ID: <2DC8C77B-C7CB-480C-BACF-CDDF00609E83@lacscentre.co.uk> On 30 Aug 2005, at 08:18, xbury.cs at clearstream.com wrote: > Superb!!! > > Thanks all for your great help!!! > > We got a spellchecker almost working... > > The revDocs need help here!!! It sure wasn't clear at all... > > wait [for] number [seconds | ticks | milliseconds] [with messages] > > doesn't imply that you can add a condition to wait for! Only time... > > Where i was confused is that this looked like a > > read from socket IP with message "whatever" What version of Rev are you using? The current docs show these syntax descriptions: wait {until | while} condition [with messages] wait [for] number [seconds | ticks | milliseconds] [with messages] wait for messages But I seem to remember in earlier versions that the "condition" version wasn't listed. Cheers Dave From 36degrees at runrev.com Tue Aug 30 04:48:49 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Tue, 30 Aug 2005 09:48:49 +0100 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 In-Reply-To: <430F5D99.3020904@fourthworld.com> References: <1182245378.20050826093602@ahsoftware.net> <430F4CAC.1090305@hyperactivesw.com> <430F5D99.3020904@fourthworld.com> Message-ID: <1125391729.8612.209.camel@rachmaninov> > But I fear for Mr. Waddingham when the citizens storm the Edinburgh > offices with torches and pitchforks after discovering that the code > style they've been using for years is no longer supported. ;) Odd... I don't recall saying that the short form of object tokens would be eliminated, I was merely trying to subtlety suggest that they can make things a tad unreadable ;o) It isn't an efficiency thing (the keywords are tokenised to internal indices at the tokenisation phase - i.e. when you set the script) - it's a stylistic thing and just like variable naming people are free to choose. Indeed, in the future there might be a whole zoo of control types, and in this case naming becomes incredibly important to avoid clashes. Of course, the solution to this is allow the individual developer to alias types to whatever one, two, three or more character handles that they wish... Warmest Regards, Mark. ------------------------------------------------------------------ Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From dburgun at dsl.pipex.com Tue Aug 30 05:02:28 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 30 Aug 2005 10:02:28 +0100 Subject: Scripting conference - How to work with files and folders In-Reply-To: <43132F0F.6040908@hyperactivesw.com> References: <43132F0F.6040908@hyperactivesw.com> Message-ID: > >Ken's scripting conference will be held at 1125763200 seconds. To >find your local date and time, put this into the message box: > > get 1125763200; convert it to system date and time;put it > You mean that people can't work it out straight from the seconds field! lol Take Care Dave From xbury.cs at clearstream.com Tue Aug 30 05:18:01 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 30 Aug 2005 11:18:01 +0200 Subject: problem waiting - spellchecker In-Reply-To: <2DC8C77B-C7CB-480C-BACF-CDDF00609E83@lacscentre.co.uk> Message-ID: im using 2.6... And it is missing the "condition"... cheers Xavier use-revolution-bounces at lists.runrev.com wrote on 30/08/2005 10:21:16: > > On 30 Aug 2005, at 08:18, xbury.cs at clearstream.com wrote: > > > Superb!!! > > > > Thanks all for your great help!!! > > > > We got a spellchecker almost working... > > > > The revDocs need help here!!! It sure wasn't clear at all... > > > > wait [for] number [seconds | ticks | milliseconds] [with messages] > > > > doesn't imply that you can add a condition to wait for! Only time... > > > > Where i was confused is that this looked like a > > > > read from socket IP with message "whatever" > > What version of Rev are you using? The current docs show these syntax > descriptions: > > wait {until | while} condition [with messages] > wait [for] number [seconds | ticks | milliseconds] [with messages] > wait for messages > > But I seem to remember in earlier versions that the "condition" > version wasn't listed. > > Cheers > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From ambassador at fourthworld.com Tue Aug 30 06:10:53 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 30 Aug 2005 03:10:53 -0700 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 In-Reply-To: <1125391729.8612.209.camel@rachmaninov> References: <1182245378.20050826093602@ahsoftware.net> <430F4CAC.1090305@hyperactivesw.com> <430F5D99.3020904@fourthworld.com> <1125391729.8612.209.camel@rachmaninov> Message-ID: <431430AD.9010803@fourthworld.com> Mark Waddingham wrote: >>But I fear for Mr. Waddingham when the citizens storm the Edinburgh >>offices with torches and pitchforks after discovering that the code >>style they've been using for years is no longer supported. ;) > > Odd... I don't recall saying that the short form of object tokens would > be eliminated, I was merely trying to subtlety suggest that they can > make things a tad unreadable ;o) 10,000 lines later it's not so bad. Besides, code is rarely read and more often skimmed, so in most cases (perhaps "sb" aside, but that wasn't my decision) it has minimal cognitive detriment, and possibly some benefit: symbols are symbols, all must be learned, and there's a few papers about the virtues of white space vs. noise.... but we digress. In short, my fingers like abbreviations, and my contractors like bonuses for using parallel style. :) FWIW, I adopted the style outlined at (which is rather like RunRev's own style in most respects) specifically to avoid unreadable things like the example in the subject line. It's possible to have lots of white space without sacrificing skimmability; I'd be surprised if anyone who ships commercial works actually codes like the example above. > It isn't an efficiency thing (the keywords are tokenised to internal > indices at the tokenisation phase - i.e. when you set the script) - it's > a stylistic thing and just like variable naming people are free to > choose. Damn. I was hoping you'd announce that now that all three platforms are running on Intel we're going to see full up-front compilation. :) > Indeed, in the future there might be a whole zoo of control types, and > in this case naming becomes incredibly important to avoid clashes. Of > course, the solution to this is allow the individual developer to alias > types to whatever one, two, three or more character handles that they > wish... Sounds good to me -- tommorrow afternoon, perhaps? :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From dburgun at dsl.pipex.com Tue Aug 30 06:26:12 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 30 Aug 2005 11:26:12 +0100 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 In-Reply-To: <1182245378.20050826093602@ahsoftware.net> References: <1182245378.20050826093602@ahsoftware.net> Message-ID: This sounds and looks just horrible! I vote to scrap the abbreviations and use the long forms! Should be easy enough to write a script to translate the short forms to the long forms, in fact the editor could change them dymanically as you type, thus getting the best of both worlds! Just my 1.8 Euro Cents worth! Cheers Dave > > > >A Modest Proposal: > >How about if we eliminate both and enforce just a single-character >typing convention for objects and numeric values only for object >identification? That way "field 3 of card 7" would come out to "f3c7" >for a minimum of typing. The engine's parser would, of course, >separate these into separate tokens "f 3 c 7" and be quite happy. >Developers would have to type just four characters and the code would >be much more readable because there's just one way to describe an >object instead of two. The engine's parser would also run faster >because it wouldn't have to discriminate between two different forms >of object description. > > > >p://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Tue Aug 30 06:45:11 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 30 Aug 2005 03:45:11 -0700 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 In-Reply-To: References: <1182245378.20050826093602@ahsoftware.net> Message-ID: <431438B7.4060405@fourthworld.com> David Burgun wrote: >> How about if we eliminate both and enforce just a single-character >> typing convention for objects and numeric values only for object >> identification? That way "field 3 of card 7" would come out to "f3c7" >> for a minimum of typing. The engine's parser would, of course, >> separate these into separate tokens "f 3 c 7" and be quite happy. >> Developers would have to type just four characters and the code would >> be much more readable because there's just one way to describe an >> object instead of two. The engine's parser would also run faster >> because it wouldn't have to discriminate between two different forms >> of object description. > > This sounds and looks just horrible! WTM? !comf w/abbr? (Translation: What's the matter? Not comfortable with abbreviations?") I'm with you: Transcript's existing abbreviations are about as sparse as I'd like to go. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From dburgun at dsl.pipex.com Tue Aug 30 07:00:19 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 30 Aug 2005 12:00:19 +0100 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 In-Reply-To: <431438B7.4060405@fourthworld.com> References: <1182245378.20050826093602@ahsoftware.net> <431438B7.4060405@fourthworld.com> Message-ID: >David Burgun wrote: > >>>How about if we eliminate both and enforce just a single-character >>>typing convention for objects and numeric values only for object >>>identification? That way "field 3 of card 7" would come out to "f3c7" >>>for a minimum of typing. The engine's parser would, of course, >>>separate these into separate tokens "f 3 c 7" and be quite happy. >>>Developers would have to type just four characters and the code would >>>be much more readable because there's just one way to describe an >>>object instead of two. The engine's parser would also run faster >>>because it wouldn't have to discriminate between two different forms >>>of object description. >> >>This sounds and looks just horrible! > >WTM? !comf w/abbr? > >(Translation: What's the matter? Not comfortable with abbreviations?") > >I'm with you: Transcript's existing abbreviations are about as >sparse as I'd like to go. Yes, I don't really care how they are stored in the script as long as the editor could expand them to the way the user wants to see them. I the "C/C++" language there are formatters that allow you to see the source code formatted to a particular style, something similar would be good in RunRev. But even if you had to type in the long form each time, the amount of time taken to type card or field instead of cd or fld is minimal, in fact, I reckon most people that are used to a keyboard would type the long forms more quickly. Also once you have cut/copy+paste it all becomes meaningless anyway. When I type a script, I'd say at least 70% of it is pasted and then edited from previous lines anyway. Take Care and All the Best Dave From alex at tweedly.net Tue Aug 30 07:31:27 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 30 Aug 2005 12:31:27 +0100 Subject: emacsKeyBindings In-Reply-To: <4313D280.30206@fourthworld.com> References: <4313D280.30206@fourthworld.com> Message-ID: <4314438F.3020002@tweedly.net> Richard Gaskin wrote: > I'm curious: How many of you use the emacsKeyBindings property, and > for what sorts of apps/audiences? > > I've thought about using it - mostly for apps targetted at me. But I ran into some problems the first time I tried, and never got back to it to try again (so I guess it's not that important to me :-). 1. In the IDE, there are clashes with the menu accelerators, so some key bindings won't work. (The docs say this - so not a surprise or even a complaint - just a limitation). I usually sit in the IDE, so that would impact my own use. 2. Can't figure out what key bindings are supposed to be supported. The docs say > (For a complete list of supported key bindings, see the Emacs Key > Bindings Reference.) but I can't find the "Emacs Key Binding Reference". It's listed in the "See also" list - but clicking on it doesn't do anything. 3. Not enough key bindings supported. Experimentation suggested that the number of key bindings supported wasn't as much as I would have hoped - so I gave up on it. In particular, neither of the standard keys for "undo" works, and the mark / cursor bindings don't appear to be supported either, so you can't copy/cut/paste properly. The big problem is that if you're a long term Emacs user, when you are "in emacs mode", you let your fingers take over the thinking and "stuff just happens" without conscious thought. So when you unthinkingly use an unsupported key combination, you are three or four keystrokes ahead before your eyes (and brain) catch up with the fact that the screen is wrong. And then you have to unwind the commands to figure out what went wrong - oh, oh - one of the unsupported keys bindings is "undo" !! So I don't use it , but I nearly did, and I'd like to some day .... And if I did it would be only for my own use. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005 From ambassador at fourthworld.com Tue Aug 30 07:32:45 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 30 Aug 2005 04:32:45 -0700 Subject: set rect of fld f1 of cd c1 of wd w1 to rect of fld f2 of cd c2 of wd w2 In-Reply-To: References: <1182245378.20050826093602@ahsoftware.net> <431438B7.4060405@fourthworld.com> Message-ID: <431443DD.9090806@fourthworld.com> David Burgun wrote: >> I'm with you: Transcript's existing abbreviations are about as sparse >> as I'd like to go. > > Yes, I don't really care how they are stored in the script as long as > the editor could expand them to the way the user wants to see them. I > the "C/C++" language there are formatters that allow you to see the > source code formatted to a particular style, something similar would be > good in RunRev. That's what started me down the road of making my own editor. I have yet to integrate it with even MetaCard's debugger, let alone Rev's, but debugging in the same thread that's running hasn't really been a great time even on the best of days. But oh, the joys of typing a couple characters and seeing whole blocks of code put into place.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From larsbrehmer at mac.com Tue Aug 30 07:35:10 2005 From: larsbrehmer at mac.com (Lars Brehmer) Date: Tue, 30 Aug 2005 14:35:10 +0300 Subject: question about mainStack scripts Message-ID: <746C0C76-9B31-4F96-BCF0-B4686C5970B5@mac.com> I have a problem with a preOpenCard handler in the stack script of the main stack of a huge project, that I never had before. I've totally redone a ton of things in the last 3 days, but I didn't think any of these changes would change the general working of it , yet something keeps cropping up that I haven't seen before don't understand. I have managed to fix it in almost every case but 2, which are kind of important. Maybe someone has the solution for me ;-) Here goes: In my main stack there is a preOpenCard handler. Now, every time one of my many subStacks is opened, the preOpenCard handler of the main stack tries to run, and since it involves objects unique to that stack, and the handler is trying to perform itself in the subStack, I get an error, something like "oject doesn't exist, " which is logical. In almost every case of this occurance, I solved it by putting a "lock messages" in the handler in question before the substack is opened. This works of course but when I just double click on a stack in the application browser to open it, the error of course still happens since messages are not locked. I can live with that, as long as the stanalone functions correctly. One problem though - some of the handlers in question call for a substack to be paletted, and just locking messages before the palette command doesn't prevent the error. This one I can't live with, because these substacks open as palettes in front of other stacks, and I don't the palette stack to disappear to the back when you click on one of the stacks behind it. Now, before I made the changes, the main stack had a preOpenCard handler, very much like the new one, and it never tried to run as other stacks were opened. Since my changes weren't all that drastic, I guess my question is - what is it about main stack scripts that I don't understand? Most of my subStacks have always had preOpenCard handlers in their stack scripts, and they have never tried to run at the wrong time. Only the main stack script does this. What is different about main stack scripts? And if the lock messages prevent it, why doesn't that work for a paletted substack? Help, as always, would be greatly appreciated! Cheers, Lars From ambassador at fourthworld.com Tue Aug 30 07:45:09 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 30 Aug 2005 04:45:09 -0700 Subject: question about mainStack scripts In-Reply-To: <746C0C76-9B31-4F96-BCF0-B4686C5970B5@mac.com> References: <746C0C76-9B31-4F96-BCF0-B4686C5970B5@mac.com> Message-ID: <431446C5.5050403@fourthworld.com> Lars Brehmer wrote: > In my main stack there is a preOpenCard handler. Now, every time one > of my many subStacks is opened, the preOpenCard handler of the main > stack tries to run, and since it involves objects unique to that stack, > and the handler is trying to perform itself in the subStack, I get an > error, something like "oject doesn't exist, " The script of the mainstack is accessible from all substacks, acting as a common repository of handlers, so what you're seeing is normal. Three ways to have your mainstack-specific scripts only triggered in the mainstack: - If the mainstack has only one card, consider putting the mainstack-specific scripts at the card-level. - If the mainstack has multiple card you might consider adding a shared group and putting its mainstack-specific stuff there. - You could also consider moving the mainstack and all of the substacks into a new mainstack which is kept fairly minimal; that way all of your stacks have their own discrete space, and you still have a mainstack to use as a central repository. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From eric.chatonet at sosmartsoftware.com Tue Aug 30 07:50:37 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 30 Aug 2005 13:50:37 +0200 Subject: question about mainStack scripts In-Reply-To: <746C0C76-9B31-4F96-BCF0-B4686C5970B5@mac.com> References: <746C0C76-9B31-4F96-BCF0-B4686C5970B5@mac.com> Message-ID: <9268FE9B-BD6D-485C-9D33-9F4655F4CF9F@sosmartsoftware.com> Hi Lars, Since the script of any main stack is inserted in the message path, you have many possibilities: 1. Put your code into the script of a card (handy when the main stack has one card only). 2. Use groups (variant of the above). 3. Act accordingly to the calling object in your main stack handlers: on preOpenstack if the long ID of me <> the long ID of this stack then pass preOpenstack end preOpenStack Use the same process for other system messages as openCard, closeStack, etc. Hope this helps. Le 30 ao?t 05 ? 13:35, Lars Brehmer a ?crit : > I have a problem with a preOpenCard handler in the stack script of > the main stack of a huge project, that I never had before. I've > totally redone a ton of things in the last 3 days, but I didn't > think any of these changes would change the general working of > it , yet something keeps cropping up that I haven't seen before > don't understand. I have managed to fix it in almost every case > but 2, which are kind of important. Maybe someone has the solution > for me ;-) > > Here goes: > > In my main stack there is a preOpenCard handler. Now, every time > one of my many subStacks is opened, the preOpenCard handler of the > main stack tries to run, and since it involves objects unique to > that stack, and the handler is trying to perform itself in the > subStack, I get an error, something like "oject doesn't exist, " > which is logical. In almost every case of this occurance, I solved > it by putting a "lock messages" in the handler in question before > the substack is opened. This works of course but when I just > double click on a stack in the application browser to open it, the > error of course still happens since messages are not locked. I can > live with that, as long as the stanalone functions correctly. One > problem though - some of the handlers in question call for a > substack to be paletted, and just locking messages before the > palette command doesn't prevent the error. This one I can't live > with, because these substacks open as palettes in front of other > stacks, and I don't the palette stack to disappear to the back when > you click on one of the stacks behind it. Now, before I made the > changes, the main stack had a preOpenCard handler, very much like > the new one, and it never tried to run as other stacks were > opened. Since my changes weren't all that drastic, I guess my > question is - what is it about main stack scripts that I don't > understand? Most of my subStacks have always had preOpenCard > handlers in their stack scripts, and they have never tried to run > at the wrong time. Only the main stack script does this. > What is different about main stack scripts? And if the lock > messages prevent it, why doesn't that work for a paletted substack? Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From revolution at duncansoftware.com Tue Aug 30 09:00:06 2005 From: revolution at duncansoftware.com (Revolution) Date: Tue, 30 Aug 2005 09:00:06 -0400 Subject: external Windows program running? References: <64878EF567131D4596246171F75FD4A99681E4@m-epo-1.epo.cdc.gov> Message-ID: <00be01c5ad62$bec292b0$0600a8c0@Dell8250> Thanks to all who have made suggestions for solving my problem but I don't see a solution yet. The actual problem is hiding the windows taskbar while a nonrev program is running. Rev handles the taskbar hiding quite well with the command "hide taskbar" which functions as long as rev is running. As soon as rev shuts down (or the standalone shuts down) the taskbar reappears. This means that rev must be running while the nonrev app is running in order to keep the taskbar hidden. When the nonrev program quits, I need to have rev quit. Both rev and the nonrev program are capable of launching apps, which leads to 2 approaches. 1. Use rev to launch the nonrev app and when the nonrev app completes, shut down rev. 2. Use the nonrev app to launch rev at the point where the taskbar needs to be hidden and shut rev down beyond that point. Solution 1. And now the complications start. The nonrev app has its own launcher which must be used. This launcher shuts down after it has the nonrev app started. The OpenProcess command won't work because the process that rev launched (the launcher) has shut down. So what I need is a method for rev to check if an app is running that it didn't start. Then I could periodically check to see if the app is running and when it quits, I could shut down my rev app. Further complication: This is all running from a CD on unknown systems which may have unknown protection schemes, so the neat trick of writing to a file and checking that file isn't going to work because my app may not have permission to write to a drive on the user's system. In summary: This method requires that rev have some method of checking if an app that it didn't start, is still running. Solution 2. I am not sure that this method is an improvement on Solution 1 because now I have the nonrev app somewhat more in control and if it was more sophisticated, this problem wouldn't exist. This certainly works well, when rev is called it hides the taskbar but when the nonrev app finishes I need to shut down rev or the users taskbar stays hidden. Thanks once again for your past help. Doug ----- Original Message ----- From: "Lynch, Jonathan" To: ; "How to use Revolution" Sent: Monday, August 29, 2005 2:15 PM Subject: RE: external Windows program running? You can also just check every now and then to see if the application is among the openprocesses. And Xavier, you can launch an app via shell command without it locking up - at least, Chipp's method so far has not locked up the Rev app for me. I would be happy to send it to you, if you wish. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX Sent: Monday, August 29, 2005 2:08 PM To: 'How to use Revolution' Subject: RE: external Windows program running? Doug, if you launch your pc application via shell, then when the user closes that application, rev just has to continue working... meanwhile while your app runs, rev is "blocked..." I find the behavior hideous but at least it does have ONE use... The other way is to check every now and then if the application quit via a shell("pstools! not exact syntax") from pstools or the like. you can find pstools at http://www.sysinternals.com then on Checkmyappisrunning if "myapp.exe" is not in getappsrunning() then -- do mything quit end if send "checkmyappisrunning" to me in 2 seconds end Checkmyappisrunning function getappsrunning return shell("plist" ) end getappsrunning cheers 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 > Revolution > Sent: Monday, August 29, 2005 19:37 > To: How to use Revolution > Subject: Re: external Windows program running? > > Launching isn't the problem. I need to know when the nonrev > program terminates. > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Revolution > Sent: Monday, August 29, 2005 11:36 AM > To: use-revolution at lists.runrev.com > Subject: external Windows program running? > > In general: > I am using revolution to launch a nonrevolution program. I > need to know > when > the user shuts down the nonrev program so that I can shut down rev. Is > there > a method of doing this? > > Details: > The nonrev program does not properly hide the Windows taskbar. I need > rev to > be running to keep the taskbar hidden, but I need to > automatically shut > rev > down when the user closes the nonrev program. > > The nonrev program is useless at sending and receiving messages but it > can > launch another program. I tried launching my rev windows taskbar hider > and > having the rev program close but as soon as rev closes, rev > "tidies" up > and > the taskbar reappears. > > Open to suggestions and thankful for them. > > Doug > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From rjb at robelko.com Tue Aug 30 08:31:37 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 30 Aug 2005 14:31:37 +0200 Subject: question about mainStack scripts In-Reply-To: <746C0C76-9B31-4F96-BCF0-B4686C5970B5@mac.com> References: <746C0C76-9B31-4F96-BCF0-B4686C5970B5@mac.com> Message-ID: >I have a problem with a preOpenCard handler in the stack script of >the main stack of a huge project, that I never had before. I've >totally redone a ton of things in the last 3 days, but I didn't >think any of these changes would change the general working of it , >yet something keeps cropping up that I haven't seen before don't >understand. I have managed to fix it in almost every case but 2, >which are kind of important. Maybe someone has the solution for me >;-) Lars, Your problem is caused by a feature of message passing: any message that is passed further from a substacks is sent to stack script of the mainstack. If each of your substacks has its own preopencard handler, then just do not pass that message and the one in the mainstack won't get called. Another way to handle that is for the handler in the mainstack to check whether the defaultstack is the mainstack and do nothing if it is not. If the preopencard handler is not required to be in the stack script of the mainstack, you could move it to card level. Alternatively, you could have a preopencard handler on each card of the mainstack calling a custom-named handler on the stack level, like mainPreopencard, for example. Robert From Roger.E.Eller at sealedair.com Tue Aug 30 09:08:01 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Tue, 30 Aug 2005 09:08:01 -0400 Subject: Magnifying a shrunken image --- without using imageData Message-ID: I have an image that is larger than the screenRect. I scale it to fit the window. Now I want to magnify a portion (100x100 pixels) in another image object. The problem is that if I put the text of (a portion of the imageData) into the magnified image, it is VERY pixelized. I need to access the original full resolution image for the magnified area. How can I accomplish this without using an external? Thanks for any suggestions. Roger Eller From alex at tweedly.net Tue Aug 30 09:26:46 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 30 Aug 2005 14:26:46 +0100 Subject: external Windows program running? In-Reply-To: <00be01c5ad62$bec292b0$0600a8c0@Dell8250> References: <64878EF567131D4596246171F75FD4A99681E4@m-epo-1.epo.cdc.gov> <00be01c5ad62$bec292b0$0600a8c0@Dell8250> Message-ID: <43145E96.3010909@tweedly.net> Revolution wrote: >Thanks to all who have made suggestions for solving my problem but I don't >see a solution yet. > >The actual problem is hiding the windows taskbar while a nonrev program is >running. Rev handles the taskbar hiding quite well with the command "hide >taskbar" which functions as long as rev is running. As soon as rev shuts >down (or the standalone shuts down) the taskbar reappears. This means that >rev must be running while the nonrev app is running in order to keep the >taskbar hidden. When the nonrev program quits, I need to have rev quit. Both >rev and the nonrev program are capable of launching apps, which leads to 2 >approaches. > >1. Use rev to launch the nonrev app and when the nonrev app completes, shut >down rev. > >2. Use the nonrev app to launch rev at the point where the taskbar needs to >be hidden and shut rev down beyond that point. > >Solution 1. >And now the complications start. The nonrev app has its own launcher which >must be used. This launcher shuts down after it has the nonrev app started. >The OpenProcess command won't work because the process that rev launched >(the launcher) has shut down. So what I need is a method for rev to check if >an app is running that it didn't start. Then I could periodically check to >see if the app is running and when it quits, I could shut down my rev app. >Further complication: This is all running from a CD on unknown systems which >may have unknown protection schemes, so the neat trick of writing to a file >and checking that file isn't going to work because my app may not have >permission to write to a drive on the user's system. >In summary: This method requires that rev have some method of checking if an >app that it didn't start, is still running. > >Solution 2. >I am not sure that this method is an improvement on Solution 1 because now I >have the nonrev app somewhat more in control and if it was more >sophisticated, this problem wouldn't exist. This certainly works well, when >rev is called it hides the taskbar but when the nonrev app finishes I need >to shut down rev or the users taskbar stays hidden. > > > I've only loosely followed the whole thread - so don't know if this will work or not .... Solution 3. A sandwich made with "rev standalone"s. a. Rev Standalone A starts running. b. it starts the other launcher (App B) c. Rev Standalone A then listens on some TCP/UDP port (say 8765) meanwhile d. The launcher runs, and starts up App B. e. App B runs. When it's almost done, it start up another app (Rev Standalone C) and then exits f. Rev standalone C open a socket to 8765, sends a suitable message to it and then exits. ...... g. Rev Standalone A gets a message on the port it's listening on, verifies it, and then exits. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.16/83 - Release Date: 26/08/2005 From bnz2 at cdc.gov Tue Aug 30 09:30:03 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Tue, 30 Aug 2005 09:30:03 -0400 Subject: external Windows program running? Message-ID: <64878EF567131D4596246171F75FD4A9744632@m-epo-1.epo.cdc.gov> You can also use ports to communcate between applications. I have done it, so I know it works - but it will be a bit of work to figure out the details. Basically, the app that was not opened by Rev needs to send a message to rev (through a port) when it is done doing what it needs to do. The message should contain its process name. Then, when rev gets that name, it kills the process. Do you have control over the programming in either of the two non-rev programs? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Revolution Sent: Tuesday, August 30, 2005 9:00 AM To: How to use Revolution Subject: Re: external Windows program running? Thanks to all who have made suggestions for solving my problem but I don't see a solution yet. The actual problem is hiding the windows taskbar while a nonrev program is running. Rev handles the taskbar hiding quite well with the command "hide taskbar" which functions as long as rev is running. As soon as rev shuts down (or the standalone shuts down) the taskbar reappears. This means that rev must be running while the nonrev app is running in order to keep the taskbar hidden. When the nonrev program quits, I need to have rev quit. Both rev and the nonrev program are capable of launching apps, which leads to 2 approaches. 1. Use rev to launch the nonrev app and when the nonrev app completes, shut down rev. 2. Use the nonrev app to launch rev at the point where the taskbar needs to be hidden and shut rev down beyond that point. Solution 1. And now the complications start. The nonrev app has its own launcher which must be used. This launcher shuts down after it has the nonrev app started. The OpenProcess command won't work because the process that rev launched (the launcher) has shut down. So what I need is a method for rev to check if an app is running that it didn't start. Then I could periodically check to see if the app is running and when it quits, I could shut down my rev app. Further complication: This is all running from a CD on unknown systems which may have unknown protection schemes, so the neat trick of writing to a file and checking that file isn't going to work because my app may not have permission to write to a drive on the user's system. In summary: This method requires that rev have some method of checking if an app that it didn't start, is still running. Solution 2. I am not sure that this method is an improvement on Solution 1 because now I have the nonrev app somewhat more in control and if it was more sophisticated, this problem wouldn't exist. This certainly works well, when rev is called it hides the taskbar but when the nonrev app finishes I need to shut down rev or the users taskbar stays hidden. Thanks once again for your past help. Doug ----- Original Message ----- From: "Lynch, Jonathan" To: ; "How to use Revolution" Sent: Monday, August 29, 2005 2:15 PM Subject: RE: external Windows program running? You can also just check every now and then to see if the application is among the openprocesses. And Xavier, you can launch an app via shell command without it locking up - at least, Chipp's method so far has not locked up the Rev app for me. I would be happy to send it to you, if you wish. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX Sent: Monday, August 29, 2005 2:08 PM To: 'How to use Revolution' Subject: RE: external Windows program running? Doug, if you launch your pc application via shell, then when the user closes that application, rev just has to continue working... meanwhile while your app runs, rev is "blocked..." I find the behavior hideous but at least it does have ONE use... The other way is to check every now and then if the application quit via a shell("pstools! not exact syntax") from pstools or the like. you can find pstools at http://www.sysinternals.com then on Checkmyappisrunning if "myapp.exe" is not in getappsrunning() then -- do mything quit end if send "checkmyappisrunning" to me in 2 seconds end Checkmyappisrunning function getappsrunning return shell("plist" ) end getappsrunning cheers 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 > Revolution > Sent: Monday, August 29, 2005 19:37 > To: How to use Revolution > Subject: Re: external Windows program running? > > Launching isn't the problem. I need to know when the nonrev > program terminates. > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Revolution > Sent: Monday, August 29, 2005 11:36 AM > To: use-revolution at lists.runrev.com > Subject: external Windows program running? > > In general: > I am using revolution to launch a nonrevolution program. I > need to know > when > the user shuts down the nonrev program so that I can shut down rev. Is > there > a method of doing this? > > Details: > The nonrev program does not properly hide the Windows taskbar. I need > rev to > be running to keep the taskbar hidden, but I need to > automatically shut > rev > down when the user closes the nonrev program. > > The nonrev program is useless at sending and receiving messages but it > can > launch another program. I tried launching my rev windows taskbar hider > and > having the rev program close but as soon as rev closes, rev > "tidies" up > and > the taskbar reappears. > > Open to suggestions and thankful for them. > > Doug > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From xbury.cs at clearstream.com Tue Aug 30 09:33:42 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 30 Aug 2005 15:33:42 +0200 Subject: external Windows program running? In-Reply-To: <00be01c5ad62$bec292b0$0600a8c0@Dell8250> Message-ID: > ----- Original Message ----- > From: "Lynch, Jonathan" > You can also just check every now and then to see if the application is > among the openprocesses. > > And Xavier, you can launch an app via shell command without it locking > up - at least, Chipp's method so far has not locked up the Rev app for > me. I would be happy to send it to you, if you wish. I know the method, i use since 5 years... shell("start" && myapp) I do these all the time at work... But the shell without the "start" seemed to be what you wanted... Thanks ;) 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 dburgun at dsl.pipex.com Tue Aug 30 09:48:50 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 30 Aug 2005 14:48:50 +0100 Subject: Magnifying a shrunken image --- without using imageData In-Reply-To: References: Message-ID: Hi, I have written an external to do just this, but I think you could do it like this (untested): 1. Get the Dimensions of the Orignal Image. I think that: put formattedWidth of image x into myOriginalWidth put formattedHeight of image x into myOriginalHeight On the image object you have already loaded should do the trick. 2. Create a new image object that is the same size as the orignal but make it invisible. 3. Set the Filename of this new Image to point to the original image file: set the filename of image NewImage to xxxxxxxxx As I said I haven't tested this, but from my playing around I think it should work ok. Hope this helps All the Best Dave >I have an image that is larger than the screenRect. I scale it to fit the >window. Now I want to magnify a portion (100x100 pixels) in another image >object. > >The problem is that if I put the text of (a portion of the imageData) into >the magnified image, it is VERY pixelized. I need to access the original >full resolution image for the magnified area. > >How can I accomplish this without using an external? Thanks for any >suggestions. > >Roger Eller > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Tue Aug 30 10:24:24 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 30 Aug 2005 16:24:24 +0200 Subject: Magnifying a shrunken image --- without using imageData In-Reply-To: Message-ID: <20050830140536.8A382824FBD@mail.runrev.com> Roger, clone the image, then use the crop command. Then you can zoom it... that should do the trick... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Roger.E.Eller at sealedair.com > Sent: Tuesday, August 30, 2005 15:08 > To: How to use Revolution > Subject: Magnifying a shrunken image --- without using imageData > > I have an image that is larger than the screenRect. I scale > it to fit the window. Now I want to magnify a portion > (100x100 pixels) in another image object. > > The problem is that if I put the text of (a portion of the > imageData) into the magnified image, it is VERY pixelized. I > need to access the original full resolution image for the > magnified area. > > How can I accomplish this without using an external? Thanks > for any suggestions. > > Roger Eller > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bnz2 at cdc.gov Tue Aug 30 10:36:10 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Tue, 30 Aug 2005 10:36:10 -0400 Subject: Magnifying a shrunken image --- without using imageData Message-ID: <64878EF567131D4596246171F75FD4A99681EF@m-epo-1.epo.cdc.gov> Expanding on Xavier's idea - you could also copy the image into a group. The group would need to have its locklocation set to true, and have vertical and horizontal scrollbars. After you copy the image, set its width and height to whatever magnification you want. The only parts visible will be inside the group, and you can use the scrollbars to move around to different parts of the image. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX Sent: Tuesday, August 30, 2005 10:24 AM To: 'How to use Revolution' Subject: RE: Magnifying a shrunken image --- without using imageData Roger, clone the image, then use the crop command. Then you can zoom it... that should do the trick... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Roger.E.Eller at sealedair.com > Sent: Tuesday, August 30, 2005 15:08 > To: How to use Revolution > Subject: Magnifying a shrunken image --- without using imageData > > I have an image that is larger than the screenRect. I scale > it to fit the window. Now I want to magnify a portion > (100x100 pixels) in another image object. > > The problem is that if I put the text of (a portion of the > imageData) into the magnified image, it is VERY pixelized. I > need to access the original full resolution image for the > magnified area. > > How can I accomplish this without using an external? Thanks > for any suggestions. > > Roger Eller > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From dburgun at dsl.pipex.com Tue Aug 30 10:43:38 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 30 Aug 2005 15:43:38 +0100 Subject: Magnifying a shrunken image --- without using imageData In-Reply-To: <64878EF567131D4596246171F75FD4A99681EF@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A99681EF@m-epo-1.epo.cdc.gov> Message-ID: Hi, I think the problem is that it will still be very pixelated, it was when I was trying to do something similar. I came to the conclusion that the only way to do this properly was to work from the original image and scale everything to suit. It works great using my external, but I think it should work for what Roger wants using the technique I described earlier. All the Best Dave >Expanding on Xavier's idea - you could also copy the image into a group. > >The group would need to have its locklocation set to true, and have >vertical and horizontal scrollbars. > >After you copy the image, set its width and height to whatever >magnification you want. The only parts visible will be inside the group, >and you can use the scrollbars to move around to different parts of the >image. > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX >Sent: Tuesday, August 30, 2005 10:24 AM >To: 'How to use Revolution' >Subject: RE: Magnifying a shrunken image --- without using imageData > >Roger, > >clone the image, then use the crop command. Then you can zoom it... > >that should do the trick... > >cheers >Xavier > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> Roger.E.Eller at sealedair.com >> Sent: Tuesday, August 30, 2005 15:08 >> To: How to use Revolution >> Subject: Magnifying a shrunken image --- without using imageData >> >> I have an image that is larger than the screenRect. I scale >> it to fit the window. Now I want to magnify a portion >> (100x100 pixels) in another image object. >> >> The problem is that if I put the text of (a portion of the >> imageData) into the magnified image, it is VERY pixelized. I >> need to access the original full resolution image for the >> magnified area. >> >> How can I accomplish this without using an external? Thanks >> for any suggestions. >> >> Roger Eller >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage >> your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From bnz2 at cdc.gov Tue Aug 30 11:26:43 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Tue, 30 Aug 2005 11:26:43 -0400 Subject: Magnifying a shrunken image --- without using imageData Message-ID: <64878EF567131D4596246171F75FD4A99681F2@m-epo-1.epo.cdc.gov> I tried it - works fine. The original imagedata is contained in the copied image - so no problem with pixil loss. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of David Burgun Sent: Tuesday, August 30, 2005 10:44 AM To: How to use Revolution Subject: RE: Magnifying a shrunken image --- without using imageData Hi, I think the problem is that it will still be very pixelated, it was when I was trying to do something similar. I came to the conclusion that the only way to do this properly was to work from the original image and scale everything to suit. It works great using my external, but I think it should work for what Roger wants using the technique I described earlier. All the Best Dave >Expanding on Xavier's idea - you could also copy the image into a group. > >The group would need to have its locklocation set to true, and have >vertical and horizontal scrollbars. > >After you copy the image, set its width and height to whatever >magnification you want. The only parts visible will be inside the group, >and you can use the scrollbars to move around to different parts of the >image. > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX >Sent: Tuesday, August 30, 2005 10:24 AM >To: 'How to use Revolution' >Subject: RE: Magnifying a shrunken image --- without using imageData > >Roger, > >clone the image, then use the crop command. Then you can zoom it... > >that should do the trick... > >cheers >Xavier > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> Roger.E.Eller at sealedair.com >> Sent: Tuesday, August 30, 2005 15:08 >> To: How to use Revolution >> Subject: Magnifying a shrunken image --- without using imageData >> >> I have an image that is larger than the screenRect. I scale >> it to fit the window. Now I want to magnify a portion >> (100x100 pixels) in another image object. >> >> The problem is that if I put the text of (a portion of the >> imageData) into the magnified image, it is VERY pixelized. I >> need to access the original full resolution image for the >> magnified area. >> >> How can I accomplish this without using an external? Thanks >> for any suggestions. >> >> Roger Eller >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage >> your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From joel.guillod at net2000.ch Tue Aug 30 12:39:55 2005 From: joel.guillod at net2000.ch (Joel Guillod) Date: Tue, 30 Aug 2005 18:39:55 +0200 Subject: Magnifying a shrunken image --- without using imageData In-Reply-To: <20050830150955.2B0D3824F88@mail.runrev.com> References: <20050830150955.2B0D3824F88@mail.runrev.com> Message-ID: Roger, There is a simple solution which is to have a group containing an image. The lockloc of this group should be true, then you dimension the image according to the scale you choose and you set the image location according to the rect of the image you want to display. The container group is performing like a window but you have to set the loc of the image for the portion you want to see. Bonus: You can download my sample stack "imedMagnifier" in the Rev Online user "imed" category "utility". This is a beta version! Enjoy! Joel G - www.imed.ch > From: Roger.E.Eller at sealedair.com > > I have an image that is larger than the screenRect. I scale it to > fit the > window. Now I want to magnify a portion (100x100 pixels) in another > image > object. > > The problem is that if I put the text of (a portion of the > imageData) into > the magnified image, it is VERY pixelized. I need to access the > original > full resolution image for the magnified area. > > How can I accomplish this without using an external? Thanks for any > suggestions. > > Roger Eller > From todd at geistinteractive.com Thu Aug 25 20:25:58 2005 From: todd at geistinteractive.com (Todd Geist) Date: Thu, 25 Aug 2005 17:25:58 -0700 Subject: Running Stand-alone as a service or hidden Message-ID: Hello, I thought I remember hearing that you can run a Rev app in the background or as a service or "hidden". I just don't want the users to see anything when it is running. Isn't this possible? How does one go about it? Thanks Todd -- Todd Geist ______________________________________ G e i s t i n t e r a c t i v e From devinasay at gmail.com Fri Aug 26 10:59:18 2005 From: devinasay at gmail.com (Devin Asay) Date: Fri, 26 Aug 2005 08:59:18 -0600 Subject: Transparent Images In-Reply-To: <000001c5aa49$2f267070$0201010a@proherps56yaxv> References: <000001c5aa49$2f267070$0201010a@proherps56yaxv> Message-ID: <01B4EB28-2AB3-49DA-AD39-581CDE23BBB1@byu.edu> If you're on Mac OS X or Classic there's also a little-known way of using the Paint Tools paint bucket tool to fill an area with "transparent color". Just press the Command key while using the paint bucket. Don't know if there is an equivalent on Windows, since there is no Command key. (Control-paint bucket does something different.) Devin On Aug 26, 2005, at 8:19 AM, Scott Kane wrote: > Hi Malte > > >> Hi Scott, the best way is to import images that have an alpha >> channel. >> e.g. png or .gif files. I prefer png files, as gif has many >> disadvantages. You might be interested in this small tutorial: >> > > Thanks for this I'll check it out in the morning > (it's 12:18 am Saturday here). :-) > > Scott > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From todd at geistinteractive.com Sat Aug 27 17:16:22 2005 From: todd at geistinteractive.com (Todd Geist) Date: Sat, 27 Aug 2005 14:16:22 -0700 Subject: Really cool WindowShapes X-plat Message-ID: Hello, Does anybody have a REALLY cool mask I could use for a demo of window shapes. I am presenting to a couple hundred FM pro users and I want to show custom window shapes. I am not a graphic artist and what I do will look like crap. So I am hoping somebody out there can help. Full credit and attribution to the creator of course! Thanks Todd -- Todd Geist ______________________________________ G e i s t i n t e r a c t i v e From Camm29 at tesco.net Sun Aug 28 13:44:55 2005 From: Camm29 at tesco.net (Camm29) Date: Sun, 28 Aug 2005 18:44:55 +0100 Subject: Missing Data Message-ID: <000801c5abf8$361c7180$0a01a8c0@mobile1> Help ! I'm using Open file "COM1:" read from file until empty put it into Received Close file "COM1:" If the hardware i'm talking to on RS232 is set to echo sent commands it works fine and i get all the data. If i set the hardware not to echo sent commands then most of the data is missing ? example. if i send "ATZ" to the Hardware with echo on i receive ATZ HELLO > if i send "ATZ" to the Hardware with echo off i receive > Help , the data is there but goes missing in Revolution. From JimAultWins at yahoo.com Tue Aug 30 13:12:00 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 30 Aug 2005 10:12:00 -0700 Subject: AltBrowser question In-Reply-To: <20050829235702.2508.qmail@web33002.mail.mud.yahoo.com> Message-ID: I am using AltBrowser by Altuit (Chipp Walters, Chris Bohnert), a really amazing Rev stack/tools. [ http://www.altuit.com ] Situation - browser image will show a java applet window for data entry that relies solely on button clicks, except for password. Unfortunately, this applet is the only way to access the online database service I am subscribed to. Goal - compile a cross platform app for Win & OSX that will deliver mouse clicks from keyboard actions by user, therefore achieving speed and accuracy and reducing carpel tunnel. Problem - Using Rev "click at x, y" does not deliver a click to the browser image on the Rev card, as I had hoped. This seems to be true from the message box as well as a script, both platforms. [example: Google Search button does not trigger] Is there a way to get such a 'mouse click' to a specific x,y on the XBROWSER object? Win & OSX? -1- one solution is to use Rev to call an applescript that triggers a QuicKey macro (already made a couple of these), however this is rather intricate and the clicks need to be more rapid (closer together) Thanks for your help Jim Ault Las Vegas From soapdog at mac.com Tue Aug 30 13:25:46 2005 From: soapdog at mac.com (Andre Garzia) Date: Tue, 30 Aug 2005 14:25:46 -0300 Subject: Running Stand-alone as a service or hidden In-Reply-To: References: Message-ID: <20A56DF4-ED21-4760-8889-B169B6A909F3@mac.com> On Aug 25, 2005, at 9:25 PM, Todd Geist wrote: > Hello, > > I thought I remember hearing that you can run a Rev app in the > background or > as a service or "hidden". I just don't want the users to see > anything when > it is running. > > Isn't this possible? How does one go about it? > > Thanks > > Todd Todd, poor man solution, move it offscreen. like setting it to negative coordinates... cheers andre > > > -- > > Todd Geist > ______________________________________ > G e i s t i n t e r a c t i v e > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dburgun at dsl.pipex.com Tue Aug 30 14:05:57 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 30 Aug 2005 19:05:57 +0100 Subject: Magnifying a shrunken image --- without using imageData In-Reply-To: <64878EF567131D4596246171F75FD4A99681F2@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A99681F2@m-epo-1.epo.cdc.gov> Message-ID: Hi, Well maybe I misunderstand the problem then! In my case I have images that are around 1500 x 500 pixels in size. I show a preview of this in a seperate image which is scalled so the width is 250 pixels and the height adjusts depending on the aspect ratio. From re-reading the original post, Roger wants to take a portion of the smaller preview image and scale it up. If you scale from the preview, then a lot of data has already been lost, so he wants to get the data from the original image, scalled from the the preview. If you take the data from the preview and then scale it, it will become pixelated, the extent of this pixelation will obviously depend on the size of the original and the size of the preview. In my case the loss was just too great, and anyway, it's still much better to scale from the original if you are looking for the best quality. All the Best Dave >I tried it - works fine. The original imagedata is contained in the >copied image - so no problem with pixil loss. > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of David >Burgun >Sent: Tuesday, August 30, 2005 10:44 AM >To: How to use Revolution >Subject: RE: Magnifying a shrunken image --- without using imageData > >Hi, > >I think the problem is that it will still be very pixelated, it was >when I was trying to do something similar. I came to the conclusion >that the only way to do this properly was to work from the original >image and scale everything to suit. It works great using my external, >but I think it should work for what Roger wants using the technique I >described earlier. > >All the Best >Dave > >>Expanding on Xavier's idea - you could also copy the image into a >group. >> >>The group would need to have its locklocation set to true, and have >>vertical and horizontal scrollbars. >> >>After you copy the image, set its width and height to whatever >>magnification you want. The only parts visible will be inside the >group, >>and you can use the scrollbars to move around to different parts of the >>image. >> >>-----Original Message----- >>From: use-revolution-bounces at lists.runrev.com >>[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX >>Sent: Tuesday, August 30, 2005 10:24 AM >>To: 'How to use Revolution' >>Subject: RE: Magnifying a shrunken image --- without using imageData >> >>Roger, >> >>clone the image, then use the crop command. Then you can zoom it... >> >>that should do the trick... >> >>cheers >>Xavier >> >>> -----Original Message----- >>> From: use-revolution-bounces at lists.runrev.com >>> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >>> Roger.E.Eller at sealedair.com >>> Sent: Tuesday, August 30, 2005 15:08 >>> To: How to use Revolution >>> Subject: Magnifying a shrunken image --- without using imageData >>> >>> I have an image that is larger than the screenRect. I scale >>> it to fit the window. Now I want to magnify a portion >>> (100x100 pixels) in another image object. >>> >>> The problem is that if I put the text of (a portion of the >>> imageData) into the magnified image, it is VERY pixelized. I >>> need to access the original full resolution image for the >>> magnified area. >>> >>> How can I accomplish this without using an external? Thanks >>> for any suggestions. >>> > >> Roger Eller From bnz2 at cdc.gov Tue Aug 30 14:11:09 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Tue, 30 Aug 2005 14:11:09 -0400 Subject: Magnifying a shrunken image --- without using imageData Message-ID: <64878EF567131D4596246171F75FD4A9744636@m-epo-1.epo.cdc.gov> You can take a full size image, change its size, and set its locklocation to true. This image will be small on screen, but will contain its original imagedata. You can do just like you suggested - setting its width to its formattedwidth, and its height to its formattedheight, to reset the image to its original size without pixil loss. Now, if you change/edit the image while it is in a small size then its imagedata will change. I am basically doing mostly what you suggested to begin with - working from the original image data. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of David Burgun Sent: Tuesday, August 30, 2005 2:06 PM To: How to use Revolution Subject: RE: Magnifying a shrunken image --- without using imageData Hi, Well maybe I misunderstand the problem then! In my case I have images that are around 1500 x 500 pixels in size. I show a preview of this in a seperate image which is scalled so the width is 250 pixels and the height adjusts depending on the aspect ratio. From re-reading the original post, Roger wants to take a portion of the smaller preview image and scale it up. If you scale from the preview, then a lot of data has already been lost, so he wants to get the data from the original image, scalled from the the preview. If you take the data from the preview and then scale it, it will become pixelated, the extent of this pixelation will obviously depend on the size of the original and the size of the preview. In my case the loss was just too great, and anyway, it's still much better to scale from the original if you are looking for the best quality. All the Best Dave >I tried it - works fine. The original imagedata is contained in the >copied image - so no problem with pixil loss. > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of David >Burgun >Sent: Tuesday, August 30, 2005 10:44 AM >To: How to use Revolution >Subject: RE: Magnifying a shrunken image --- without using imageData > >Hi, > >I think the problem is that it will still be very pixelated, it was >when I was trying to do something similar. I came to the conclusion >that the only way to do this properly was to work from the original >image and scale everything to suit. It works great using my external, >but I think it should work for what Roger wants using the technique I >described earlier. > >All the Best >Dave > >>Expanding on Xavier's idea - you could also copy the image into a >group. >> >>The group would need to have its locklocation set to true, and have >>vertical and horizontal scrollbars. >> >>After you copy the image, set its width and height to whatever >>magnification you want. The only parts visible will be inside the >group, >>and you can use the scrollbars to move around to different parts of the >>image. >> >>-----Original Message----- >>From: use-revolution-bounces at lists.runrev.com >>[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX >>Sent: Tuesday, August 30, 2005 10:24 AM >>To: 'How to use Revolution' >>Subject: RE: Magnifying a shrunken image --- without using imageData >> >>Roger, >> >>clone the image, then use the crop command. Then you can zoom it... >> >>that should do the trick... >> >>cheers >>Xavier >> >>> -----Original Message----- >>> From: use-revolution-bounces at lists.runrev.com >>> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >>> Roger.E.Eller at sealedair.com >>> Sent: Tuesday, August 30, 2005 15:08 >>> To: How to use Revolution >>> Subject: Magnifying a shrunken image --- without using imageData >>> >>> I have an image that is larger than the screenRect. I scale >>> it to fit the window. Now I want to magnify a portion >>> (100x100 pixels) in another image object. >>> >>> The problem is that if I put the text of (a portion of the >>> imageData) into the magnified image, it is VERY pixelized. I >>> need to access the original full resolution image for the >>> magnified area. >>> >>> How can I accomplish this without using an external? Thanks >>> for any suggestions. >>> > >> Roger Eller _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From Roger.E.Eller at sealedair.com Tue Aug 30 14:25:13 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Tue, 30 Aug 2005 14:25:13 -0400 Subject: Magnifying a shrunken image --- without using imageData Message-ID: Dave, I have been working on the problem since you posted your first suggestion, and you were exactly right. Now I am trying to work out the position correlation between the scaled image and the full size image in a window. Your method maintains the original quality like I want it to. Thanks. Roger Eller > Hi, > > Well maybe I misunderstand the problem then! > > In my case I have images that are around 1500 x 500 pixels in size. > I show a preview of this in a separate image which is scaled so the > width is 250 pixels and the height adjusts depending on the aspect > ratio. From re-reading the original post, Roger wants to take a > portion of the smaller preview image and scale it up. If you scale > from the preview, then a lot of data has already been lost, so he > wants to get the data from the original image, scaled from the > preview. If you take the data from the preview and then scale it, it > will become pixilated, the extent of this pixelation will obviously > depend on the size of the original and the size of the preview. In my > case the loss was just too great, and anyway, it's still much better > to scale from the original if you are looking for the best quality. > > All the Best > Dave > > >>I tried it - works fine. The original imagedata is contained in the >>copied image - so no problem with pixel loss. From Roger.E.Eller at sealedair.com Tue Aug 30 17:35:47 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Tue, 30 Aug 2005 17:35:47 -0400 Subject: Magnifying a shrunken image --- without using imageData Message-ID: Many thanks to Jonathan, Dave, Joel, and MisterX! Your advice and coding expertise has resulted in a solution that I am very pleased with. Special thanks to Jonathan for straightening out my math. ;-) Roger Eller From sarahr at genesearch.com.au Tue Aug 30 18:55:28 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 31 Aug 2005 08:55:28 +1000 Subject: question about mainStack scripts In-Reply-To: <431446C5.5050403@fourthworld.com> References: <746C0C76-9B31-4F96-BCF0-B4686C5970B5@mac.com> <431446C5.5050403@fourthworld.com> Message-ID: <20559BAF-A009-4336-8273-CADC8FEC1D3C@genesearch.com.au> >> In my main stack there is a preOpenCard handler. Now, every time >> one of my many subStacks is opened, the preOpenCard handler of >> the main stack tries to run, and since it involves objects unique >> to that stack, and the handler is trying to perform itself in the >> subStack, I get an error, something like "oject doesn't exist, " >> > > The script of the mainstack is accessible from all substacks, > acting as a common repository of handlers, so what you're seeing > is normal. > > Three ways to have your mainstack-specific scripts only triggered > in the mainstack: > > - If the mainstack has only one card, consider putting the > mainstack-specific scripts at the card-level. > > - If the mainstack has multiple card you might consider adding a > shared group and putting its mainstack-specific stuff there. > > - You could also consider moving the mainstack and all of the > substacks into a new mainstack which is kept fairly minimal; that > way all of your stacks have their own discrete space, and you still > have a mainstack to use as a central repository. and two more ways :-) - as Eric suggests, have a check in the preOpenStack handler to make sure you are using the correct stack. - have preOpenStack handlers in all your substacks (they can be empty if you don't need to do anything), and don't "pass" them. That will trap the preOpenStack handler message and stop it passing up the hierarchy to the mainStack. Cheers, Sarah From sarahr at genesearch.com.au Tue Aug 30 19:00:36 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 31 Aug 2005 09:00:36 +1000 Subject: Missing Data In-Reply-To: <000801c5abf8$361c7180$0a01a8c0@mobile1> References: <000801c5abf8$361c7180$0a01a8c0@mobile1> Message-ID: <92DB6C73-4976-4FF5-8636-0C27C765CB61@genesearch.com.au> > I'm using > > Open file "COM1:" > read from file until empty > put it into Received > Close file "COM1:" > > If the hardware i'm talking to on RS232 is set to echo sent > commands it works fine and i get all the data. > > If i set the hardware not to echo sent commands then most of the > data is missing ? You might like to try my Serial Test stack available at: . It handles this sort of stuff for you, opening a port, writing to it, then repeatedly reading from the port to catch any incoming data. HTH, Sarah From xbury.cs at clearstream.com Wed Aug 31 05:41:55 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 31 Aug 2005 11:41:55 +0200 Subject: Interesting article for open source code In-Reply-To: Message-ID: Hi everyone, This could help more than one person... http://www.theregister.co.uk/2005/08/31/koders_shareware_search_engine/ enjoy 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 rp011s7075 at blueyonder.co.uk Wed Aug 31 05:59:02 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Wed, 31 Aug 2005 10:59:02 +0100 Subject: OT-IT--Apples Pages outputs CSS Message-ID: <75055A0E-4E6D-4D55-8C02-529FB587E0A8@blueyonder.co.uk> Hi Tom, If you want to explore CSS a bit more in topic, have a look at the stack "HTML exporter", in the education gallery: (right under tools and plugins, in the last third of the page) It exports the content of a stack into HTML (for the content)+CSS (for the style) Marielle > Completely off-topic but... > I've been investigating cascading style sheets and noticed that on > the surface, a lot of css sites resembled Pages templates. I > exported a Pages file to html and looked at it. Sure enough it used > css. > > It might be a good way to start using css. I haven't checked > KeyNote, yet. > FWIW > tom > _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From rp011s7075 at blueyonder.co.uk Wed Aug 31 06:17:10 2005 From: rp011s7075 at blueyonder.co.uk (Marielle Lange) Date: Wed, 31 Aug 2005 11:17:10 +0100 Subject: Really cool WindowShapes X-plat Message-ID: <02B1C644-62A4-40F5-AD70-29CB1CA49F15@blueyonder.co.uk> Hi Todd, Coolest ones are by Scott Rossi. And the recent american flag. Something more "approachable", the teacher manual: (middle of the page) I have the photoshop file for that one, free to share if you like (quite easy... color + drop shadow and that's it, didn't take more than an hour to create). Even if you are not a graphic designer, I guarantee you can do something similar in less than an hour. Buy a book in the collection"photoshop down & dirty tricks" or "WOW photoshop", and you only need to follow the step by step instruction to produce something rather cool (I mean for the amateur category). Alternatively, if you are ready to spend a bit more time looking for cool tricks, you have a few photoshop or gimp (freeware concurrent) tutorials at: (should be in one-line) Regards, Marielle > Hello, > > Does anybody have a REALLY cool mask I could use for a demo of window > shapes. I am presenting to a couple hundred FM pro users and I > want to show > custom window shapes. I am not a graphic artist and what I do will > look > like crap. So I am hoping somebody out there can help. > > Full credit and attribution to the creator of course! > > Thanks > > Todd -------------------------------------------------- Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Homepage: http://homepages.inf.ed.ac.uk/mlange/ Lexicall project: http://lexicall.org Revolution-education project: http://revolution.lexicall.org From larsbrehmer at mac.com Wed Aug 31 07:58:42 2005 From: larsbrehmer at mac.com (Lars Brehmer) Date: Wed, 31 Aug 2005 14:58:42 +0300 Subject: mainStack scripts, now Windows?? Message-ID: Hi all! I thank Richard, Eric and Robert for their concise expalnations and help. Now that I have followed that advice (a different stack with no script is now the mainStack) I'm happy as a clam. One more thing though; One of the reasons I made the major changes to my project was to try to make the Windows version run better. I work on a Mac (OSX.4.2) and was a little shocked to see the newest Windows standalone. I hadn't done one for many months after I originally convinced myself it would work in Windows. Now that the program has grown and morphed into something far better and is nearing completion, I made another Windows build. I always knew I would need to buy Rev for Windows, at least to get the fonts looking their "best," but I was a little disappointed when I launched it. On my Mac it is flawless, but on windows, so many things flicker and stacks in the backgound flash black when buttons are clicked in other stacks. And my mainStack flickers black when I navigate in it. Now, the background of the stack is black, and the mask that provides the windowShape is black, so a black flash makes sense, but why does it flash at all? I mean, sometines two side by side buttons, whose icons were made in Photoshop and other than their labels are indentical have tow different color shades!!! All of this before AND after the mainStack script thing. What can I expect from Rev for Windows? Does a windows standalone built in Windows function better? Will I be able to solve these problems working in Windows? Has anyone out there built an app on a make and found this type of behavior in a windows sandalone? How did you fix it? I have little Windows experience, heck, maybe it's the machine (cheap HP laptog, XP Home, 1.4 ghz Celeron, enough memory) Any advice before I shell out the cash for my second platform copy of Rev? As always, tips are appreciated, and in this case, being begged for! Lars From xbury.cs at clearstream.com Wed Aug 31 08:06:24 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 31 Aug 2005 14:06:24 +0200 Subject: mainStack scripts, now Windows?? In-Reply-To: Message-ID: Lars Try to remove the traversal=ON from most menus and buttons - it just wrecks havoc with hillites... Also, test your apps on windows 2000 AND XP where the themes will change teh geometry of buttons, appearance of groups, and possibly more... Just my two cents... Please vote for all windows issues in bugzilla too ;) cheers Xavier use-revolution-bounces at lists.runrev.com wrote on 31/08/2005 13:58:42: > Hi all! > > I thank Richard, Eric and Robert for their concise expalnations and > help. Now that I have followed that advice (a different stack with > no script is now the mainStack) I'm happy as a clam. One more thing > though; > > One of the reasons I made the major changes to my project was to try > to make the Windows version run better. I work on a Mac (OSX.4.2) > and was a little shocked to see the newest Windows standalone. I > hadn't done one for many months after I originally convinced myself > it would work in Windows. Now that the program has grown and morphed > into something far better and is nearing completion, I made another > Windows build. I always knew I would need to buy Rev for Windows, at > least to get the fonts looking their "best," but I was a little > disappointed when I launched it. On my Mac it is flawless, but on > windows, so many things flicker and stacks in the backgound flash > black when buttons are clicked in other stacks. And my mainStack > flickers black when I navigate in it. Now, the background of the > stack is black, and the mask that provides the windowShape is black, > so a black flash makes sense, but why does it flash at all? I mean, > sometines two side by side buttons, whose icons were made in > Photoshop and other than their labels are indentical have tow > different color shades!!! All of this before AND after the mainStack > script thing. > > What can I expect from Rev for Windows? Does a windows standalone > built in Windows function better? Will I be able to solve these > problems working in Windows? Has anyone out there built an app on a > make and found this type of behavior in a windows sandalone? How did > you fix it? I have little Windows experience, heck, maybe it's the > machine (cheap HP laptog, XP Home, 1.4 ghz Celeron, enough memory) > > Any advice before I shell out the cash for my second platform copy of > Rev? > > As always, tips are appreciated, and in this case, being begged for! > > Lars > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From eric.chatonet at sosmartsoftware.com Wed Aug 31 08:19:10 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 31 Aug 2005 14:19:10 +0200 Subject: mainStack scripts, now Windows?? In-Reply-To: References: Message-ID: <812683C0-261D-4242-832E-08D33DCCECB5@sosmartsoftware.com> Hi Lars, Rev is cross-platform and claims that you can build Windows apps from Mac OS (or the opposite): as for the "process", that's true. But I have to confess that I have never have been able to build a satisfying stack without working again on the destination platform. I am used to work on MacOS and my experience tells me that I need to give between 10 and 20% of the spent time passed on MacOS to revise it on a Windows machine to get a satisfying Win XP version. In addition, you will have to solve some issues coming from differences between the numerous Win versions: a stack that runs correctly with XP will probably have some "cosmetic" problems (colors display for instance) with Windows 2000. Rev is cross-platform but always requires adjustments for each platform. Best Regards from Paris, Eric Chatonet. Le 31 ao?t 05 ? 13:58, Lars Brehmer a ?crit : > I thank Richard, Eric and Robert for their concise expalnations and > help. Now that I have followed that advice (a different stack > with no script is now the mainStack) I'm happy as a clam. One more > thing though; > > One of the reasons I made the major changes to my project was to > try to make the Windows version run better. I work on a Mac (OSX. > 4.2) and was a little shocked to see the newest Windows > standalone. I hadn't done one for many months after I originally > convinced myself it would work in Windows. Now that the program > has grown and morphed into something far better and is nearing > completion, I made another Windows build. I always knew I would > need to buy Rev for Windows, at least to get the fonts looking > their "best," but I was a little disappointed when I launched it. > On my Mac it is flawless, but on windows, so many things flicker > and stacks in the backgound flash black when buttons are clicked in > other stacks. And my mainStack flickers black when I navigate in > it. Now, the background of the stack is black, and the mask that > provides the windowShape is black, so a black flash makes sense, > but why does it flash at all? I mean, sometines two side by side > buttons, whose icons were made in Photoshop and other than their > labels are indentical have tow different color shades!!! All of > this before AND after the mainStack script thing. > > What can I expect from Rev for Windows? Does a windows standalone > built in Windows function better? Will I be able to solve these > problems working in Windows? Has anyone out there built an app on > a make and found this type of behavior in a windows sandalone? How > did you fix it? I have little Windows experience, heck, maybe it's > the machine (cheap HP laptog, XP Home, 1.4 ghz Celeron, enough memory) > > Any advice before I shell out the cash for my second platform copy > of Rev? > > As always, tips are appreciated, and in this case, being begged for! ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From rjb at robelko.com Wed Aug 31 08:12:28 2005 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 31 Aug 2005 14:12:28 +0200 Subject: mainStack scripts, now Windows?? In-Reply-To: References: Message-ID: >Hi all! > >I thank Richard, Eric and Robert for their concise expalnations and >help. Now that I have followed that advice (a different stack with >no script is now the mainStack) I'm happy as a clam. One more thing >though; > >One of the reasons I made the major changes to my project was to try >to make the Windows version run better. I work on a Mac (OSX.4.2) >and was a little shocked to see the newest Windows standalone. I >hadn't done one for many months after I originally convinced myself >it would work in Windows. Now that the program has grown and >morphed into something far better and is nearing completion, I made >another Windows build. I always knew I would need to buy Rev for >Windows, at least to get the fonts looking their "best," but I was a >little disappointed when I launched it. On my Mac it is flawless, >but on windows, so many things flicker and stacks in the backgound >flash black when buttons are clicked in other stacks. And my >mainStack flickers black when I navigate in it. Now, the background >of the stack is black, and the mask that provides the windowShape >is black, so a black flash makes sense, but why does it flash at >all? I mean, sometines two side by side buttons, whose icons were >made in Photoshop and other than their labels are indentical have >tow different color shades!!! All of this before AND after the >mainStack script thing. Do you have "always buffer" on in your stacks? Robert From christian.langers at education.lu Wed Aug 31 10:52:08 2005 From: christian.langers at education.lu (Langers Christian) Date: Wed, 31 Aug 2005 16:52:08 +0200 Subject: how to get the textfont of the clickchunk in an unlocked field ? Message-ID: <55B7DDE6-E857-4704-BD30-46AE0392B616@education.lu> Well I wanted to be able to get the font name to be displayed when the user clicks (with MouseButtonNumber 1 !!!) a word/textchunk in a textfield... I tried this handler in the textfield : on mouseUp put the effective textfont of the clickChunk end mouseUp but mouseUp/down meassages are not sent to the textfield.... How to do it then ? Thanks for any ideas, Christian From david at openpartnership.net Wed Aug 31 10:55:46 2005 From: david at openpartnership.net (david bovill) Date: Wed, 31 Aug 2005 16:55:46 +0200 Subject: Darwin engine and AppleScript in CGI's? In-Reply-To: References: Message-ID: <885FD305-42C5-4826-88EE-7106CC02B45B@openpartnership.net> Testing out the Darwin engine - running as a CGI with OSX built in Apache server ("Personal Web Sharing") configured for CGI'S.... When I call an AppleScript which is embedded within a stack and which works fine when called from the stack.... I get "lternate language not foun" returned from the cgi... which makes me think that the Darwin Rev engine does not find or is not able to use OSA compliant languages? Any ideas? From eric.chatonet at sosmartsoftware.com Wed Aug 31 11:47:05 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 31 Aug 2005 17:47:05 +0200 Subject: how to get the textfont of the clickchunk in an unlocked field ? In-Reply-To: <55B7DDE6-E857-4704-BD30-46AE0392B616@education.lu> References: <55B7DDE6-E857-4704-BD30-46AE0392B616@education.lu> Message-ID: Hi Christian, When a field is not locked, the mouseDown message is only sent when you click with button 3 but the engine always keeps the value of the clickchunk . So, as the only messages that are always sent to a not locked field are mouseDoubleDown and mouseMove, you could try a combination like the following: on mousemove local tFont ----- try -- since the clickChunk may be empty :-) put the effective textfont of the clickChunk into tFont end try put tFont -- into fld "UsedFont" end mousemove Hope this helps. Best Regards from Paris, Eric Chatonet. Le 31 ao?t 05 ? 16:52, Langers Christian a ?crit : > Well I wanted to be able to get the font name to be displayed when > the user clicks (with MouseButtonNumber 1 !!!) a word/textchunk in > a textfield... > > I tried this handler in the textfield : > > on mouseUp > put the effective textfont of the clickChunk > end mouseUp > > but mouseUp/down meassages are not sent to the textfield.... > > > How to do it then ? > > Thanks for any ideas, > > Christian ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From sims at ezpzapps.com Wed Aug 31 11:55:08 2005 From: sims at ezpzapps.com (sims) Date: Wed, 31 Aug 2005 17:55:08 +0200 Subject: video size on PC - mciSendstring Message-ID: I am playing videos on a PC using the wonderful example app "mciMpegVideo.rev" made by Signe Marie Sanne (can be found on Rev online at sms). On OSX I use a player object and can resize the movie by locking the dimensions of the player. That way I only need one set of videos to refer to (set the filename). I use over 100 videos so this saves a great deal of space as I need two sizes of each video. Question: is the any way to resize the video (not the window size but the video size) with mciSendstring? ciao, sims From bnz2 at cdc.gov Wed Aug 31 12:02:19 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 31 Aug 2005 12:02:19 -0400 Subject: how to get the textfont of the clickchunk in an unlocked field ? Message-ID: <64878EF567131D4596246171F75FD4A99681FC@m-epo-1.epo.cdc.gov> SelectionChanged is also sent to an unlocked field, and can be used quite effectively in place of mousedown. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Eric Chatonet Sent: Wednesday, August 31, 2005 11:47 AM To: How to use Revolution Subject: Re: how to get the textfont of the clickchunk in an unlocked field ? Hi Christian, When a field is not locked, the mouseDown message is only sent when you click with button 3 but the engine always keeps the value of the clickchunk . So, as the only messages that are always sent to a not locked field are mouseDoubleDown and mouseMove, you could try a combination like the following: on mousemove local tFont ----- try -- since the clickChunk may be empty :-) put the effective textfont of the clickChunk into tFont end try put tFont -- into fld "UsedFont" end mousemove Hope this helps. Best Regards from Paris, Eric Chatonet. Le 31 ao?t 05 ? 16:52, Langers Christian a ?crit : > Well I wanted to be able to get the font name to be displayed when > the user clicks (with MouseButtonNumber 1 !!!) a word/textchunk in > a textfield... > > I tried this handler in the textfield : > > on mouseUp > put the effective textfont of the clickChunk > end mouseUp > > but mouseUp/down meassages are not sent to the textfield.... > > > How to do it then ? > > Thanks for any ideas, > > Christian ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Wed Aug 31 12:07:59 2005 From: mark at maseurope.net (Mark Smith) Date: Wed, 31 Aug 2005 17:07:59 +0100 Subject: Darwin engine and AppleScript in CGI's? In-Reply-To: <885FD305-42C5-4826-88EE-7106CC02B45B@openpartnership.net> References: <885FD305-42C5-4826-88EE-7106CC02B45B@openpartnership.net> Message-ID: I wonder if this is some sort of security precaution. "Launch" doesn't seem to work, either. Mark On 31 Aug 2005, at 15:55, david bovill wrote: > Testing out the Darwin engine - running as a CGI with OSX built in > Apache server ("Personal Web Sharing") configured for CGI'S.... > > When I call an AppleScript which is embedded within a stack and which > works fine when called from the stack.... I get "lternate language not > foun" returned from the cgi... which makes me think that the Darwin > Rev engine does not find or is not able to use OSA compliant > languages? > > Any ideas? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com From eric.chatonet at sosmartsoftware.com Wed Aug 31 12:09:40 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 31 Aug 2005 18:09:40 +0200 Subject: how to get the textfont of the clickchunk in an unlocked field ? In-Reply-To: <64878EF567131D4596246171F75FD4A99681FC@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A99681FC@m-epo-1.epo.cdc.gov> Message-ID: <34647032-4EAE-48DA-BBCA-E4BFC79BCAFF@sosmartsoftware.com> Yeap Lynch :-) The same using selectionChanged message! Much better for the engine. Le 31 ao?t 05 ? 18:02, Lynch, Jonathan a ?crit : > SelectionChanged is also sent to an unlocked field, and can be used > quite effectively in place of mousedown. Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From 36degrees at runrev.com Wed Aug 31 12:21:00 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Wed, 31 Aug 2005 17:21:00 +0100 Subject: Darwin engine and AppleScript in CGI's? In-Reply-To: References: <885FD305-42C5-4826-88EE-7106CC02B45B@openpartnership.net> Message-ID: <1125505260.3667.13.camel@rachmaninov> The Darwin engines are just like they say on the tin - compiled for Darwin :o) Darwin is the BSD-derived UNIX base for MacOS X and due to this none of the MacOS X specific APIs are available to compile against (in this mode). Indeed, the engine itself is compiled using the internal POSIX porting layer inline with the other UNIX engines. Therefore, when looking for what is available in the Darwin engine, look in the documentation for what is supported by UNIX/Linux, rather than OS X. Warmest Regards, Mark. ------------------------------------------------------------------ Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From Roger.E.Eller at sealedair.com Wed Aug 31 12:33:26 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 31 Aug 2005 12:33:26 -0400 Subject: Scanning directly into Rev (TWAIN) Message-ID: Good day wonderful List, Does anyone know if it is possible to scan an image directly into a Rev app via the TWAIN scanner interface? Just as most graphics applications on Windows have this capability, it would be a nice to have this capability in Rev. Kind Regards, Roger Eller From scott at proherp.com Wed Aug 31 12:45:57 2005 From: scott at proherp.com (Scott Kane - Reptile Software Consultant) Date: Thu, 1 Sep 2005 02:45:57 +1000 Subject: Scanning directly into Rev (TWAIN) In-Reply-To: Message-ID: <000301c5ae4b$78eaef50$0201010a@proherps56yaxv> > Does anyone know if it is possible to scan an image directly > into a Rev > app via the TWAIN scanner interface? Just as most graphics > applications on > Windows have this capability, it would be a nice to have this > capability > in Rev. I can't remember it's name - but there is a twain dll file in Windows that most applications call when doing twain work. If I remember or can find it again I'll let you know... Scott Kane From mark at maseurope.net Wed Aug 31 13:31:51 2005 From: mark at maseurope.net (Mark Smith) Date: Wed, 31 Aug 2005 18:31:51 +0100 Subject: Darwin engine and AppleScript in CGI's? In-Reply-To: <1125505260.3667.13.camel@rachmaninov> References: <885FD305-42C5-4826-88EE-7106CC02B45B@openpartnership.net> <1125505260.3667.13.camel@rachmaninov> Message-ID: Ah...that explains a few things. Thanks for the info. Cheers, Mark On 31 Aug 2005, at 17:21, Mark Waddingham wrote: > The Darwin engines are just like they say on the tin - compiled for > Darwin :o) > > Darwin is the BSD-derived UNIX base for MacOS X and due to this none of > the MacOS X specific APIs are available to compile against (in this > mode). Indeed, the engine itself is compiled using the internal POSIX > porting layer inline with the other UNIX engines. > > Therefore, when looking for what is available in the Darwin engine, > look > in the documentation for what is supported by UNIX/Linux, rather than > OS > X. > > Warmest Regards, > > Mark. > > ------------------------------------------------------------------ > Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com > Runtime Revolution ~ User-Centric Development Tools > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com From soapdog at mac.com Wed Aug 31 14:08:14 2005 From: soapdog at mac.com (Andre Garzia) Date: Wed, 31 Aug 2005 15:08:14 -0300 Subject: Darwin engine and AppleScript in CGI's? In-Reply-To: References: <885FD305-42C5-4826-88EE-7106CC02B45B@openpartnership.net> <1125505260.3667.13.camel@rachmaninov> Message-ID: <8F4D0C58-0AD1-4AED-BD3A-9D9A3E906E14@mac.com> On Aug 31, 2005, at 2:31 PM, Mark Smith wrote: > Ah...that explains a few things. Thanks for the info. > > Cheers, > > Mark > Mark, I am betting here okay, but try pulling the executable out of MacOS X bundle and using it as the CGI engine, use it with the "-ui" parameter. It works fine. I just pulled mine, put it on /Library/ WebSever/CGI-Executables and created this test.cgi script: #!Revolution -ui on startup put "Engine Version:" && version() & cr put "Languages:" && the alternateLanguages get format("tell application \"Finder\"\ndisplay dialog \"Hello World! \"\nend tell\n") do it as "applescript" put it && the result end startup The result is fine: Engine Version: 2.6.5 Languages: applescript tell application "Finder" display dialog "Hello World!" end tell {button returned:"OK"} Decided not to include the shot of the dialog box but it appeared nice!!! Happy AppleScripting and Transcript coding. Cheers andre > On 31 Aug 2005, at 17:21, Mark Waddingham wrote: > > >> The Darwin engines are just like they say on the tin - compiled for >> Darwin :o) >> >> Darwin is the BSD-derived UNIX base for MacOS X and due to this >> none of >> the MacOS X specific APIs are available to compile against (in this >> mode). Indeed, the engine itself is compiled using the internal POSIX >> porting layer inline with the other UNIX engines. >> >> Therefore, when looking for what is available in the Darwin >> engine, look >> in the documentation for what is supported by UNIX/Linux, rather >> than OS >> X. >> >> Warmest Regards, >> >> Mark. >> >> ------------------------------------------------------------------ >> Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com >> Runtime Revolution ~ User-Centric Development Tools >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > > > ___________________________________________________________ To help > you stay safe and secure online, we've developed the all new Yahoo! > Security Centre. http://uk.security.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Wed Aug 31 14:53:36 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 31 Aug 2005 13:53:36 -0500 Subject: how to get the textfont of the clickchunk in an unlocked field ? In-Reply-To: <55B7DDE6-E857-4704-BD30-46AE0392B616@education.lu> Message-ID: On 8/31/05 9:52 AM, "Langers Christian" wrote: > Well I wanted to be able to get the font name to be displayed when > the user clicks (with MouseButtonNumber 1 !!!) a word/textchunk in a > textfield... > > I tried this handler in the textfield : > > on mouseUp > put the effective textfont of the clickChunk > end mouseUp > > but mouseUp/down meassages are not sent to the textfield.... Use "selectionChanged" instead... that should work. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From gregory.lypny at videotron.ca Wed Aug 31 15:03:03 2005 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 31 Aug 2005 15:03:03 -0400 Subject: CGI Question Message-ID: <5582711D-057F-4428-9DA8-552C459A6CFB@videotron.ca> Hello everyone, I'm using a stack as a CGI script but I'm having a problem accessing a field. The stack is called from a text file with the following script: #!../revolution on startup start using stack "thisStack.rev" signup end startup The stack "thisStack" has the following stack handler. I'm simply trying to gather data from a form, redisplay it on a web page, and save it in a field in the stack. The problem is that writing to a field gives me an error. If I comment-out the sixth line from the end, that is, put webOutput into fld "Another List" it works fine; but when I reinstate it, I get a server error. What am I doing wrong? Also, can anyone tell me where I can get the most recent CGI engine for Mac OS X? Regards, Greg on signup put $SCRIPT_NAME into cgiName put $QUERY_STRING into theData put urlDecode(theData) into theData split theData by "&" and "=" put keys(theData) into formVariables repeat for each line x in formVariables if theData[x] is empty then put "blank" into theData[x] end repeat combine theData using cr and tab put "

" & cr & theData into webOutput --put webOutput into fld "Another List" put "

" & cgiName & "

" & the long date && the time & cr before webOutput put "Content-Type: text/html" & cr put "Content-Length:" && length(webOutput) & cr & cr put webOutput end signup From JimCarwardine at OwnYourFuture-net.com Wed Aug 31 15:54:44 2005 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Wed, 31 Aug 2005 16:54:44 -0300 Subject: Default Colours in OS9, OSX and PC In-Reply-To: <43132F0F.6040908@hyperactivesw.com> Message-ID: I'm working with inheritance for my application. I've developed it using the OS9 version of the IDE. I liked the default BG colour (a very light grey) so I let everything default to that colour. Now, when I look at the OSX and PC versions of my app, that BG colour isn't there and is white instead. Why doesn't Rev default to the same colour scheme in the other platforms? Jim OYF is... Highly resourceful people working together. Own Your Future Consulting Services Limited, 1959 Lower Water Street, Suite 1700, 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 pevensen at siboneylg.com Wed Aug 31 16:11:09 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Wed, 31 Aug 2005 15:11:09 -0500 Subject: modal stack "Prompt" Message-ID: <6.2.1.2.2.20050831150834.109f9510@exchange.slg.com> I have a substack that calls modal stack "Prompt" The problem is, stack "Prompt" appears over the main stack of the file, which was hidden, hiding the stack issuing the modal command. When I dismiss the Prompt dialog, the substack reappears. I have another place is the same stack the does a modal stack "Popup" and this works fine... the new stack pops up over the substack as it should. Is this normal behavior? Is there anyway to make it popup over the current stack and not bring up the main stack? I'm at a loss as to why the modal command works one place in the stack script and not another. As far as I can tell, the two dialog stacks are setup the same. Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From mark at maseurope.net Wed Aug 31 16:49:29 2005 From: mark at maseurope.net (Mark Smith) Date: Wed, 31 Aug 2005 21:49:29 +0100 Subject: CGI Question In-Reply-To: <5582711D-057F-4428-9DA8-552C459A6CFB@videotron.ca> References: <5582711D-057F-4428-9DA8-552C459A6CFB@videotron.ca> Message-ID: I think you can't use UI elements (such as fields) in CGI stacks. Try storing it in a custom property, or a file... Cheers, Mark On 31 Aug 2005, at 20:03, Gregory Lypny wrote: > Hello everyone, > > I'm using a stack as a CGI script but I'm having a problem accessing a > field. The stack is called from a text file with the following > script: > > #!../revolution > > on startup > start using stack "thisStack.rev" > signup > end startup > > The stack "thisStack" has the following stack handler. I'm simply > trying to gather data from a form, redisplay it on a web page, and > save it in a field in the stack. The problem is that writing to a > field gives me an error. If I comment-out the sixth line from the > end, that is, > > put webOutput into fld "Another List" > > it works fine; but when I reinstate it, I get a server error. What am > I doing wrong? Also, can anyone tell me where I can get the most > recent CGI engine for Mac OS X? > > Regards, > > Greg > > on signup > put $SCRIPT_NAME into cgiName > put $QUERY_STRING into theData > put urlDecode(theData) into theData > split theData by "&" and "=" > put keys(theData) into formVariables > repeat for each line x in formVariables > if theData[x] is empty then put "blank" into theData[x] > end repeat > combine theData using cr and tab > put "

" & cr & theData into webOutput > --put webOutput into fld "Another List" > put "

" & cgiName & "

" & the long date && the time & cr before > webOutput > put "Content-Type: text/html" & cr > put "Content-Length:" && length(webOutput) & cr & cr > put webOutput > end signup > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com From mark at maseurope.net Wed Aug 31 16:49:52 2005 From: mark at maseurope.net (Mark Smith) Date: Wed, 31 Aug 2005 21:49:52 +0100 Subject: Darwin engine and AppleScript in CGI's? In-Reply-To: <8F4D0C58-0AD1-4AED-BD3A-9D9A3E906E14@mac.com> References: <885FD305-42C5-4826-88EE-7106CC02B45B@openpartnership.net> <1125505260.3667.13.camel@rachmaninov> <8F4D0C58-0AD1-4AED-BD3A-9D9A3E906E14@mac.com> Message-ID: Great idea. I'll give that a try... Cheers, Mark On 31 Aug 2005, at 19:08, Andre Garzia wrote: > > On Aug 31, 2005, at 2:31 PM, Mark Smith wrote: > >> Ah...that explains a few things. Thanks for the info. >> >> Cheers, >> >> Mark >> > > Mark, > > I am betting here okay, but try pulling the executable out of MacOS X > bundle and using it as the CGI engine, use it with the "-ui" > parameter. It works fine. I just pulled mine, put it on > /Library/WebSever/CGI-Executables and created this test.cgi script: > > > #!Revolution -ui > on startup > put "Engine Version:" && version() & cr > put "Languages:" && the alternateLanguages > get format("tell application \"Finder\"\ndisplay dialog \"Hello > World!\"\nend tell\n") > do it as "applescript" > put it && the result > end startup > > > The result is fine: > > Engine Version: 2.6.5 > Languages: applescript > tell application "Finder" > display dialog "Hello World!" > end tell > {button returned:"OK"} > > Decided not to include the shot of the dialog box but it appeared > nice!!! > Happy AppleScripting and Transcript coding. > > Cheers > andre > > > > > > >> On 31 Aug 2005, at 17:21, Mark Waddingham wrote: >> >> >>> The Darwin engines are just like they say on the tin - compiled for >>> Darwin :o) >>> >>> Darwin is the BSD-derived UNIX base for MacOS X and due to this none >>> of >>> the MacOS X specific APIs are available to compile against (in this >>> mode). Indeed, the engine itself is compiled using the internal POSIX >>> porting layer inline with the other UNIX engines. >>> >>> Therefore, when looking for what is available in the Darwin engine, >>> look >>> in the documentation for what is supported by UNIX/Linux, rather >>> than OS >>> X. >>> >>> Warmest Regards, >>> >>> Mark. >>> >>> ------------------------------------------------------------------ >>> Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com >>> Runtime Revolution ~ User-Centric Development Tools >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> >> >> ___________________________________________________________ To help >> you stay safe and secure online, we've developed the all new Yahoo! >> Security Centre. http://uk.security.yahoo.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com From mark at maseurope.net Wed Aug 31 17:09:03 2005 From: mark at maseurope.net (Mark Smith) Date: Wed, 31 Aug 2005 22:09:03 +0100 Subject: Darwin engine and AppleScript in CGI's? In-Reply-To: <8F4D0C58-0AD1-4AED-BD3A-9D9A3E906E14@mac.com> References: <885FD305-42C5-4826-88EE-7106CC02B45B@openpartnership.net> <1125505260.3667.13.camel@rachmaninov> <8F4D0C58-0AD1-4AED-BD3A-9D9A3E906E14@mac.com> Message-ID: <56a59122a184d6263ca37d6e3c1e662f@maseurope.net> Ineresting. I did as you suggest, and it ran the 'echo' sample script just fine, but trying to run a stack cgi got an error.... Mark On 31 Aug 2005, at 19:08, Andre Garzia wrote: > > On Aug 31, 2005, at 2:31 PM, Mark Smith wrote: > >> Ah...that explains a few things. Thanks for the info. >> >> Cheers, >> >> Mark >> > > Mark, > > I am betting here okay, but try pulling the executable out of MacOS X > bundle and using it as the CGI engine, use it with the "-ui" > parameter. It works fine. I just pulled mine, put it on > /Library/WebSever/CGI-Executables and created this test.cgi script: > > > #!Revolution -ui > on startup > put "Engine Version:" && version() & cr > put "Languages:" && the alternateLanguages > get format("tell application \"Finder\"\ndisplay dialog \"Hello > World!\"\nend tell\n") > do it as "applescript" > put it && the result > end startup > > > The result is fine: > > Engine Version: 2.6.5 > Languages: applescript > tell application "Finder" > display dialog "Hello World!" > end tell > {button returned:"OK"} > > Decided not to include the shot of the dialog box but it appeared > nice!!! > Happy AppleScripting and Transcript coding. > > Cheers > andre > > > > > > >> On 31 Aug 2005, at 17:21, Mark Waddingham wrote: >> >> >>> The Darwin engines are just like they say on the tin - compiled for >>> Darwin :o) >>> >>> Darwin is the BSD-derived UNIX base for MacOS X and due to this none >>> of >>> the MacOS X specific APIs are available to compile against (in this >>> mode). Indeed, the engine itself is compiled using the internal POSIX >>> porting layer inline with the other UNIX engines. >>> >>> Therefore, when looking for what is available in the Darwin engine, >>> look >>> in the documentation for what is supported by UNIX/Linux, rather >>> than OS >>> X. >>> >>> Warmest Regards, >>> >>> Mark. >>> >>> ------------------------------------------------------------------ >>> Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com >>> Runtime Revolution ~ User-Centric Development Tools >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >> >> >> >> ___________________________________________________________ To help >> you stay safe and secure online, we've developed the all new Yahoo! >> Security Centre. http://uk.security.yahoo.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com From martin at materiaprima.fsnet.co.uk Wed Aug 31 18:06:40 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Wed, 31 Aug 2005 23:06:40 +0100 Subject: modal stack "Prompt" In-Reply-To: <6.2.1.2.2.20050831150834.109f9510@exchange.slg.com> References: <6.2.1.2.2.20050831150834.109f9510@exchange.slg.com> Message-ID: <431629F0.3090204@materiaprima.fsnet.co.uk> Peter T. Evensen wrote: > I have a substack that calls modal stack "Prompt" The problem is, stack > "Prompt" appears over the main stack of the file, which was hidden, > hiding the stack issuing the modal command. When I dismiss the Prompt > dialog, the substack reappears. > > I have another place is the same stack the does a modal stack "Popup" > and this works fine... the new stack pops up over the substack as it > should. > > Is this normal behavior? Is there anyway to make it popup over the > current stack and not bring up the main stack? I'm at a loss as to why > the modal command works one place in the stack script and not another. > > As far as I can tell, the two dialog stacks are setup the same. > Peter, It probably is normal. A modal pops up centered on the defaultstack. So the difference will likely be that something is making your main stack into the defaultstack at the point where the dialog is centered on it. Martin Baxter From nicolas_cueto at yahoo.com Wed Aug 31 18:15:01 2005 From: nicolas_cueto at yahoo.com (Nicolas Cueto) Date: Thu, 1 Sep 2005 07:15:01 +0900 Subject: modal stack "Prompt" Message-ID: <000901c5ae79$6f2775a0$0b01a8c0@niconiko04zbtb> Since no Rev-pro has stepped up to bat on this one, I'll hesitatingly venture a suggestion... Is there an "on openStack" or "on preOpenStack" handler in the "Prompt" substack? The reason I ask is that, when any stack first opens, I think an "openStack" message is generated. Thus, if the "Prompt" stack doesn't handle this message, then the next stack up will, i.e., the mainstack. Thus, my solution in the past to something like your problem here was to insert an empty "on openStack" handler in the stack. Hope that helps. -- Nicolas Cueto niconiko language school From pevensen at siboneylg.com Wed Aug 31 18:27:44 2005 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Wed, 31 Aug 2005 17:27:44 -0500 Subject: modal stack "Prompt" In-Reply-To: <000901c5ae79$6f2775a0$0b01a8c0@niconiko04zbtb> References: <000901c5ae79$6f2775a0$0b01a8c0@niconiko04zbtb> Message-ID: <6.2.1.2.2.20050831172504.109f7e30@exchange.slg.com> That seems to be what it was. That is rather esoteric behavior. I think the main stack was catching a preOpenCard or OpenCard, but the substack that did the modal command also had those. I added empty preOpenStack, openCard and preOpenCard handlers and that seems to have solved the problem. This just seems like odd behavior. I would consider it a bug. I don't know when you would want a modal dialog to appear over and bring forward a stack other than the one containing the script which calls the modal function. At 05:15 PM 8/31/2005, you wrote: >Since no Rev-pro has stepped up to bat on this one, >I'll hesitatingly venture a suggestion... > >Is there an "on openStack" or "on preOpenStack" >handler in the "Prompt" substack? The reason I ask >is that, when any stack first opens, I think an "openStack" >message is generated. Thus, if the "Prompt" stack >doesn't handle this message, then the next stack up >will, i.e., the mainstack. > >Thus, my solution in the past to something like your problem >here was to insert an empty "on openStack" handler >in the stack. > >Hope that helps. > >-- >Nicolas Cueto >niconiko language school >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 From jacque at hyperactivesw.com Wed Aug 31 19:17:16 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 31 Aug 2005 18:17:16 -0500 Subject: CGI Question In-Reply-To: <5582711D-057F-4428-9DA8-552C459A6CFB@videotron.ca> References: <5582711D-057F-4428-9DA8-552C459A6CFB@videotron.ca> Message-ID: <43163A7C.8070005@hyperactivesw.com> Gregory Lypny wrote: > I'm simply > trying to gather data from a form, redisplay it on a web page, and save > it in a field in the stack. The problem is that writing to a field > gives me an error. If I comment-out the sixth line from the end, that is, > > put webOutput into fld "Another List" > > it works fine; but when I reinstate it, I get a server error. What am > I doing wrong? It's been my experience that you need to either set the defaultstack to the one you want to write to, or else specify a full reference. That is, do something like: put webOutput into fld "another list" of cd 1 of stack "myCGIstack" Also, if the stack doesn't have the correct permissions set then you won't be able to write to it. (Also don't forget to save the stack to disk, because when the CGI terminates the stack will be closed.) Take a look at the web server's error log, you should see a more exact description in there of what the problem is. If the server isn't on our own machine, you'll have to find where your ISP keeps the log. Virtually all of them allow you to see it via a control panel or something similar. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bnz2 at cdc.gov Wed Aug 31 19:23:34 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 31 Aug 2005 19:23:34 -0400 Subject: modal stack "Prompt" Message-ID: <64878EF567131D4596246171F75FD4A9744637@m-epo-1.epo.cdc.gov> It is consistent with the way the message path works, and I can envision situations where you would need this sort of behavior - such as if you had an app that created many stacks on the fly, and needed to do something when one of those stacks was opened. However, it can still cause problems. Be especially careful of this danger if you have a resizestack handler in your main stack. A resizestack handler that produces an error will crash the program. Here is an easy way to avoid problems: On preopenstack If the short name of the owner of the target <> the short name of this stack then exit preopenstack -- do whatever else needs to be done End preopenstack A preopenstack message first goes to the card, then the stack. So, the above script makes sure that preopenstack message was triggered by the same stack in which it resides. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Peter T. Evensen Sent: Wednesday, August 31, 2005 6:28 PM To: How to use Revolution Subject: Re: modal stack "Prompt" That seems to be what it was. That is rather esoteric behavior. I think the main stack was catching a preOpenCard or OpenCard, but the substack that did the modal command also had those. I added empty preOpenStack, openCard and preOpenCard handlers and that seems to have solved the problem. This just seems like odd behavior. I would consider it a bug. I don't know when you would want a modal dialog to appear over and bring forward a stack other than the one containing the script which calls the modal function. At 05:15 PM 8/31/2005, you wrote: >Since no Rev-pro has stepped up to bat on this one, >I'll hesitatingly venture a suggestion... > >Is there an "on openStack" or "on preOpenStack" >handler in the "Prompt" substack? The reason I ask >is that, when any stack first opens, I think an "openStack" >message is generated. Thus, if the "Prompt" stack >doesn't handle this message, then the next stack up >will, i.e., the mainstack. > >Thus, my solution in the past to something like your problem >here was to insert an empty "on openStack" handler >in the stack. > >Hope that helps. > >-- >Nicolas Cueto >niconiko language school >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution Peter T. Evensen http://www.PetersRoadToHealth.com 24-hour recorded info hotline: 1-800-624-7671 _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From adsmd1 at optonline.net Wed Aug 31 20:26:48 2005 From: adsmd1 at optonline.net (Alan Simon) Date: Wed, 31 Aug 2005 20:26:48 -0400 Subject: Choppy video? Message-ID: I am in the process of writing an application that displays AVI video loops, each a second or two in duration. When the video plays back, it appears that some of the frames are being skipped, and I get a choppy appearance. The playback machine is a 3 GHz Pentium with 1GB of memory, so I don't think the PC is the problem. Could the problem be in the way the loops are encoded? I have tried the application on several PCs, but the only one it displays correctly is the PC I wrote it on, which is a 3.4 GHz Pentium... Alan Simon Garden State Cardiology From tsj at unimelb.edu.au Wed Aug 31 20:55:49 2005 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 1 Sep 2005 10:55:49 +1000 Subject: [ANN: plugin] SmartNotes - context-sensitive 'sticky' notes for Revolution In-Reply-To: <20050815020853.D5CE3824F0E@mail.runrev.com> References: <20050815020853.D5CE3824F0E@mail.runrev.com> Message-ID: Dear Revolutionaries, I'd like to announce a new plugin for the Rev IDE - SmartNotes! SmartNotes allows you to create and manage context-sensitive 'sticky' notes in Revoution. By context-sensitive I mean that you can associate individual notes with any stack (mainstack or substack) or Revolution itself. - watch your notes automatically appear and disappear as you open and close the stacks you have associated them with - customize your notes - export your notes as RTF files - great for keeping track of changes to your projects during development - hours of fun (well a couple of minutes at least) - tested on Mac OSX and Windows XP SmartNotes is available from the Utilities category of the revOnline user spaces or from my personal user space (tsj). Feedback and suggestions are welcomed Cheers, 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 jamon.ben at gmail.com Wed Aug 31 22:32:00 2005 From: jamon.ben at gmail.com (Ben Fisher) Date: Wed, 31 Aug 2005 19:32:00 -0700 Subject: Arrays in Revolution Message-ID: <741fd03050831193263d7a333@mail.gmail.com> I just wrote a cool library for working with arrays and matrices. Even if you don't use arrays too often, I encourage you to check it out. It has useful functions like Push, and its split and join functions don't mess with your strings the way the built-in functions do. I also wrote functions for array equality, searching an array, and two dimensional arrays. If you're interested, documentation explaining everything is online at http://www.angeltowns2.net//jamonben/libarrayutil.pdf. The stack is on RevOnline: User Space: benJam Stack: libArrayUtil 1.0 -Ben Please give me feedback and tell me if you plan on using it. I can add more features if there is interest. From katir at hindu.org Wed Aug 31 22:14:57 2005 From: katir at hindu.org (Sivakatirswami) Date: Wed, 31 Aug 2005 16:14:57 -1000 Subject: OT--Apples Pages outputs CSS In-Reply-To: <20050829124144.9C3E2BB05@xprdmailfe14.nwk.excite.com> References: <20050829124144.9C3E2BB05@xprdmailfe14.nwk.excite.com> Message-ID: <613A7FA8-EBD9-4085-A1E6-879FCA29396E@hindu.org> Aloha Tom: Pages output off CSS is very bad example -- implementation of CSS MS programs can be worse.... the *only* decent implementation of html export for layout programs (and I've seen out put from most all of them over the past 10 years) is Gluon's Web Express for Quark for anyone still using Quark and who is rigorously consistent in the use of style sheets inside Quark itself. Web Express was/is a dream tool... Even Adobe still doesn't know how to do it right, for all the hype over CS2. (we are begging Adobe to fix this and we think they are listening...) Why? the key to successful use of CSS is not to use any, or as little as possible, inline style declarations. At most, you "may" use a minute bit in the head of the document where you need to override the external CSS for a particular document, But the power of CSS is to produce purely structural xhtml docs with zero presentation info (and that includes inline CSS declarations--there is really very little difference between

and

) i.e. your web docs look like elegant XML and then you literally "drive the design" from the CSS style sheet. If you are really serious about CSS, and are just getting started, go to the top, meet my two best friends: 1) Dan Schafer's book "HTML Utopia" 2) www.westciv.com Don't hesitate. buy his book, and buy WestCiv's tutorials. Also, look at the code here: www.csszengarden.com to see how it should be done, from the start... Sivakatirswami PS. That said: Pages output is consistent...and if you like to design in that environment, then use BBEdit and run Tidy on the exported docs and tell TIDY to write the external CSS file for you and clean up the doc to pure XHTML structural mark up and it will do a good job. On Aug 29, 2005, at 2:41 AM, Thomas McCarthy wrote: > > Completely off-topic but... > I've been investigating cascading style sheets and noticed that on > the surface, a lot of css sites resembled Pages templates. I > exported a Pages file to html and looked at it. Sure enough it used > css. > > It might be a good way to start using css. I haven't checked > KeyNote, yet. > FWIW > tom > > _______________________________________________ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution >